Sunday, 17 May 2020

Simple refurb of a Sinclair ZX81

I'm a big fan of retro computers and consoles, having grown up in the golden age of computing (late 70s, early 80s) owning a Commodore VIC-20, Sinclair ZX Spectrum+, +2, and having ran a BBS on the Commodore Amiga in the early 80s.

I've had a ZX81 in the loft for quite a few years now. It's not mine originally but I picked it up for a bargain from a local retro computing shop but never truly got used. It wasn't in a great shape when I bought it (hence the low price) - an intermittent video display and no initial operating system (The ZX81 should boot into a BASIC interpreter on ROM). It's been one of those jobs that I've wanted to get it sorted (as much as possible) that I've been putting off for quite a while. Anyway, since we're all staying in nowadays, thought I'd get around to doing something about it. I'm a big fan of David Murray's 8-Bit Guy youtube channel and it got me thinking about actually getting something done about this.

This computer is very limited in scope (with only 1K RAM unexpanded) with a 9V DC input, UHF RF output, microphone (MIC) and headphone (EAR) jack sockets. The processor is an NEC Z80 but more on that later. It was very much intended as a hobbyists kit computer but became a bit of a legend with a cult following (as well as the ZX Spectrum, the ZX81's successor).

Here it is in all it's original glory. The case was is in good shape with very little discolouring or scratching so had obviously been kept in a dark place for a lot of it's life.


The ZX81 was originally sold in kit form so is really easy to disassemble with the keyboard just a very flat membrane surface with pressure switches. The main board is about 60% of the case with a small aluminium heatsink taking up a further portion of a remaining space.


So, removing the mainboard from the case shows the design:

From here, the simplicity of the design is obvious. Most of the chips are NEC chips. There is an NEC D780C-1 CPU (a Z80 clone), a Ferranti ULA and an 8K ROM (NEC D2364C) which contains (amongst other things, the BASIC interpreter).

So, first things first is to reseat the chips. Having no OS / BASIC was almost certainly either a bad ROM or just simply loose. It didn't look loose but I reseated it anyway. This is an easy task with a flathead screwdriver. The D2364C is 24 pin and the CPU and ULA are 40 pin chips. These chips (or alternatives) or not difficult to get hold of but obviously in the current climate I'd have to get them ordered online.

Fortunately, once it was reseated the ZX81 booted up first time (remembering that the UHF output is on channel 36):


So, that was easy. As can be seen, the video output was also much better but I decided to clean up the RF modulator anyway - not a difficult task but there wasn't much corrosion on the connections anyway. The logic probe on the the various traces showed most of them working as expected.

So, once I'd put it all together and cleaned up the case and the original ZX power supply, the whole setup worked brilliantly:


So, the next steps (and one for another day) is to check the audio input from tape. I don't have a tape player from the time but I did try loading a ZX81 tape from a very old stereo system and whilst the classic ZX81 stripey load screen did show (this is a consequence of the ULA not able to maintain the display whilst reading from tape)


but I couldn't get it to load. That's a job for another day.

No comments:

Post a Comment