开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: Single-stepping without FRONT PANEL


 

Scott,

Yes, I think that should work.? Just follow the schematic portions of the front panel for the timer interrupt.

Please understand that the single step feature works as follows:
-Hijack the Interrupt
-Wait for a timer interrupt to "start the clock"
-Wait for just enough cycles to pass so that when control is returned to the user program, there's only time for 1 instruction before the next interrupt
-Return to the user program (there's only time for 1 instruction to execute)
-On the following interrupt (after execute 1 instruction) display registers, restore normal timer interrupt.


Now, I'm not sure what I'm doing with HW_LIST, sorry, I can't remember this level of detail, but you can look through the source code and see if it's being tested during single step for feature enable/disable.

Cheers,
Josh



On Monday, November 25, 2019, 4:35:38 p.m. CST, scotty264b@... <scotty264b@...> wrote:


Hello All:
I have Z80MC + SIO card. No FP.
If I wish to implement the single-step feature of the ZMC monitor, is it as easy as providing a 1KHz interrupt (derived and thus sync'd with Z80 clock) and changing the "HW_LIST" at memory address 0xFF95 to 0x03 (SIO + FP)?

Can I use single-step in the console mode or must I use the FP?

Thank you.

Peace and blessings.

Join Z80MC@groups.io to automatically receive all group messages.