Author Topic: RAM Used in graphing  (Read 2291 times)

0 Members and 1 Guest are viewing this topic.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
RAM Used in graphing
« on: September 29, 2012, 12:02:47 pm »
As was noted by Sorunome and I am sure others, BatLib's introduction of GroupHook caused a mysterious bug with graphing. It seemed to cause undesired shading of graphs causing some interesting effects. After chasing through the code, I found that it was caused by copying the GroupHook code to the end of TempSwapArea. I had never seen documentation of this anywhere, so as I experiment further, I hope I can provide the information. Until then, i need to find some other 65 byte chunk of free ram that I'm not already using.

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: RAM Used in graphing
« Reply #1 on: September 30, 2012, 11:58:31 am »
I've never looked into anything related to graphing, so I can't help you there. But if ram is what you're after, I have the answer.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: RAM Used in graphing
« Reply #2 on: September 30, 2012, 01:59:07 pm »
I use that link quite a bit, actually. Also, it seems that almost all of TempSwapArea is used during the graphing process.
EDIT: The weird part is that a lot of the data is clearly FP values, not code from flash as it is normally used for.