What is saved as a 'State'?

Post here to share useful tips and tricks, to ask questions about using your DM42 or to report software-related problems
Post Reply
J Peters
Posts: 13
Joined: Wed Apr 18, 2018 9:53 am

What is saved as a 'State'?

Post by J Peters »

Just how much is stored in a State file please? Does it include the current values of variables, registers, stack etc? What about loaded programs?

Or maybe I should ask if there is anything that isn't saved?

Many thanks,
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: What is saved as a 'State'?

Post by grsbanks »

The machine state does what it says on the tin. It saves everything needed for the calculator to find itself back in the same state when you re-load the state file. This includes all programs, variables, flags, display contents, alpha register...
There are only 10 kinds of people in the world: those who understand binary and those who do not.
J Peters
Posts: 13
Joined: Wed Apr 18, 2018 9:53 am

Re: What is saved as a 'State'?

Post by J Peters »

Thank you. I did assume it wouldn't store/re-load the date and time as that would be Very Silly :lol: , but I wasn't sure if there was anything else that didn't get saved.
Post Reply