JimDrew wrote:
in order for this to be the case, the port lines would have to be outputs and they would have to be driven high.
Jim, you've perhaps overlooked one of the basic aspects of how TTL inputs work. Their behavior is such that the LED would go on even if the 6522 were
entirely disconnected! Somewhat counter-intuitively, if the input of a TTL chip (such as the 7406 that drives the LED) isn't connected to anything then the input's internal circuitry will pull it up to 3V or so, which is a valid logic high. IOW the input won't drop to zero volts (logic low)
. For that to occur, an external current path from the input to ground would have to be present. The 6522 fails to provide such a path to ground because the pins are inputs during reset. (Garth correctly notes that some but not all 6522s have i-o port pins with pullups to +5, which is good to know but slightly OT. (If the 6522 pin does have a pullup then it'll just reinforce the TTL gate's already-existing tendency to rise to a logic high. In any case there's no path to ground because reset put the 6522 pin into input mode.)
On the schematic I see the ACT signal originates on PB3 of the 6522 and drives the pin 13 input of the 7406. During reset pin 13 will pull itself high, causing the 7406's pin 12 to go low and illuminate the LED.
(To be clear, TTL chips are those such as 74_ 74S_ 74LS_ etc. -- not 74HC_ 74AC_ etc, which are CMOS. MOS and CMOS chips typically
don't have inputs which show this "pull themselves high" behavior. Neither can they be relied upon to drop to zero volts when left unconnected, so watch out! MOS and CMOS chips have extremely high input impedance, and if left unconnected an input can drift either high or low, causing unexpected results.)
_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html