Author Topic: External level support?  (Read 13593 times)

0 Members and 1 Guest are viewing this topic.

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: External level support?
« Reply #15 on: June 14, 2010, 11:42:12 pm »
By textual do you mean text data shows the actual ASCII characters?

SirCmpwn

  • Guest
Re: External level support?
« Reply #16 on: June 14, 2010, 11:42:46 pm »
Yes.  I mean, an appvar that contains the ASCII representation of a string.

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: External level support?
« Reply #17 on: June 14, 2010, 11:49:31 pm »
aaah good.

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: External level support?
« Reply #18 on: June 14, 2010, 11:52:15 pm »
How do you change a program into an appvar through CalcSys?
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: External level support?
« Reply #19 on: June 14, 2010, 11:53:36 pm »
Go to the VAT entry and change the ID.
I think it's documented in the zip file.

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: External level support?
« Reply #20 on: June 14, 2010, 11:54:19 pm »
I don't remember. I just used that shell thing Cooliojazz posted in "Projects: Post and critique" a few days ago. Be careful, though, it's a bit buggy if you do something wrong, but it lets you change programs into appvars and unlock them. I think they need to be at least 5 char names, though

Otherwise there is Celtic III' by Iambian, but I do not know how.

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: External level support?
« Reply #21 on: June 15, 2010, 09:38:55 am »
If I use GetCalc(Str1), does that make an appvar of unknown length? Can I just keep dumping stuff into it or do I need to declare the size? Also, when I do that, do I need to specify the size IN BYTES?
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 Ikkerens

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 378
  • Rating: +28/-9
  • JavaScript Magician
    • View Profile
    • Walotech
Re: External level support?
« Reply #22 on: June 15, 2010, 09:59:20 am »
I believe getcalc without size only tries to find the appvar. Returning a 0 if it doesn't exist.
Could be wrong tho.

Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...

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: External level support?
« Reply #23 on: June 15, 2010, 10:06:38 am »
Go to the VAT entry and change the ID.
I think it's documented in the zip file.

I looked in there. No documentation exists of this feature. Explain please?
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 Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: External level support?
« Reply #24 on: June 15, 2010, 04:25:57 pm »
I believe getcalc without size only tries to find the appvar. Returning a 0 if it doesn't exist.
Could be wrong tho.

Yeah, that's it.

Go to the VAT entry and change the ID.
I think it's documented in the zip file.

I looked in there. No documentation exists of this feature. Explain please?

Don't know exactly how to do it with CalcSys, but I believe there's one byte for each VAT entry (I think it's the first one counting backwards, called T) that designates what type of variable it is. Changing just that one byte will change whether the data is a program or an AppVar.
« Last Edit: June 15, 2010, 05:08:15 pm by Deep Thought »




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: External level support?
« Reply #25 on: June 15, 2010, 04:47:44 pm »
Do you know the address of that byte? And the numbers that you're allowed to change it to?
« Last Edit: June 15, 2010, 04:48:10 pm by Raylin »
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 Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: External level support?
« Reply #26 on: June 15, 2010, 05:04:38 pm »
Tried it out on WabbitEmu. I changed the AppVar AxeData into a prgm just for the fun of it :D.

1. Go into CalcSys (duh).
2. Select 6. More.
3. Select 1. VAT.
4. Select 1. Prog/List VAT (which lists all the data for programs, AppVars, and lists).
5. Find AxeData. If it's not there, select 6. Next until you do find it.
6. Select it (by pressing the corresponding number key).
7. CalcSys will show you a screen full of information about the AppVar. Press ALPHA+[V] to edit its VAT entry.
8. Conveniently, the byte at T for AxeData is already pointed to for you. Just press ENTER to edit the byte and change it to 05 (ProgObj).
9. Press CLEAR twice to exit the app. AxeData should now be visible in the program menu (don't edit it).
10. Remember to undo all of it when you're done, or just delete the program AxeData.

Changing a program into an AppVar is the same, except you want to change the byte from 05 (ProgObj) to 15 (AppVarObj).
« Last Edit: June 15, 2010, 05:07:20 pm by Deep Thought »




Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: External level support?
« Reply #27 on: June 15, 2010, 05:06:50 pm »
Do you know the address of that byte? And the numbers that you're allowed to change it to?

If you search through the Program/List VAT in Calcsys and select your program, you can press Alpha+V to view the VAT data in the hex editor. The byte you see then should either be a 5 or a 6 (for unlocked or locked). Change that value to 15h to change it to an appvar.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: External level support?
« Reply #28 on: June 15, 2010, 05:12:11 pm »
Do you know the address of that byte? And the numbers that you're allowed to change it to?


To quote from the ti83plus.inc include file:

;======================================================================
;           Data Type Equates                                                    
;======================================================================
;
RealObj         EQU       0
ListObj         EQU       1
MatObj          EQU       2
EquObj          EQU       3
StrngObj        EQU       4
ProgObj         EQU       5
ProtProgObj     EQU       6
PictObj         EQU       7
GDBObj          EQU       8
UnknownObj      EQU       9
UnknownEquObj   EQU       0Ah
NewEquObj       EQU       0Bh
CplxObj         EQU       0Ch
CListObj        EQU       0Dh
UndefObj        EQU       0Eh
WindowObj       EQU       0Fh
ZStoObj         EQU       10h
TblRngObj       EQU       11h
LCDObj          EQU       12h
BackupObj       EQU       13h
AppObj          EQU      14h      ;application, only used in menus/link
AppVarObj       EQU      15h      ;application variable
TempProgObj     EQU       16h           ;program, home deletes when finished
GroupObj        EQU       17h           ;group.


You can change the value to any of these hex numbers, except that most of them will probably mess up your calculator since the data takes different formats. Programs and AppVars can be exchanged fine since they have such similar data formats.
« Last Edit: June 15, 2010, 05:14:09 pm by Deep Thought »