Author Topic: TI-83/84 Plus series - Amount of free RAM?  (Read 3655 times)

0 Members and 1 Guest are viewing this topic.

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
TI-83/84 Plus series - Amount of free RAM?
« on: October 23, 2010, 10:49:33 pm »
I may be mistaken, but is there not a byte pair in RAM in which the OS keeps the amount of free RAM? If there is, where in RAM is this located, and how often is this value updated? If not, I'll just use MemChk, but this seems easier.
« Last Edit: October 23, 2010, 10:50:13 pm by Runer112 »

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: TI-83/84 Plus series - Amount of free RAM?
« Reply #1 on: October 23, 2010, 11:02:13 pm »
The following applies to Axe, but might be useful: http://ourl.ca/4129/94067

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: TI-83/84 Plus series - Amount of free RAM?
« Reply #2 on: October 24, 2010, 12:14:27 am »
I knew there was a way of finding it, and looking at that post I actually remember seeing it before. Thanks for finding it for me.

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: TI-83/84 Plus series - Amount of free RAM?
« Reply #3 on: October 24, 2010, 10:08:38 am »
Oh, didn't see that. Thanks!

What do the byte pairs hold, anyway?




Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: TI-83/84 Plus series - Amount of free RAM?
« Reply #4 on: October 24, 2010, 10:24:42 am »
Oh, didn't see that. Thanks!

What do the byte pairs hold, anyway?
Total RAM and used RAM, maybe? s:

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: TI-83/84 Plus series - Amount of free RAM?
« Reply #5 on: October 24, 2010, 12:00:22 pm »
No, they are the pointers to the operating stack and the floating point stack. All free RAM is located between these two structures, so subtracting the pointers to them makes sense that it would give you the amount of free RAM.

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: TI-83/84 Plus series - Amount of free RAM?
« Reply #6 on: October 24, 2010, 10:31:02 pm »
I didn't knew about that part, lol. I never tried that stuff so I always thought both addresses contained the total user RAM in 2 byte format.