Hacker News new | past | comments | ask | show | jobs | submit login

> I have a question, if you don't mind:

Not at all.

> I have a stopwatch function in my HP48 that I don't want using a local variable (avoid polluting my precious menu), or having to keep it in a stack.

The first thing that comes to mind is that there's a hidden directory at the root that the ROM itself uses to store stuff like this. This link talks a bit about how to get there:

https://www.hpmuseum.org/forum/thread-12986.html

This uses SYSEVAL to call into a normally-not-visible object that puts the name of the directory on the stack. From there, you should be able to read/write the variable.

You may also be able to do some hacky stuff with self-modifying code, but that's honestly something I'd avoid unless you want to try it for fun.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: