@Tomtani1 - you're right! I just checked the code and I don't properly flush the file out until a new file is loaded or you quit the emulator using the 'Quit GimliDS' menu item.
That's my mistake. I've just added the code to correctly flush the file immediately so you can now long-press the POWER button to turn off the DS anytime - just be sure you've waited for the blue disk label to flash for a second or two before you do and that lets you know the file has been saved.
I've just released version 1.7 with this fix plus some other small improvements at my github site:
https://github.com/wavemotion-dave/GimliDS
Version 1.7 release 14-July-2026 by wavemotion-dave
- Improved cold memory initialization for better accuracy.
- Fix for Turrican to allow SELECT to work to get past title screen.
- Fix for EasyFlash cart loading to default to 16K despite what ROM header says.
- Improved CPU1541 Drive 2K RAM mirror handling
- Improved SD Card flush so that disk files write-back immediately (so if you power off your DS the file will be properly saved)
As for porting FBNeo or similar... that's way outside my comfort zone