Switch to full style
Understanding the language, error messages, etc.
Post a reply

Re: How does the bootloader know where to save the SAV file?

Wed Dec 23, 2015 8:31 pm

Oh, I see now. It all makes sense now. But can the game call the SPM opcode or does the bootloader do that? And I haven't got my answer on settings. Does the game write settings to Flash every single time it makes a change or does the bootloader do that?

Re: How does the bootloader know where to save the SAV file?

Sun Dec 27, 2015 1:30 am

Yes, the game can re-write flash stuff, too, even its own code......you just have to be extremely careful with that, you could also overwrite the code that is currently being executed and stuff......

As for the settings, you usually change them in that SETTINGS.HEX thing.

Re: How does the bootloader know where to save the SAV file?

Sun Dec 27, 2015 6:33 pm

Wow... So if you use a slider for changing the contrast of the screen or brightness, every frame as the slider moves, the Flash memory is being worn off by having the new setting be written! Oh my...

Re: How does the bootloader know where to save the SAV file?

Mon Dec 28, 2015 3:05 am

Zvoc47 wrote:Wow... So if you use a slider for changing the contrast of the screen or brightness, every frame as the slider moves, the Flash memory is being worn off by having the new setting be written! Oh my...

No, not at all! It isn't saved until you actually hit "save" ;)

Re: How does the bootloader know where to save the SAV file?

Wed Dec 30, 2015 11:57 pm

Was that sarcasm or for real?

Re: How does the bootloader know where to save the SAV file?

Sat Jan 09, 2016 4:25 pm

That was for real.
Post a reply