Calculator Custom Menu banner

Calculator Custom Menu

2 devlogs
2h 2m 51s

I’m putting the unused F5 key to use on the TI-84+CE by adding a custom menu!

jp21

I thought I figured out where in memory to store my code so that nearby keys don’t break. People on the internet said saveSScreen is a good buffer with nothing using it, and it did seem to work! I was able to call up a test menu when F5 is pressed (albeit with some visual bugs)!
Until I ran chi-square in my bio class and my calculator froze completely. I’m just glad it wasn’t during a test.

Attachment
0
jp21

I floundered around with assembly and hooks before figuring out that I need to use a combination of a GetKeyHook and a system flag for the alpha key modifier to detect F5! And broke the emulator lots doing it (as seen in the pics).

Some blunders I’ve had:

  • Trying to use the two other types of hooks (RawKeyHook, GetCSCHook) instead
  • Trying to make a menu hook for F5 (it looks like a menu… and acts like a menu… but isn’t classified as a menu for the purposes of hooks.)
  • Mixing up include files and assemblers (eventually settled on ti84pce.inc and SPASM)
  • Trying to make an interactive menu with display text

Thank you so much to this one french guy from a calculator forum in 2015 who had a working calculator-wide shortcut key that saved me from hook purgatory

Note: I have 8+ unlogged hours on this;; because SPASM doesn’t work with a mac and I don’t know how to set up hackatime with docker containers.

Attachment
0