I'm working on my Raspberry Pi Zero-based USB keyboard and mouse adapter for the ST (see here for info (long thread!).
One issue is that after a warm reset after playing a game, the ST's in a rather crashy state. Roughly 60% of the time, the HxC Floppy Selector program will crash with 2-3 bombs at startup after a warm reset after playing a game.
Is it possible to write a small tool that, when loaded from AUTO, will simulate a cold boot as far as possible -- remove any non-default interrupt routines, etc?
Alternatively, is there a way to trigger a cold reboot in code? The tool could then:
- Check for a flag file
- If not present, create it and perform a cold reboot
- If present, delete it and exit (since the flag file indicates a cold boot has been performed