08/03/88: CD status by Delphi, | Category: Delphi - Hardware Hacking | 1 comment - (Comments are closed)

CD status

43569 3AUG88-0545 Hardware Hacking
CD status
From: MARTYGOODMAN To: KENHALTER

While it is true, as Rick Adams wrote you, that the 7th bit of FF21
is connected with the CD status on the CoCo Bit Banger, this is
not the whole story! The CD line is sent to an auxiliarry input
of the PIA chip, and CANNOT be read directly. Instead, only
CHANGES in CD status can be detected! Set bit 0 of FF21 to 0.
THEN setting bit 1 of FF21 to 0 makes bit 7 of FF21 get SET to 1
on the FALLING edge of a transition of the CD line. Similarly,
setting Bit 1 of FF21 to 1 makes bit 7 get set on the RISING
edge of a CD transistion. You need to rest bit seven
after each detected transistion, and to constantly check
it for transitions.

—marty

1 comment to CD status

  • pucc_unknown

    43611 4AUG88-0045 Hardware Hacking
    RE: CD status (Re: Msg 43569)
    From: KENHALTER To: MARTYGOODMAN

    Thanks for your help Marty. You were right about term programs being tricky.
    Still goin’ for it tho. Ken Halter