Trying to reverse engineer the William Stuart Systems ZX81 sound card.

Any 8bit repairs, images, cool things, upgrades etc.
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7376
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Trying to reverse engineer the William Stuart Systems ZX81 sound card.

Post by stephen_usher »

A few weeks ago I picked up a William Stuart Systems ZX81 sound card as part of the haul from an old school friend.

It's in a bit of a mess as all the pads and some of the traces around where the edge connector was have been pulled away.

IMG_4418.jpeg
IMG_4420.jpeg

I've managed to trace everything and make a new schematic (slightly modified to use pin headers for the I/O and sound)...

ZX81-Sound-Card-Schematic.jpg

However, the address decode logic is completely perplexing. How on Earth do you do address decoding using NOR gates?

Can any of you make head or tail of this?
You do not have the required permissions to view the files attached to this post.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
rubber_jonnie
Site Admin
Site Admin
Posts: 14888
Joined: 17 Aug 2017 19:40
Location: Essex

Re: Trying to reverse engineer the William Stuart Systems ZX81 sound card.

Post by rubber_jonnie »

stephen_usher wrote: 05 Jun 2025 16:48
It's in a bit of a mess as all the pads and some of the traces around where the edge connector was have been pulled away.
This seems to be a theme at the moment..

I did once build a sound card based on a latch card, it was a bit feeble but it did work, might be similar in decoding, I might have the schematic for the latch card still if you want to see it?
Collector of many retro things!
800XL and 65XE both with Ultimate1MB,VBXL/XE & PokeyMax, SIDE3, SDrive Max, 2x 1010 cassette, 2x 1050 one with Happy mod, 3x 2600 Jr, 7800 and Lynx II
Approx 20 STs, including a 520 STM, 520 STFMs, 3x Mega ST, MSTE & 2x 32 Mhz boosted STEs
Plus the rest, totalling around 50 machines including a QL, 3x BBC Model B, Electron, Spectrums, ZX81 etc...
User avatar
PhilC
Moderator
Moderator
Posts: 7440
Joined: 23 Mar 2018 20:22

Re: Trying to reverse engineer the William Stuart Systems ZX81 sound card.

Post by PhilC »

I do have a zx81 sound card "somewhere". I bought it ages ago and forgot id got it. I'll try and find it and see if that helps?
If it ain't broke, test it to Destruction.
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7376
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Re: Trying to reverse engineer the William Stuart Systems ZX81 sound card.

Post by stephen_usher »

My friend had obviously done this "in antiquity" and he'd soldered a ribbon cable to various points on the board. The ribbon cable went no-where as it had been cut. Inside the box to hold the ZX81 (and keyboard) there was an edge connector going up to a switch and pot plus a speaker. Obviously he'd had the sound card fitted in there at some time somehow.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
rubber_jonnie
Site Admin
Site Admin
Posts: 14888
Joined: 17 Aug 2017 19:40
Location: Essex

Re: Trying to reverse engineer the William Stuart Systems ZX81 sound card.

Post by rubber_jonnie »

Hmm, looks like the latch card schematic is a bust, no schematic, just a wiring table...
Collector of many retro things!
800XL and 65XE both with Ultimate1MB,VBXL/XE & PokeyMax, SIDE3, SDrive Max, 2x 1010 cassette, 2x 1050 one with Happy mod, 3x 2600 Jr, 7800 and Lynx II
Approx 20 STs, including a 520 STM, 520 STFMs, 3x Mega ST, MSTE & 2x 32 Mhz boosted STEs
Plus the rest, totalling around 50 machines including a QL, 3x BBC Model B, Electron, Spectrums, ZX81 etc...
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7376
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Re: Trying to reverse engineer the William Stuart Systems ZX81 sound card.

Post by stephen_usher »

What do you mean?
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
rubber_jonnie
Site Admin
Site Admin
Posts: 14888
Joined: 17 Aug 2017 19:40
Location: Essex

Re: Trying to reverse engineer the William Stuart Systems ZX81 sound card.

Post by rubber_jonnie »

stephen_usher wrote: 05 Jun 2025 17:10 What do you mean?
I have an old Sinclair magazine with a latch card build and thought it had a schematic that might help make sense of addressing.

There is no schematic, just a table of what pins connect to where. If you want an image that's no problem.
Collector of many retro things!
800XL and 65XE both with Ultimate1MB,VBXL/XE & PokeyMax, SIDE3, SDrive Max, 2x 1010 cassette, 2x 1050 one with Happy mod, 3x 2600 Jr, 7800 and Lynx II
Approx 20 STs, including a 520 STM, 520 STFMs, 3x Mega ST, MSTE & 2x 32 Mhz boosted STEs
Plus the rest, totalling around 50 machines including a QL, 3x BBC Model B, Electron, Spectrums, ZX81 etc...
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7376
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Re: Trying to reverse engineer the William Stuart Systems ZX81 sound card.

Post by stephen_usher »

Here's what I've got so far...

/A2+WR is only high if it's a write and A2 is low.

This means that /RD+A2_WR is low if the above is true and it's a read operation, but that would mean it would almost always be high. *eh*

Which means that the AY's BC1 would be almost completely controlled by/IOREQ. The truth table is a bit mind bending.

Maybe it's using the NOR gates as NAND gates in some way? As in the output is only low if all the inputs are low.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7376
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Re: Trying to reverse engineer the William Stuart Systems ZX81 sound card.

Post by stephen_usher »

OK, I think the AY BC1 is low: Write and !A2 and !read and IOREQ is enabled. (?)
AY BDIR is if it's an I/O request and a write.
AY-A8 is only low if it's an I/O request and A3 and A4 are low.

Sound reasonable?
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7376
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Re: Trying to reverse engineer the William Stuart Systems ZX81 sound card.

Post by stephen_usher »

Actually... is it using I/O ports 0 and 4?
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.

Return to “8 BIT CORNER”

Who is online

Users browsing this forum: apple [bot], ClaudeBot and 6 guests