News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_m_dr_m

CPC emulator on CPC (aka CRTC tracking in Orgams trace debugging).

Started by m_dr_m, 16:14, 26 April 24

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

m_dr_m

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.

Benedikt

Quote from: m_dr_m on 16:14, 26 April 24There is already an almost complete and almost transparent Z80 emulation in Orgasm, and I plan to emulate the CRTC soon too.
There is some underwear called "Freudian slip" in your post. :laugh:

zhulien

Interested to know your z80 approach.  Like the 6502 emulator on cpc, it doesn't use the stack at all (almost). Or there is supposedly a dynamic compiling Gameboy emulator for msx somewhere. The stackless approach of the 6502 emulator is quite optimal considering but of course it jumps around a lot.

Powered by SMFPacks Menu Editor Mod