Nominal video output signal on ULA pin 16 ZX81 rev 1?

Discussions about Sinclair ZX80 and ZX81 Hardware
AMDeee
Posts: 9
Joined: Tue Dec 27, 2022 10:14 pm

Re: Nominal video output signal on ULA pin 16 ZX81 rev 1?

Post by AMDeee »

Given that the /ROMCS signal is generated by the ULA, what conditions have to be met on the ULA for that pin to get stuck HIGH apart from the ULA being faulty itself?
User avatar
1024MAK
Posts: 5118
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: Nominal video output signal on ULA pin 16 ZX81 rev 1?

Post by 1024MAK »

Given in the topic I linked to earlier: "The ULA only uses address line A14 (and the Z80 CPU control line /MREQ) to decode the control signals for the ROM and RAM".

Both A14 and /MREQ come from the Z80.

Although the ULA may include slightly more complex circuitry for timing purposes and addition logic for getting display data from ROM and RAM, for the Z80, it's basically this:

When /MREQ is active (logic low) and A14 is low, the ULA should output a low on /ROMCS.

Similarly, when /MREQ is active (logic low) and A14 is high, the ULA should output a low on /RAMCS.

Generally, once the PCB has been inspected (use of a good light and a magnifying glass is recommended) for any damage to components, PCB tracks and pads (broken/cracked/lifted tracks, short circuits, including solder splashes some of which can be as fine as a human hair) on both sides of the board, the next step is to try a known good working RAM pack (if you have one).

An external RAM pack disables the internal SRAM chip(s).

Next, would be to try a different ROM chip (if the existing chip is in a socket and you have a spare, or if you have/can program a EPROM and make the wiring alterations).

After this, it gets a bit more tricky. If it's known or suspected that the board has been worked on before, or if other steps have not found a problem, then it's a good idea to continuity test each PCB track between the Z80, the ROM, the RAM and the ULA. Keep in mind that some lines have resistors in them. Also the address and data lines to/from the RAM chip(s) have some lines swapped around. Then test between tracks that run close to others for any short circuits.

Although a 'scope is an excellent tool for fault finding, with the ZX81, because a failure of any of the chips brings the entire system to a state of chaos, it makes fault finding rather tricky.

Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Looking forward to summer later in the year.
AMDeee
Posts: 9
Joined: Tue Dec 27, 2022 10:14 pm

Re: Nominal video output signal on ULA pin 16 ZX81 rev 1?

Post by AMDeee »

I appreciate your help, I'll try getting my hands on a ram pack or try making my own and I'll report back if anything changes. Thank you!
User avatar
1024MAK
Posts: 5118
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: Nominal video output signal on ULA pin 16 ZX81 rev 1?

Post by 1024MAK »

On your board, which chips are in sockets?

If you don't have a RAM pack, if your SRAM chip(s) are in sockets, you could try changing them.

I also have some other tricks that may help.

Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Looking forward to summer later in the year.
AMDeee
Posts: 9
Joined: Tue Dec 27, 2022 10:14 pm

Re: Nominal video output signal on ULA pin 16 ZX81 rev 1?

Post by AMDeee »

The only chip that isn't socketed on this zx is the Ram, it has a single 24pin ram chip. I don't have any other ram chips on hand but I might as well desolder it, socket it and buy a new chip and try that out
AMDeee
Posts: 9
Joined: Tue Dec 27, 2022 10:14 pm

Re: Nominal video output signal on ULA pin 16 ZX81 rev 1?

Post by AMDeee »

1024MAK wrote: Tue Dec 26, 2023 5:42 pm Given in the topic I linked to earlier: "The ULA only uses address line A14 (and the Z80 CPU control line /MREQ) to decode the control signals for the ROM and RAM".

Both A14 and /MREQ come from the Z80.

Although the ULA may include slightly more complex circuitry for timing purposes and addition logic for getting display data from ROM and RAM, for the Z80, it's basically this:

When /MREQ is active (logic low) and A14 is low, the ULA should output a low on /ROMCS.

Similarly, when /MREQ is active (logic low) and A14 is high, the ULA should output a low on /RAMCS.

Generally, once the PCB has been inspected (use of a good light and a magnifying glass is recommended) for any damage to components, PCB tracks and pads (broken/cracked/lifted tracks, short circuits, including solder splashes some of which can be as fine as a human hair) on both sides of the board, the next step is to try a known good working RAM pack (if you have one).

An external RAM pack disables the internal SRAM chip(s).

Next, would be to try a different ROM chip (if the existing chip is in a socket and you have a spare, or if you have/can program a EPROM and make the wiring alterations).

After this, it gets a bit more tricky. If it's known or suspected that the board has been worked on before, or if other steps have not found a problem, then it's a good idea to continuity test each PCB track between the Z80, the ROM, the RAM and the ULA. Keep in mind that some lines have resistors in them. Also the address and data lines to/from the RAM chip(s) have some lines swapped around. Then test between tracks that run close to others for any short circuits.

Although a 'scope is an excellent tool for fault finding, with the ZX81, because a failure of any of the chips brings the entire system to a state of chaos, it makes fault finding rather tricky.

Mark
I went ahead and probed /MREQ and A14 and there do appear instances where by the ULA should be pulling /ROMCS low by that logic, yet thats not happening. There is continuity between /MREQ and A14 on the z80 and the ULA
20231227_120215.jpg
/MREQ -> blue
A14 -> yellow
Post Reply