Author Topic: Reading the symbol table/ VAT?  (Read 3806 times)

0 Members and 1 Guest are viewing this topic.

Offline TiMoW1337

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 9
  • Rating: +2/-0
    • View Profile
Reading the symbol table/ VAT?
« on: November 24, 2013, 02:59:03 pm »
Hello,
Is it possible to read the symbol table in axe to get a list of programs?
In the developper guide it says that there should be a pointer to the table at (progPtr) address which is 9830h.
So is it possible to read the pointer as {E9830} and the start of the table as {{E9830}}?
EDIT: found http://ourl.ca/9291. But what is {e9830}^^r?
« Last Edit: November 24, 2013, 03:06:45 pm by TiMoW1337 »

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Reading the symbol table/ VAT?
« Reply #1 on: November 24, 2013, 03:08:56 pm »
To read a 16-bit value, you add ^^r, alias the little rad symbol

Offline TiMoW1337

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 9
  • Rating: +2/-0
    • View Profile
Re: Reading the symbol table/ VAT?
« Reply #2 on: November 24, 2013, 03:16:32 pm »
Thanks, I was confused with the ^^.
 

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Reading the symbol table/ VAT?
« Reply #3 on: November 24, 2013, 03:17:54 pm »
That's just a way to write the symbol without having it in the keyboard. We just replaced the character for this trio. It's just a convention.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Reading the symbol table/ VAT?
« Reply #4 on: November 24, 2013, 03:48:21 pm »
You can also use MemKit (an axiom) to browse the VAT. It should be included in the zip when you download Axe.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline ClrDraw

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 627
  • Rating: +61/-2
    • View Profile
    • GitHub
Re: Reading the symbol table/ VAT?
« Reply #5 on: November 24, 2013, 09:03:19 pm »
Yay, finally a question in my area of expertise  8)

By {e9830}^^r he means {E9830}r (note the E is the same E used with scientific location and the r is the r located under the degree menu), which is the beginning of the VAT. {E982E}r is the end (second E is a normal E). When you don't have the r at the end it will not work.

But the problem I found with AMEMKIT was that it does not display hidden programs.
I used this method to make my own Axe library that I used in AlphaCS that will find the program names in alphabetical order and return information such as if the program is archived, hidden or locked. If you're interested I'll post the updated version here for you to use.
« Last Edit: November 24, 2013, 09:49:36 pm by ClrDraw »
Visit my GitHub for all my TI programs as well as other projects.
Also check out my website.

Offline TiMoW1337

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 9
  • Rating: +2/-0
    • View Profile
Re: Reading the symbol table/ VAT?
« Reply #6 on: November 25, 2013, 11:14:18 am »
Thanks, I don't need to show hidden programs, I just want to create an editor.

Offline ClrDraw

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 627
  • Rating: +61/-2
    • View Profile
    • GitHub
Re: Reading the symbol table/ VAT?
« Reply #7 on: November 25, 2013, 11:24:36 am »
Cool, an on-calc IDE for Axe programs? There are multiple people including me that are working on one right now, good luck  :thumbsup: it's really hard though, I keep getting stuck.
Visit my GitHub for all my TI programs as well as other projects.
Also check out my website.