Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
Soo...

Lately, I had a couple of problems with CelSheet, and it caused a RAM reset.

Fortunately, I didn't lose anything, but what if this were to happen to someone else, and they lost all of their stuff?

Thus, I ask a question:

Is it possible to create a program that inserts a keypress combination to the OS that can cut power to the calculator (basically a force shutdown), so that if a memory leak happens, like what happened to me, you don't have to 1) wait until your battery dies, or 2) hit the reset button on the back and lose all of your programs?
If you cut power to the calculator, your RAM is still reset and your programs lost. Remember that RAM is volatile.
True, but it wouldn't be cutting power. At least, that's not what I'm trying to do. What I want to create is a safe way to end all tasks ands safely shut the calc down, without any data loss.
Perhaps make a program to put everything that hasn't been archived into a group, archive the group, run a small bit of ASM to kill the calculator, and then run the program again to restore everything in that group.
What would the ASM part look like?
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are GMT - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum