CPCWiki forum

General Category => Programming => Topic started by: m_dr_m on 16:14, 26 April 24

Title: CPC emulator on CPC (aka CRTC tracking in Orgams trace debugging).
Post by: m_dr_m on 16:14, 26 April 24
There is already an almost complete and almost transparent Z80 emulation in Orgasm, and I plan to emulate the CRTC soon too.

UI-wise, the registers wouldn't be displayed unconditionally, because there is no much room and it would make the trace slower.
There are already two visualization modes in the trace debugging screen that you can switch with CTRL-V: memory dump or source visualization.

I plan to enable the CRTC visualization with another shortcut, CTRL-SHIFT-V. There is this UI rationale, but also a practical reason ; to emulate the CRTC, one must know the register setup. One way would be to trace from the start of the execution, but it might be too slow.

What I am proposing instead is... when you press CTRL-SHIFT-V, it would fast-trace while tracking CRTC state, until the next break.
Powered by SMFPacks Menu Editor Mod