Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
05914 Debugger Critical (emulator) Always Apr 7, 2015, 20:15 Jul 8, 2015, 23:03
Tester peterferrie View Status Public Platform MAME (Official Binary)
Assigned To Resolution Open OS Windows Vista/7 (32-bit)
Status [?] Confirmed Driver
Version 0.160 Fixed in Version Build I686
Fixed in Git Commit Github Pull Request #
Summary 05914: SH-2: watchpoints prevent SH-2 DRC code cache flush
Description When watchpoints are set, and the SH-2 CPU reaches a page that was executed previously but was modified later, the old content is still executed.
Steps To Reproduce mame seabass -debug
bp 6010000
wpset 0x600ffc0
[run]
when breakpoint is hit first, step a few times, and note that R0 and R3 are altered.
[run]
when breakpoint is hit second, step a few times, and see that R0 and R3 are altered, instead of R7, R5, and R6.
Additional Information seabass is just an example driver that shows the issue, nothing to do with the bug itself.
continuing execution eventually results in stack overflow when it hits a block of CC bytes.
Github Commit
Flags
Regression Version
Affected Sets / Systems SH-2
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.11862
Kale
Developer
Jul 8, 2015, 23:03
Simply needs a #if DEBUG encapsulated into sh2drc_add_fastram declaration.