Re: How to resume the 6510 after being stopped the hardware way.

From: ruud_at_baltissen.org
Date: Sat, 09 Jul 2022 21:51:30 +0200
Message-ID: <243b2d69e44d1641d420c417e12c9790_at_baltissen.org>
Normally you don't stop the 6510 "just like that". When giving control 
to the Z80 in the CP/M module it is the 6510 that initiates the whole 
proces. It (re)sets a flipflop with a specific bit which on its turn 
negates the DMA line and then executes some NOPs. When the Z80 returns 
the control, the 6510 resumes with executing those NOPs and then resumes 
with the rest of the program.

If you negate the DMA line just out of the blue, there is a chance that 
you disable it in the middle of reading an instruction. If you "stop" 
the 6510 in the beginning of PHI2, you will disable the buses of the 
6510. The 6510 will read $FF as the next instruction and that is a KILL 
instruction: stop and do nothing at all anymore. Looks familiar?

I can give several other reasons why things can go wrong. But my main 
message is: negate the DMA line only under controlled circumstances.


-- 

Kind regards / Met vriendelijke groet, Ruud Baltissen

www.Baltissen.org
Received on 2022-07-09 22:02:35

Archive generated by hypermail 2.3.0.