On 7/14/06, Jules Richardson <julesrichardsonuk at yahoo.co.uk> wrote:
Well I'm sort-of getting somewhere. The video
signals looked happy on a
'scope, so it at least looked like it was generating *something* and so at
least some basic functions were working.
Good.
I pulled the display (monitor) board... and the
display sprang into life!
Handy.
The actual display's garbage, though. Perfectly
readable characters - just
completely random ones and filling the display. The actual characters change
slightly with each power cycle, although most seem fixed.
Typical of a machine that has good video but something is wrong
between the CPU, RAM and ROM.
The display doesn't change with keyboard input (in
other words, it seems the
machine's completely hung, rather than it just being a fault in the circuitry
that interfaces with screen RAM). Anyone have thoughts on that one - maybe
it's a common fault with PETs?
It's a common _symptom_ of a hung PET, but there are multiple causes.
If the CPU can't access ROM or a ROM is dead (I've had that happen
once) or zero page is bad or inaccessible, you'll get a screen of
random memory garbage.
When things are working normally, the startup code of the PET checks
the diagnostic pin, then moves on to clear screen memory, test memory
from $0400 to wherever, then uses that quantity to
generate the
banner. Normally, if you have garbage on the screen, it's either
because zero page and/or page 1 (stack) are "bad" or because the ROMs
above $E000 are "bad". Bad memory above $400 will show up in the
banner with a lower-than-expected amount of BASIC memory.
I'll have to check what the RAM organisation is on
these machines - if it's x4
or x8 then I can play around with switching RAM chips around to see if it's a
dead RAM chip causing the fault (if they're x1's then obviously that's not
going to help me much :-)
There were two kinds of static PETs - early ones with 256x4 memory
(5101s?) and later ones with 2114s. The 2114s were only in use for a
short time, and are somewhat rare. Later PETs moved to 4Kx1 DRAMs
(also rare) or 16Kx1 4116s (common in the 16K and 32K PET era). I
don't think anyone made any x8 SRAMs in 1978 (when did the 2016 come
out?)
The recommended procedure when suspecting bad SRAM chips is to swap
the top set for the bottom set. If either RAM at zero page is bad,
the fault will move to the top of memory and you'll get something less
than the usual amount of free BASIC RAM, but that's the only
consequence. All PETs dynamically size RAM at power-on and can handle
pretty much anything as long as they can write a zero byte at $0400
(start of BASIC storage).
If you have bad _sockets_, though, just the act of moving chips around
and flexing the board will have an effect.
I'll check out the reset circuitry too, just in
case it's that which is
causing trouble...
Hmmm, *probably*. I'll have to nose around the web
for part numbers. It's
certainly the original PCB issue (as in p/n 320008), but that's perhaps no
guarantee that the ROMs are also first release.
Depending on the history of the machine, it _might_ have had a ROM
upgrade. One was available (several bugs were fixed), but unless the
owner also bought an early 2040 disk drive, it's unlikely that they
paid for a ROM upgrade (the most severe bug affected IEEE-488
operations). Even back in the day when I used to go to PET user group
meetings, I don't think folks upgraded an 8K PET with new ROMs - they
put their money into a newer PET, since by then, software was coming
out that needed 16K-32K of RAM (Scott Adams' "Adventureland" and
"Pirate's Adventure", for example, needed 24K on a PET; word
processors were also thirsty, even if you got the 4K utility ROM)
-ethan