The emulator writes a memory dump file when pressing CTRL/Command + S, and when the program counter reaches $ffff
This PR adds a descriptive message to the console as well so you can tell why exactly it is writing the dump file. This helps diagnosing what's happening, and for me at least, to tell it apart from an unexpected segfault crash/coredump
Dumping system memory. Reason: user keyboard request
Dumped system to dump-7.bin.
Dumping system memory. Reason: CPU program counter reached $ffff
Dumped system to dump-8.bin.
The emulator writes a memory dump file when pressing CTRL/Command + S, and when the program counter reaches $ffff
This PR adds a descriptive message to the console as well so you can tell why exactly it is writing the dump file. This helps diagnosing what's happening, and for me at least, to tell it apart from an unexpected segfault crash/coredump