11th Mar 2021, 8:19 pm | #941 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,485
|
Re: Non-working Commodore PET 3016
Mark, I think your suggestion, which is 'non invasive', is a good one and there is no harm in trying it before bringing the focus back onto the video RAM / output circuit if that proves necessary.
Just keep going for now and guide Colin through that process of following R/W. Maybe also look at the 'TV RAM R/W' signal emanating from UF6 pin 7, since that line only ever activates when the CPU is trying to write data into UF7 / UF8 through UE7 / UE8. |
11th Mar 2021, 8:29 pm | #942 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,485
|
Re: Non-working Commodore PET 3016
Alan(AJ), George, good leads, I will track through those areas of the circuit.
|
11th Mar 2021, 8:40 pm | #943 | |
Octode
Join Date: Mar 2020
Location: Kitchener, Ontario, Canada
Posts: 1,265
|
Re: Non-working Commodore PET 3016
Quote:
Don’t stay too quiet, even just occasional encouragement is helpful. |
|
11th Mar 2021, 8:41 pm | #944 | |
Nonode
Join Date: May 2004
Location: Halifax, West Yorkshire, UK.
Posts: 2,583
|
Re: Non-working Commodore PET 3016
Quote:
Alan Last edited by ajgriff; 11th Mar 2021 at 8:49 pm. |
|
11th Mar 2021, 9:19 pm | #945 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,485
|
Re: Non-working Commodore PET 3016
The Φ1 signal from the CPU is officially 'NC' on the PET so we don't have to follow that.
Φ2 on the other hand does get about a bit. After passing through buffer A10 pins 9/8 it becomes signal 'BØ2' which we can assume stands for 'Buffered Φ2'. 'BØ2' goes to UC6 (6520) on sheet 2 (IEE 488 interface), It goes to UC5 (6522) and UC7 (6250) in the keyboard scanning circuit, and it does go to the video logic area (sheet 7) where it arrives, or should, as BØ2 on UA5 pin 1. So it may be worth looking for the Φ2 signal on -The CPU pin 39, which I am sure we have checked before -UA10 pin 8 -UA5 pin 1 Also look for activity specifically on the 'TV RAM R/W' line during the post-reset phase to see if the CPU is attempting to clear the video RAM. -UF6 pin 7 -UE7, UE8 pin 19s Does anyone recall if the cursor on the PET's initial screen blinks or is steady-state? |
11th Mar 2021, 9:23 pm | #946 |
Nonode
Join Date: May 2004
Location: Halifax, West Yorkshire, UK.
Posts: 2,583
|
Re: Non-working Commodore PET 3016
It blinks. Mine's doing it at this very moment.
Alan |
11th Mar 2021, 9:25 pm | #947 |
Octode
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,762
|
Re: Non-working Commodore PET 3016
OK - slight change now in that I still get the signal on UC4/34 but only for a second or two after power up.
I get the same signal on UA3/12. I get a similar signal on UA3/8, but only half the width. I get no waves on UA10/4 - the signal goes high and stays there. Colin. |
11th Mar 2021, 9:37 pm | #948 | |
Octode
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,762
|
Re: Non-working Commodore PET 3016
CPU pin 39, UA10 pin 8, UA5 pin 1
All attached - all the same UF6 pin 7, UE7, UE8 pin 19s No activity even straight after pwoer on any any of these three pins. The go straight high. Colin. Quote:
|
|
11th Mar 2021, 9:37 pm | #949 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,485
|
Re: Non-working Commodore PET 3016
Are you really sure there is no R/W signal on UA10 pin 4? Because the input to UA3 13->12 comes from UA10 pin 4, and you say you do have a signal on UA3 pin 12.
Regarding there only being R/W activity for a second or so, can you check the CPU A0 pin (9) to see if the CPU is still running continually, or if it is stopping after a second or so. Last edited by SiriusHardware; 11th Mar 2021 at 9:44 pm. |
11th Mar 2021, 9:48 pm | #950 | |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,485
|
Re: Non-working Commodore PET 3016
Just caught your latest, your scope captures show BØ2 getting as far as the video logic circuit.
Your other observation regarding these pins, which are all on the TV RAM R/W line... Quote:
|
|
11th Mar 2021, 10:01 pm | #951 | |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,485
|
Re: Non-working Commodore PET 3016
Quote:
|
|
11th Mar 2021, 11:18 pm | #952 |
Nonode
Join Date: May 2004
Location: Halifax, West Yorkshire, UK.
Posts: 2,583
|
Re: Non-working Commodore PET 3016
Might be worth noting that even when the 2001-8 is displaying the correct opening screen there's no cursor when the two PIAs are removed. Can't immediately recall which of the two determines the appearance of the cursor and haven't looked into the nature of the rôle played by the relevant PIA.
Alan |
11th Mar 2021, 11:45 pm | #953 | |
Octode
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,762
|
Re: Non-working Commodore PET 3016
Here's UA10 pin 4 - only present for a few seconds after power up.
Also attached is pin9 from the 6502. It does not go away, although the voltage is a little lower than the others. Colin. Quote:
|
|
12th Mar 2021, 12:19 am | #954 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,485
|
Re: Non-working Commodore PET 3016
OK, so really the situation is that you have read / write activity in the places you were asked to look for it, but only for a few seconds after power-up. In normal circumstances I would expect there would be a high level of writes for a very short time as the system does things like write configuration commands to the large peripheral ICs and also writes to the screen RAM to clear it. It probably also clears the entire system memory as well, so all of those things would create a big burst of write-activity just after switch-on. After that I would still expect to see continuous writes at a less high rate, for example to the IC which drives the keypad rows.
A few things to look at tomorrow:- -Look for activity on UD9 chip select (pin 20) - whether there is any, and if there is, is it momentary (just for a couple of seconds after switch-on) or continuous. -Look for activity on UC7 pin 2,3,4,5. They are part of the drive signal for the keyboard key scan circuit. Do you see continuous activity on there? If not, what state are they in (High? Low?) -What state do you see on UC7 pin 18? 'Video On'? -What state do you see on UC7 pin 19? -What state or activity (if any) do you see on UC7 pin 9? |
12th Mar 2021, 2:24 am | #955 |
Octode
Join Date: Mar 2020
Location: Kitchener, Ontario, Canada
Posts: 1,265
|
Re: Non-working Commodore PET 3016
Colin, when looking for activity on R/W and related signals switch your scope to trigger on falling edge.
After the initial burst of writes there will only be brief intermittent negative pulses on the R/W signals and your scope trigger on positive edge might not display the negative pulse. Edit: Also change the trigger level back to 1.4v, your last set of traces look like they were triggering on negative overshoot, and there might not be enough overshoot on all the signals. |
12th Mar 2021, 11:24 am | #956 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,485
|
Re: Non-working Commodore PET 3016
Is there a disassembly of the UD9 ROM that anyone knows of? It would be useful to know what the CPU should be trying to do and in what order. (I'm assuming that's where the CPU goes to when it comes out of reset - could be wrong of course).
|
12th Mar 2021, 1:02 pm | #957 |
Nonode
Join Date: May 2004
Location: Halifax, West Yorkshire, UK.
Posts: 2,583
|
Re: Non-working Commodore PET 3016
|
12th Mar 2021, 1:19 pm | #958 | |
Octode
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,762
|
Re: Non-working Commodore PET 3016
UD9 pin 20 waves attached.
UC7 pins 2-5 go to 4V for about 1 second then back to 0. UC7 pin 18 pulses between 5V and 0V and does not stop pulsing UC7 pin 19 goes 'high, but only to 2.7V and stays there UC7 pin 9 goes high to 4.9V (tested with a meter) and stays there. Colin. Quote:
|
|
12th Mar 2021, 1:20 pm | #959 | |
Octode
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,762
|
Re: Non-working Commodore PET 3016
Done - apologies. It is possible I'll get the hang of this one day.
Do any of my previous ones need repeating? Colin. Quote:
|
|
12th Mar 2021, 1:27 pm | #960 |
Octode
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,762
|
Re: Non-working Commodore PET 3016
|