0 Members and 2 Guests are viewing this topic.
Lol nice, although your signature doesn't state anything about how you got a TI-73 running a 83+OS
What Deep Thought said is correct. You can have a lot of data behind the 8K limit and it will still run fine.
Quote from: Raylin on March 11, 2011, 12:11:18 pmWhat Deep Thought said is correct. You can have a lot of data behind the 8K limit and it will still run fine.Phew. I still have 2000 or so bytes left then. I should have little trouble keeping under that limit. If needs be, I will dive into the code and optimize it to death.
Of course this wouldn't work on a 83+BE, so carry on.
The limit for programs run from the home screen is actually 8,192 bytes (not 8811) because TI decided to play it really safe, losing you another 600-something bytes in the process. This is just a simple check done by the OS before running an assembly program, so all shells will happily ignore the limit.
#include "includes/ti83plus.inc"#include "includes/ion.inc".org progstart-2.db t2ByteTok, tasmCmp ld hl,debut_routine ld de,gbuf ld bc,fin_routine-debut_routine ldir jp gbufdebut_routine: ld hl,programme_a_executer rst 20h ;mov9toop1 bcall(_ChkFindSym) push de ;de = debut du data ex de,hl ld a,(hl) inc hl ld h,(hl) ld l,a ;premiers deux octets = taille du programme ld de,$9D95 ;charger a $9d95 push hl bcall(_InsertMem) pop bc ;taille du programme dans bc pop hl inc hl inc hl inc hl inc hl ;sauter la taille du programme et deux autres octets que je ne sais pas ce'qu'ils font ld de,$9D95 ldir ;ldir "bc" fois call $9D95 retprogramme_a_executer:.db ProgObj,"PROGRAM",0fin_routine: