Author Topic: Illusiat on a TI-81  (Read 6008 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Illusiat on a TI-81
« Reply #15 on: December 01, 2008, 10:54:05 pm »
yeah, i wish the TI-83+SE and 84+ models worked like this, given  that they got 128 KB of hidden  RAM. The TI-86 had 32 KB of hidden RAM too and the TI-82 4 KB
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Illusiat on a TI-81
« Reply #16 on: December 02, 2008, 05:56:46 am »
after even further testing, it appears that program names won't take any space either. This means that not only I can have a digit as the first program name character but I can have all 37 programs with 8 characters long names and still have RAM. Altough it can be useful to name programs as reference to what does what during coding it is useless to have users name them when they type in the programs by hand because programs are ran by their ID, not by their name.

Other things: the Y= and param (Y1T, X1T, etc) variables can hold a total of 360 characters together. So the allocated RAM would be:

Programs+Lists content (excluding program names):
2400 bytes
Program names:
296 bytes
Matrices (assuming each elements are 9 bytes like on the TI-83+)
324 bytes
graph functions
360 bytes
home screen
128 bytes
real variables+ans (we'll assume they're 9 bytes too, since there doesn't appear to have any VAT or whatever stuff related to names)
252 bytes

So if I didn't forgot anything there must be at least 3760 bytes of RAM on this calc.

It doesn,t appear to be allocated very well. I had 6 bytes of user RAM free at one point during editing and when I went to the list editor nothing appeared and when i typed something I got an error, and now the PRGM menu is all screwed up. Most programs were renamed to "Do not erase DIM1:Do not erase DIM1:Do not erase DIM1:Do not erase DIM1:Do not erase DIM1:Do not erase DIM1:Do not erase DIM1:Do not erase DIM1:". Some are named like "Y3TERROR Y3TERROR" or such stuff and causes lot of display glitches during editing programs. Deleting these names from the programs fixed the problem though and the game still runs pretty well. The list editor gives an ERR 10 MEMORY when you have 0 bytes of free RAM, meaning it must check if you have remaining RAM but might not check if you actually have enough RAM when it's above 0. Weird calc x.x who knows, maybe I'll manage to crash it but I hope it won't happens before I finish typing all the game on the PC
« Last Edit: December 02, 2008, 06:01:22 am by DJ Omnimaga »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Illusiat on a TI-81
« Reply #17 on: December 02, 2008, 04:43:37 pm »
Weird calc x.x who knows, maybe I'll manage to crash it but I hope it won't happens before I finish typing all the game on the PC
Isn't it sort of a bad idea to be testing how much it takes to give a memory error while you still have a large, unbacked-up project on it?
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

metagross111

  • Guest
Re: Illusiat on a TI-81
« Reply #18 on: December 02, 2008, 07:09:08 pm »
Weird calc x.x who knows, maybe I'll manage to crash it but I hope it won't happens before I finish typing all the game on the PC
Isn't it sort of a bad idea to be testing how much it takes to give a memory error while you still have a large, unbacked-up project on it?

^^^ This

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Illusiat on a TI-81
« Reply #19 on: December 02, 2008, 11:17:03 pm »
Well it was totally unexpected when this happened. I just went in the list editor because i was doing calculations and wanted to see how much bytes each list elements took but i didnt realised i only had  6 bytes free and the calc freaked out when I entered something and pressed enter. At least things seems fine now. I will do further testing after i finishing copying the code.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

metagross111

  • Guest
Re: Illusiat on a TI-81
« Reply #20 on: December 02, 2008, 11:46:04 pm »
lol

Offline Speler

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 857
  • Rating: +6/-2
    • View Profile
Re: Illusiat on a TI-81
« Reply #21 on: December 03, 2008, 07:01:10 pm »
Nice work :D.  That's some mad compression skills you got.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Illusiat on a TI-81
« Reply #22 on: December 05, 2008, 01:26:06 pm »
Well, that fact that you can crash it means they have some shitty error handling on this thing. Of course, I'm sure they never intended anyone to completly max out all the avalible user space. :D

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Illusiat on a TI-81
« Reply #23 on: December 05, 2008, 03:47:45 pm »
true, back in 1990 2400 bytes of RAM was a lot for a calculator. My guess is that the list editor checks if you have RAM at all to open it instead of checking if you have ENOUGH of it to open it x.x

Now active at https://discord.gg/cuZcfcF (CodeWalrus server)