At 12:53 26.02.2012 +0000, dennis.deweerd wrote:
>I noticed that the Chameleon buffers all writes to the emulated disk. The d64 image is only updated after re-enting the Chameleon menu. Are there plans to directly save any mutations to the currently mounted d64 file? I keep telling myself not to forget to update the image after i have written stuff to disk. I forgot to do that a few times and simply powered down my SX. Byebye updates :D
The operation to write the D64 data back to the SD-card is done by the menu system, which runs on the C64 itself. While you are using the C64 and floppy-emulation in "normal operation", the menu system is not active and thus cannot save data to the SD-card. You always have to stop normal C64 operation to launch the menu system, where it's possible to write the D64 contents back to the flash card.
Having a "switch-off safety" would mean that another processor would have to run in the background that always checks for changes and saves these changes to a special file on the SD-card (most probably not a D64 file, because that would be too much processing to do). The menu system would then have the chance to process this file on the next power-up at the user's choice.
While I do see that this is technically possible, I have my doubts that it'll make it's way to the wish list. At this point, we have more important things to fix in order to leave beta state at some point not-too-far-in-the-future.