Omnimaga
Calculator Community => TI Calculators => General Calculator Help => Topic started by: SirCmpwn on March 24, 2010, 12:21:18 pm
-
What happens if you make a program with more than 65,535 bytes? I ask because the program definition in user memory has two bytes for size, which leads me to the concusion that FFFF is the maximum size.
-
...Reality breaks? >:D
-
Wouldn't the next data past 65536 overflows elsewhere in the memory, causing potential issues?
-
Thanks for the help, Prophets and jsj!
It would probably overflow to 0000 again, DJ, but that wouldn't be accurate, either.
-
It would probably have to be slightly smaller, so the VAT entry and such could fit in archive.
-
I don't follow you, could you elaborate?
-
Each sector of archive is 64KB, and programs cannot overflow from one sector to another. So, a couple of bytes are used at the beginning of the sector for OS purposes, then a number of bytes would be stored for the backup program name and such, then the rest would be available for program data.
-
I thought they were 16? I guess I confused sectors with pages x.x
-
I tried editing the filesize once w/ a hex editor to FFFF and my calc acted randomly when I checked the memory, like the filesize is missing and/or the RAM clears...
-
Another thing: When you go in MEM menu, if a program/file is larger than 65535, doesn't it cause ERR:MEMORY then the size missing you're talking about?
-
I don't remember exactly... I have to reproduce some of my favorite glitches I discovered while hacking my calculator, then post it on the forums.
-
Ok. Make sure to not post the ones involving ASM in the alerady existing thread, though, (the OS glitches thread i mean)
-
I actually got a Bad Address error today, when trying to unarchive Sam Heald's Mario, of all things. It gave a large memory leak, too. I had to manually create a new program, copy the data to it, and delete the old one. Calcsys is awesome that way :P
-
Calcsys rules for that kind of stuff. Its like sudo for your calculator.
-
Calc84 I had this happen on some of my games before without even running ASM. It's annoying when you doNt know how to use Calcsys well or don't have it handy x.x, cuz you can lose lot of progress
-
It's worth getting to know CalcSys intimately, because it is one of the best tools out there for your calculator.
You can disassemble your whole calculator with it, you can rename programs, you can swap the edit-lock, or change a program to an appvar, or manually edit hex in your RAM, or...
-
Yeah. CalcSys. This thing is WAY too awesome. I even figured out how to hack Sam Heald's Super Mario to get 200 lives with that app.
-
lol cheater jk
but yeah nice app.
-
Heh, i never got to know how to use CalcSys :P maybe i should take a look at it, it seems usefull o.O
-
just backup first, lol, in case you totally mess up :P
-
Yeah, it's easy to RAM clear your calc with that, or even BLOD it...