Author Topic: X-8lue TI : an on-calc browser  (Read 6670 times)

0 Members and 1 Guest are viewing this topic.

Offline zero44

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 128
  • Rating: +21/-0
  • <!--//www.ustr.net/infrared/infrared1.shtml-->
    • View Profile
    • zero44
X-8lue TI : an on-calc browser
« on: April 18, 2011, 03:27:12 am »
Hello,

I've begun the X-8lue project some weeks ago, and now I want to show it.
It's a program which read the HTML code put in Str1, and then it displays websites.

Now it's only in TI-Basic, but if you say me how to read DCS7 folders, I'll make it as an axe DSC7 SE, and maybe we'll can make it compatible with Doc DE 7, so it would be possible to edit code on DocDE7 and read on X-8lue ...

Now I'll try to read the DCS7 folders, but I may crash it.
So please give me the structure before !  :)


« Last Edit: April 18, 2011, 03:42:12 am by zero44 »
____________

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: X-8lue TI : an on-calc browser
« Reply #1 on: April 18, 2011, 04:05:14 am »
That's awesome :D

Any plans to make it work with gCn?

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: X-8lue TI : an on-calc browser
« Reply #2 on: April 18, 2011, 04:24:11 am »
Wow, version 0.0.2 and it's already parsing HTML better than IE7 :P

Great job. I look forward to seeing how you improve this.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: X-8lue TI : an on-calc browser
« Reply #3 on: April 18, 2011, 05:54:13 am »
It's looking good, but too slow in my opinion. I really should try and make an Axe browser, it should be faster.

However, using this with Doors CS7 is better and what about GCN? That would be cool.
« Last Edit: April 18, 2011, 10:21:30 am by Scout »

Offline zero44

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 128
  • Rating: +21/-0
  • <!--//www.ustr.net/infrared/infrared1.shtml-->
    • View Profile
    • zero44
Re: X-8lue TI : an on-calc browser
« Reply #4 on: April 18, 2011, 07:24:02 am »
I don't really know something about DCS7 usb gCn ...
Can someone explain it by PM ?

While next hour ( in math ^^ ), I'll try to read DCS7 folder appvar .
If you have the struct, you'll really help me ...
____________

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: X-8lue TI : an on-calc browser
« Reply #5 on: April 18, 2011, 07:25:21 am »
While next hour ( in math ^^ ), I'll try to read DCS7 folder appvar .
If you have the struct, you'll really help me ...
The folder appvar is just a backup of the folder structure. The real folder structure is in the VAT.

Offline zero44

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 128
  • Rating: +21/-0
  • <!--//www.ustr.net/infrared/infrared1.shtml-->
    • View Profile
    • zero44
Re: X-8lue TI : an on-calc browser
« Reply #6 on: April 18, 2011, 07:33:07 am »
?
I don't understand ...
How can I read in DCS7 folders ?
____________

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: X-8lue TI : an on-calc browser
« Reply #7 on: April 18, 2011, 07:35:05 am »
Do you know about the VAT and how it is formatted?

Offline zero44

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 128
  • Rating: +21/-0
  • <!--//www.ustr.net/infrared/infrared1.shtml-->
    • View Profile
    • zero44
Re: X-8lue TI : an on-calc browser
« Reply #8 on: April 18, 2011, 02:19:23 pm »
I don't know anything about the VAT. Is it really important to know how to read/write in when we make axe programs ?

Now, without help, I understood appvar FLDSV7's structure :
Áv◘Games••• = Á:new folder ; v:number of folder; ◘:number of the folder before; Games•••: folder's name (• is here to make sure name's length will be 8 )
↑↓ALEAT = the file 6 in folder 7 is the program ALEAT

Thank me ^^
I've done READER, which had permised (?) me to read in FLDSV7.
I've done AXELIB too, which allow to copy DCS7's custom cursor in Pic0 ; and open/close an appvar (but UnArchive doesn't work so good ... )
____________

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: X-8lue TI : an on-calc browser
« Reply #9 on: April 18, 2011, 02:27:17 pm »
Why doesnt unArchive work well? I have never had any problems with it.
I'm not a nerd but I pretend:

Offline zero44

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 128
  • Rating: +21/-0
  • <!--//www.ustr.net/infrared/infrared1.shtml-->
    • View Profile
    • zero44
Re: X-8lue TI : an on-calc browser
« Reply #10 on: April 18, 2011, 02:44:44 pm »
My code :
Spoiler For Spoiler:
:.LIBRARY
:If 0
:.DCS-CURSOR
:Lbl 6M7
:"<fonct>v</fonct>DCS7"→r<sub>2</sub>
:0→r<sub>3</sub>→r<sub>4</sub>
:!If GetCalc(r<sub>2</sub>)→r<sub>3</sub>
:UnArchive r<sub>2</sub>
:If GetCalc(r<sub>2</sub>)→r<sub>3</sub>
:1→r<sub>4</sub>
:Else
:GetCalc(r<sub>2</sub>,81)→r<sub>3</sub>
:2→r<sub>4</sub>
:Return!If r<sub>3</sub>
:End
:End
:[00→Pic0
:det(15
:For(r<sub>5</sub>,0,7
:255-{r<sub>3</sub>+40+r<sub>5</sub>}→{Pic0+r<sub>5</sub>}:End
:For(r<sub>5</sub>,8,15
:{r<sub>3</sub>+40+r<sub>5</sub>}→{Pic0+r<sub>5</sub>}:End
:Return
:
:...
:=GET APPVAR
:>NAME:SIZE
:<POINTER
:[Θ]1=ARC:2=NEW
:...
:Lbl 64V
:0→Θ
:!If GetCalc(r<sub>1</sub>)→r<sub>3</sub>
:.ARC
:UnArchive r<sub>1</sub>
:If GetCalc(r<sub>1</sub>)→r<sub>3</sub>
:1→Θ
:Else
:.CREATE XX BYTE
:GetCalc(r<sub>1</sub>,r<sub>2</sub>)→r<sub>3</sub>:2→Θ
:Return!If r<sub>3</sub>
:End
:End
:Return
:
:
:...
:Lbl 64V
:0→Θ
:!If GetCalc(GDB8)→r<sub>3</sub>
:.ARC
:UnArchive GDB8
:If GetCalc(GDB8)→r<sub>3</sub>
:1→Θ
:Else
:.CREATE XX BYTE
:GetCalc(GDB8,r<sub>1</sub>)→r<sub>3</sub>
:End
:End
:r<sub>3</sub>:Return
:...
:
:.APPV CLOSER
:Lbl 64C
:If Θ
:Archive r<sub>1</sub>
:End
:Return
:
:End

When I use it in my coffee program ( see the code on the topic, in my sig ),
if the appvar was archived, it dispays my memory as chars, until the first zero.
So it's a little bug ...

This night, I will do the first Axe version of X-8lue : aXe-8lue 0.0.3  :)

Please search for me the source code of folder explorer in DCS7's SEs, like 'open' in DocDE7 or MT3, because I'll really need it.

V.V Good night ...
« Last Edit: April 19, 2011, 07:39:25 am by zero44 »
____________

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: X-8lue TI : an on-calc browser
« Reply #11 on: April 18, 2011, 05:19:59 pm »
If you need any code help, you might want to ask in the Axe Language section so people can help easier on your unarchive issue.

As for gCn, it means Global CALCnet. It's a tool to use Internet on your TI-83+ via an arduino or TI-84 via a direct USB cable. http://cemetech.net/projects/item.php?id=33

I think this is the only version of Doors CS7 that suppots gCn, though: http://cemetech.net/programs/index.php?mode=file&path=/beta/dcs72b1.zip

I'm unsure how hard it is to get this to work with Axe, but CompyNerd255 was working on a gCn library to use in Axe programs. Otherwise you might need to ask on Cemetech forums if you ever plan to make your program online.

IMHO I would stay away from the online thing for now, though, if you're not experienced with Axe Parser. It's no beginner stuff. You should focus on your program as it is now, then once you're confortable with the result then you can maybe add more features. Basically, it's a good idea to not start too big.
« Last Edit: April 18, 2011, 05:20:25 pm by DJ_O »

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: X-8lue TI : an on-calc browser
« Reply #12 on: April 19, 2011, 02:27:40 am »
I think this is the only version of Doors CS7 that suppots gCn, though: http://cemetech.net/programs/index.php?mode=file&path=/beta/dcs72b1.zip
Doors CS 7.1 supports a flawen implementation of CALCnet that is incompatible with pretty much everything. 7.1.1 and up offers CALCnet over the serial port, and the 7.2 beta and higher offers CALCnet over direct USB. All DCS versions that support CALCnet support globalCALCnet, except for 7.1.

Offline zero44

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 128
  • Rating: +21/-0
  • <!--//www.ustr.net/infrared/infrared1.shtml-->
    • View Profile
    • zero44
Re: X-8lue TI : an on-calc browser
« Reply #13 on: April 19, 2011, 07:25:12 am »
 :banghead: X-8LUE AXE0.0.3 DOESN'T WORK :banghead:
I turned off my calc at one hour this night, and the Axe version doesn't work.

All I made for X-8lue is here, except the 0.0.1 version, but I can give it if you want.
PS: the 0.0.1 had no function to control text scrolling, there was just 'Pause' between two 5-line blocks ...  :hyper:
« Last Edit: April 19, 2011, 07:39:04 am by zero44 »
____________

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: X-8lue TI : an on-calc browser
« Reply #14 on: April 19, 2011, 07:49:36 am »
I would talk to KermMartian over on Cemetech.net about this one.  He'll know most about the folder structure et al.  But if you want to read stuff the axe way, use GetCalc, and read up on it.