• Axe Parser 5 1
Currently:  

Author Topic: Axe Parser  (Read 552608 times)

0 Members and 5 Guests are viewing this topic.

Offline indubitably

  • LV2 Member (Next: 40)
  • **
  • Posts: 35
  • Rating: +1/-0
    • View Profile
Re: Axe Parser
« Reply #390 on: April 11, 2010, 11:37:25 am »
I feel like an idiot, somehow, when I first downloaded axe, I left out the documentation file and I have had the most trouble using axe. I just downloaded the update, read the file, and wow that helps sooooooooooooo much.

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Axe Parser
« Reply #391 on: April 11, 2010, 11:43:50 am »
Eh.
Noobish mistake.
:P
It happens.
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: Axe Parser
« Reply #392 on: April 11, 2010, 11:54:36 am »
Eh.
Noobish mistake.
:P
It happens.

He's right. You will learn eventually never to download anything without documentation.
« Last Edit: April 11, 2010, 11:58:40 am by ACagliano »

Offline indubitably

  • LV2 Member (Next: 40)
  • **
  • Posts: 35
  • Rating: +1/-0
    • View Profile
Re: Axe Parser
« Reply #393 on: April 11, 2010, 12:49:29 pm »
yeah I thought the all the documentation everybody was talking about was the optimizing tips and the general help.

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Axe Parser
« Reply #394 on: April 11, 2010, 12:53:45 pm »
Naw.
It's the HTML file that is included in the update.

:P
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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: Axe Parser
« Reply #395 on: April 11, 2010, 01:23:30 pm »
Eh.
Noobish mistake.
:P
It happens.

He's right. You will learn eventually never to download anything without documentation.
The sad part though is that in some cases, when you download something, there's no doc provided or the doc is separate from the binaries x.x

Oh well, that happens ^^

And glad to see new update! I migth give the grayscale commands a try at one point. The way I see it it works like Reuben Quest but using overwrite logic instead of XOR, right?

About the program file access, does this means there's now a way to use the data from programs, such as external levels and map data? Can the data be retrieved directly from archive without unarchiving the program first? If it's possible to retrieve data from external programs, could someone post a routine on how to run sub programs?

Also it might be a good idea to include the stuff explained in http://ourl.ca/4050/84944 in the doc, because in the doc, there's no indication about v and prgm prefixes and the grayscale command isn't explained into as much details.
« Last Edit: April 11, 2010, 01:26:31 pm by DJ Omnimaga »

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Axe Parser
« Reply #396 on: April 11, 2010, 02:42:11 pm »
QUESTION: What can you do with the accessing of programs in Axe?
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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: Axe Parser
« Reply #397 on: April 11, 2010, 02:53:07 pm »
What I thought about is accessing archived data like tilemaps or NPC convos (text) from our main program, so basically, we can have games that takes more than 24 KB of memory by taking advantage of the Flash ROM.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Axe Parser
« Reply #398 on: April 11, 2010, 03:58:57 pm »
hmm, I doubt reading from flash is supported
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Axe Parser
« Reply #399 on: April 11, 2010, 04:03:44 pm »
While you can run executable code from another program, its way too dangerous, so I'm not going to support it right now.  But you can with assembly commands.  Anyway, the main usage is for reading and writing to programs.  Like if you made a new program with HELLO as the first line, you can read that just like you read an appvar, and also write over and modify it.  The advantage is that appvars are not easily editable.  So if you want to make an external level pack come with your game, you might want to consider using a program instead so levels can easily be edited.
« Last Edit: April 11, 2010, 04:04:16 pm by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Axe Parser
« Reply #400 on: April 11, 2010, 06:30:46 pm »
I keep failing at this...

Okay, so I have:

Code: (prgmA) [Select]
:"RAWR
Code: (prgmB) [Select]
:"prgmA"->Str1
:Disp {Str1}>Frac

Why is this not working?
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Axe Parser
« Reply #401 on: April 11, 2010, 06:35:06 pm »
Methinks because strings in Basic programs are not the same as strings in compiled axe programs?  Not sure...

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: Axe Parser
« Reply #402 on: April 11, 2010, 06:35:09 pm »
You can't display a program. You have to select it, then read the bytes of that line from it, then display THAT.

Am I right?

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Axe Parser
« Reply #403 on: April 11, 2010, 06:44:49 pm »
If this is true, how would you read and write data from programs in Axe?
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







SirCmpwn

  • Guest
Re: Axe Parser
« Reply #404 on: April 11, 2010, 07:06:46 pm »
Code: (prgmA) [Select]
:"RAWR
Code: (prgmB) [Select]
:"prgmA"->Str1
:Disp {Str1}>Frac
Why is this not working?

Take off the {}, its implied.  Also, remove >Frac, unless you just want the first character.
Also, I'm not entirely sure if the prgm token will show right, you may need to spell out p-r-g-m

QUESTION: What can you do with the accessing of programs in Axe?
* SirCmpwn pokes calc84maniac to re-make OTBP Assembler with Axe

If this is true, how would you read and write data from programs in Axe?

You read the data, store it somewhere.  You take the data from where it is stored, and write it.