UK Vintage Radio Repair and Restoration Powered By Google Custom Search Vintage Radio and TV Service Data

Go Back   UK Vintage Radio Repair and Restoration Discussion Forum > Specific Vintage Equipment > Vintage Computers

Notices

Vintage Computers Any vintage computer systems, calculators, video games etc., but with an emphasis on 1980s and earlier equipment.

Closed Thread
 
Thread Tools
Old 11th May 2022, 5:51 pm   #101
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,482
Default Re: Perth PET

OK, let us know when you have gone through those checks.

Just to clarify, the situation you are now starting from is, what...

-Random characters on screen no matter whether you start the machine with...

Slothie EPROM in UD9
Daver2 EPROM in UD8 and original UD9 in UD9 position
Ram / ROM gizmo in place

No matter which of these options you try the switch on state is the same, just random characters on the screen?
SiriusHardware is online now  
Old 12th May 2022, 1:39 pm   #102
ScottishColin
Octode
 
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,762
Default Re: Perth PET

Who knew that using a meter for hours and hours could be so much fun.

Nothing jumping out at me yet, but I'm not finished (bearing in mind how many chips were replaced on here, there's a lot of socketed chips to be tested).

To answer your questions:

1. Random characters as post 92 with the original 6502 in place.
2. Same with Slothie EPROM in UD9
3. Same with Daver2 EPROM in UD8 and original UD9 in UD9 position
4. ROM/RAM board in place with a different 6502 - I get the attached screen with BASIC 4.0 selected, ROM and RAM replaced with those on the ROM/RAM board and no keyboard function.

Colin.

Quote:
Originally Posted by SiriusHardware View Post
OK, let us know when you have gone through those checks.

Just to clarify, the situation you are now starting from is, what...

-Random characters on screen no matter whether you start the machine with...

Slothie EPROM in UD9
Daver2 EPROM in UD8 and original UD9 in UD9 position
Ram / ROM gizmo in place

No matter which of these options you try the switch on state is the same, just random characters on the screen?
Attached Thumbnails
Click image for larger version

Name:	PXL_20220512_123436063.jpg
Views:	32
Size:	80.5 KB
ID:	257035  
ScottishColin is offline  
Old 12th May 2022, 2:01 pm   #103
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,482
Default Re: Perth PET

Looks like the RAM/ROM is managing to do more because it doesn't depend on so much of the system working, but even then something is upsetting it.

Let us know when you've either had that Aha! moment, or you're ready to carry on.
SiriusHardware is online now  
Old 12th May 2022, 3:13 pm   #104
ScottishColin
Octode
 
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,762
Default Re: Perth PET

OK - I can continue but my eyes are crossing now.

I have got the NOP tester out - should I start at post 650 from here?

https://www.vintage-radio.net/forum/...op#post1345717

Colin.
ScottishColin is offline  
Old 12th May 2022, 4:14 pm   #105
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,482
Default Re: Perth PET

Yes, give yourself a rest and proceed as from that post in the original thread with the NOP test. For a quick go / no go indication that the NOP test is working, you should see a steady squarewave waveform on the 6502 'A0' pin if it is working.

When you get to the point where what you see is not what should be, flag it up.
SiriusHardware is online now  
Old 12th May 2022, 7:04 pm   #106
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,482
Default Re: Perth PET

To be more precise that would be the 'AB0' pin of the 6502, (pin 9) that you would be looking for the initial activity on when the NOP rig is in place.
SiriusHardware is online now  
Old 12th May 2022, 7:11 pm   #107
ScottishColin
Octode
 
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,762
Default Re: Perth PET

Ok. Every single pin has a square wave, but they are all moving between 166khz and 250khz (ie flipping between those two values).

The scope is showing the voltage as between 0and -5v for the max/min values.

Colin.
Attached Thumbnails
Click image for larger version

Name:	Freq 6502 pin 20 with NOP adapter fitted 20220512.jpg
Views:	35
Size:	57.6 KB
ID:	257062  

Last edited by ScottishColin; 12th May 2022 at 7:19 pm.
ScottishColin is offline  
Old 12th May 2022, 7:41 pm   #108
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,482
Default Re: Perth PET

The most likely reason for that odd minus offset is that your scope GND is not actually on GND where it should be, but rather on 5V. Either that or there is something not right about the way the scope is set up, possibly it is set to a mode in which it inverts the signal. Check that the scope GND really is connected to circuit 0V/GND and then put the probe on a known 5V, the reading should indicate +5V. If it still shows a minus reading you may need to untangle your scope settings before proceeding further.

When you say every single pin, you mean all of the AB0 to AB15 pins, or you really mean every single pin of the 6502...?

Last edited by SiriusHardware; 12th May 2022 at 7:48 pm.
SiriusHardware is online now  
Old 12th May 2022, 8:28 pm   #109
ScottishColin
Octode
 
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,762
Default Re: Perth PET

OK - I found a god earth and the voltages are now 0 to +5v which is better.

I have only measured the address lines and they all have good square waves, but the frequencies are not what they should be. The frequencies are tricky to pin down but the seem to be 166 or 250 or 333 Mhz.

Would you like pictures of each of the Address lines from the scope or is that enough to know where to go to next?

Colin.


Quote:
Originally Posted by SiriusHardware View Post
The most likely reason for that odd minus offset is that your scope GND is not actually on GND where it should be, but rather on 5V. Either that or there is something not right about the way the scope is set up, possibly it is set to a mode in which it inverts the signal. Check that the scope GND really is connected to circuit 0V/GND and then put the probe on a known 5V, the reading should indicate +5V. If it still shows a minus reading you may need to untangle your scope settings before proceeding further.

When you say every single pin, you mean all of the AB0 to AB15 pins, or you really mean every single pin of the 6502...?
ScottishColin is offline  
Old 12th May 2022, 9:01 pm   #110
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,482
Default Re: Perth PET

No, there is something fundamentally wrong at the moment, possibly the processor is not really executing NOP instructions but some other instruction instead.

Could you check and report the voltages / logic levels measured on the DA0 pin (pin 30) through to DA7 pin (pin 26). No need to show scope traces as we are expecting steady logic levels imposed by the pullup / pulldown resistors.
SiriusHardware is online now  
Old 12th May 2022, 9:58 pm   #111
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,482
Default Re: Perth PET

Correction, pins 33 through to pin 26 (but you knew that).
SiriusHardware is online now  
Old 13th May 2022, 11:20 am   #112
ajgriff
Nonode
 
ajgriff's Avatar
 
Join Date: May 2004
Location: Halifax, West Yorkshire, UK.
Posts: 2,583
Default Re: Perth PET

If the current NOP investigations don't reveal anything it might be worth just verifying that the CS1 & CS2 signals to the PIAs & VIA are present and correct using the 'scope (pins 23 & 24 for all three chips). This would be after removing the NOP generator of course.

Alan
ajgriff is online now  
Old 13th May 2022, 11:30 am   #113
ScottishColin
Octode
 
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,762
Default Re: Perth PET

pin 26 - no detectable voltage (actually reads at 471mv)
pin 27 - as pin 26
pin 28 - only one with a square waveform - 5.49v
pin 29 - straight line with a slight variation between 5.33-5.49v
pin 30 - as pin 26
pin 31 - straight line with a slight variation between 5.02-5.33v
pin 32 - as pin 26
pin 33 - straight line with a slight variation between 5.02-5.33v

Colin.
ScottishColin is offline  
Old 13th May 2022, 12:24 pm   #114
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,482
Default Re: Perth PET

Pin 28 shouldn't be jiggling like that, it should be in a steady state. Check that it is properly connected to either 0V or 5V (I forget which) by its pulldown / pullup resistor, also check that NONE of CPU pins 33-26 are connected to the motherboard DA0-DA7 lines.

The only thing any of those CPU DAx pins should be connected to is either +5V or GND via individual resistors. All other CPU pins should be connected through to their relevant pads on the motherboard.
SiriusHardware is online now  
Old 13th May 2022, 12:33 pm   #115
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,482
Default Re: Perth PET

Since 6502 NOP is hex EA, that translates to 1110 1010, where pin 33 is the rightmost of those bits (DA0) and pin 26 is the leftmost (DA7).

Therefore, pin 28 (DA5) should be held steady high by a resistor going to +5V.
SiriusHardware is online now  
Old 14th May 2022, 4:14 pm   #116
ScottishColin
Octode
 
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,762
Default Re: Perth PET

My plan is to make another (third) NOP tester to see whether I get the same results. I have to leave for several days tomorrow to see ill old people down south so it may be Thursday or so before I report back (unless I get time before I fly down tomorrow).

Colin.
ScottishColin is offline  
Old 24th May 2022, 2:52 pm   #117
ScottishColin
Octode
 
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,762
Default Re: Perth PET

Back. New NOP device fitted. 5.49 v on pins 29, 31 and 33. 0v on the rest.

Colin.
ScottishColin is offline  
Old 24th May 2022, 3:47 pm   #118
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,482
Default Re: Perth PET

Still not good. Code EA (Hex) should have 5 bits high, 3 bits low. It sounds like the pins which should be going to 0V are going to 5V, and the pins which should be going to 5V are going to 0V.

It should be

DA7-26-1
DA6-27-1
DA5-28-1
DA4-29-0
DA3-30-1
DA2-31-0
DA1-32-1
DA0-33-0

(Where '0' = 0V and '1' = 5V). You seem to have the exact inverse at the moment, like this:-

DA7-26-0
DA6-27-0
DA5-28-0
DA4-29-1
DA3-30-0
DA2-31-1
DA1-32-0
DA0-33-1

I suggest you may possibly have the resistors which should be going to +5V going to 0V, and the resistors which should be going to 0V going to 5V?
SiriusHardware is online now  
Old 24th May 2022, 4:49 pm   #119
ScottishColin
Octode
 
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,762
Default Re: Perth PET

So I have the resistors for pins 26, 27, 28, 30 & 32 connected through to pin 8 of UG4.

And pins 29, 31 and 33 to pin 16 of UG4.

I thought this is how I had it connected before - using my meter, I think I have this the wrong way round so I will swap them and re-measure.

Colin.
ScottishColin is offline  
Old 24th May 2022, 4:59 pm   #120
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,482
Default Re: Perth PET

If that's how you have them connected then that is exactly the reverse of how it should be.

UG4 pin 8 = 0V, should be connected to CPU pins 29, 31, 33 via resistors.

UG4 pin 16 = 5V, should be connected to CPU pins 26,27,28,30,32 via resistors.
SiriusHardware is online now  
Closed Thread

Thread Tools



All times are GMT +1. The time now is 12:32 pm.


All information and advice on this forum is subject to the WARNING AND DISCLAIMER located at https://www.vintage-radio.net/rules.html.
Failure to heed this warning may result in death or serious injury to yourself and/or others.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright ©2002 - 2023, Paul Stenning.