Replies: 2 comments 7 replies
-
Is this really useful? Would this involve a CPU reset on switching? What if some code detects at runtime if it is running on a Z80 and patches itself or something like that? |
Beta Was this translation helpful? Give feedback.
4 replies
-
No reset, it continues to run on the other CPU with the next instruction. Exactely that is what EX.MAC is doing on simh, see source on cpmsim/disks/library/z80tests.dsk. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
simh implementation Z80/8080 can switch CPU on the fly via port output, so it also is under control of a running program.
In the z80pack machines we have the hardware control port and it has unused bits left. Figure if we just can switch CPU,
or if this confuses the core emulations.
Beta Was this translation helpful? Give feedback.
All reactions