Hi folks, newbie here learning 6502 assembly via the path of Ben Eater's 6502 computer project.
My 65c02 is being logic probed using Ben's method of an Arduino Mega 2560. I am setting the reset vector as per part 1 of his video series but no matter what I do, the vector always shows as going to FFFE and FFFF rather than FFFC and FFFD - as if IRQB is low.
I've checked NMI and IRQB - both are pegged high during testing.
Grounds are good. Voltage is 5.09V
The address bits change on all 16 bits. None of the bits are "stuck".
If I let the clock run (slowly of course) and ground the NMI pin, the vector goes to FFFA and FFFB as expected.
Here's the kicker though. If I let the clock run and ground the IRQB pin, nothing changes. It just keeps iterating through memory as it reads the NOP (EA) instruction I have hard wired to the data pins.
It's as if IRQB is internally shorted to ground in the 65c02. I've probed this and there are no shorts to ground between IRQB and VSS.
Here's the output of the serial monitor after reset:
Code:
1110101100010101 11101010 eb15 r ea
1111111111111111 11101010 ffff r ea
1110101100010101 11101010 eb15 r ea
0000000101110111 11101010 0177 r ea
0000000101110110 11101010 0176 r ea
0000000101110101 11101010 0175 r ea
1111111111111110 11101010 fffe r ea
1111111111111111 11101010 ffff r ea
1110101011101010 11101010 eaea r ea
1110101011101011 11101010 eaeb r ea
1110101011101011 11101010 eaeb r ea
1110101011101100 11101010 eaec r ea
Thoughts? Could it just be a dud 65c02?