commanderx16 / x16-emulator

Emulator for the Commander X16 8-bit computer
383 stars 60 forks source link

Inspecting memory-mapped IO in the debugger causes returned values to spin wildly. #54

Open indigodarkwolf opened 5 years ago

indigodarkwolf commented 5 years ago

Start the emulator, open the debugger, and go "Shift-9F23". Proceed to laugh at the relative harmlessness in this context as the Vera's data1 access register flips out, then cry when you realize that this is probably a PITA when actually trying to debug the state of the Vera's registers in the emulator.

I'd hand-waive it as "this is how a similar debugger would behave if actually running on final hardware, and there's nothing to be done about it", except the debugger is already presenting a snapshot of the CPU frozen in time, so I feel it's reasonable to expect it to be able to retrieve other values in a similarly non-destructive, non-mutative fashion.

mist64 commented 5 years ago

@paulscottrobson?

paulscottrobson commented 5 years ago

Should be okay. Also display Vram registers rather than individual flag lines. 2 week wait, sorry