-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MEGA65: "read of unwritten memory" debug mode #405
Rhialto had the feature request to have a mode, where Xemu/MEGA65 can warn you on reading memory which was not written before, can be useful to find ROM bugs. In this current form, it's quite minimal and simple: 1. Only works on the first 126K of physical RAM 2. Only works from command line, start emulation with paramter: -ramcheckread 3. You need to watch the output of the emulator, so on UNIX-like/Linux/Mac systems, emulator should be started from terminal window, on Windows, Xemu console must be open (start also with parameter: -syscon) 4. Check the output of the emulator, you can find lines like: MEM: DEBUG: main RAM at linear address $101A0 has been read without prior write; PC=$8613 [$20613] The PC value can be off by some bytes, because it may have been incremented already during opcode emulation. The [...] is the linear address for the mentioned CPU PC value. Well, that's it.
- Loading branch information
Showing
5 changed files
with
64 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters