Page 3 of 3

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

PostPosted: Wed Dec 23, 2015 8:31 pm
by Zvoc47
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?

PostPosted: Sun Dec 27, 2015 1:30 am
by Sorunome
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?

PostPosted: Sun Dec 27, 2015 6:33 pm
by Zvoc47
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?

PostPosted: Mon Dec 28, 2015 3:05 am
by Sorunome
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?

PostPosted: Wed Dec 30, 2015 11:57 pm
by Zvoc47
Was that sarcasm or for real?

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

PostPosted: Sat Jan 09, 2016 4:25 pm
by Sorunome
That was for real.