View Single Post
Old 14th Apr 2021, 10:31 pm   #1660
ScottishColin
Octode
 
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,806
Default Re: Non-working Commodore PET 3016

OK - typed it in and run it (it makes me miss cut&paste...).

As suggested, it reports that the bad GPIB bits are 7 and 0.

Colin.


Quote:
Originally Posted by SiriusHardware View Post
Quote:
Originally Posted by ScottishColin View Post
On the IEEE subject, is the code on page 184 of this PDF worth typing in to try?
Sorry, I didn't notice that you had tried the super simple test I suggested earlier (The same test is buried in the start of that longer program, which is probably worth typing in and saving since you appear to have a working tape setup).

Anyway, the second result should be 255 (same as the number you wrote out in the second instance).

When you write out 255 (decimal) you are sending all 1s (11111111) to the output latches and when you PEEK the port you should see the same bit states coming back, but instead you are seeing 126 which is 01111110, suggesting a possible fault with bits 0 and 7 of the port.

Try that program and see what it reports. If it agrees there is a problem we'll drill down and find out whether the problem is with output to the port or readback from the port.

If you

Code:
POKE 59426,0
and then measure the voltages on the IEEE port 1,2,3,4,A,B,C,D connections all those lines should be 0V / logic 0.

If you then

Code:
POKE 59426,255
and measure the voltages on pins 1,2,3,4,A,B,C,D again, all those lines should now be at logic 1 (~3V or greater).
ScottishColin is online now