|
Vintage Computers Any vintage computer systems, calculators, video games etc., but with an emphasis on 1980s and earlier equipment. |
|
Thread Tools |
1st Sep 2011, 1:27 pm | #1 |
Hexode
Join Date: Aug 2011
Location: Luton, Bedfordshire, UK.
Posts: 469
|
ZX81 on modern TV
Hi, I've searched and not found an answer. I have two Sinclair ZX81's, one is original and the other has been modified to give a composite video output (mod found on a ZX81 message board).
Lots of people seem to have problems making their Zeddies work with flat screen TV's so I was wondering if the good people on this forum have any ideas? Neither of mine work with my LCD television but I have somewhat better results with older CRT televisions. |
1st Sep 2011, 3:15 pm | #2 |
Nonode
Join Date: Oct 2008
Location: Warsaw, Poland and Cambridge, UK
Posts: 2,677
|
Re: ZX81 on modern TV
This is always going to be difficult. In my memory of looking at the ZX81's video output on a scope, it has no 'back porch' at black level in between the line sync pulse and the (white) screen content. It just goes straight from sync to white, because it's a cheap-and-cheerful design. That can mean that modern TVs, in their standards-compliant way, carefully clamping their black level to the level just after the sync pulse, see the whole picture as black.
If I had to fix it, I'd put together a sync separator with a monostable triggered from it which forced the video output to a nominal black level for a couple of microseconds after the rising edge of each sync pulse. The trusty LM1881 would be a good start. Caveat: this is all based on old memories of fiddling with ZX81 video output. I do remember that the picture tended to be very dark on monitors, which is exactly what I'd expect from this problem. |
1st Sep 2011, 4:31 pm | #3 |
Heptode
Join Date: Jul 2008
Location: Selby, North Yorkshire, UK.
Posts: 979
|
Re: ZX81 on modern TV
I seem to recall I got mine working by feeding the ZX81's modulator output into an VCR with a SCART connection to the television. The early 1990s video is much more tolerant of the ZX81's signal, and happily converts it to a composite signal acceptable by my modern LG LCD television. This was a few years back though.
The picture is still terrible because of it's low resolution and poor stability, but it's good enough for a game of Mazogs Or would be if I didn't discover my ZX81's keyboard ribbon had shattered. |
1st Sep 2011, 5:07 pm | #4 |
Retired Dormant Member
Join Date: Jun 2010
Location: Co. Limerick, Ireland.
Posts: 1,183
|
Re: ZX81 on modern TV
Cheap LM1881 IC and a few resistors and caps and maybe CMOS switch. I've used them to clean 1.2GHz ATV receiver sync as those are often terrible and picture rolls.
Maplin even sell them. |
1st Sep 2011, 8:10 pm | #5 |
Hexode
Join Date: Aug 2011
Location: Luton, Bedfordshire, UK.
Posts: 469
|
Re: ZX81 on modern TV
You can still buy brand new ZX81 keyboards as the ribbon connectors are known to fail. For that matter you can buy new Z80A processors at Maplin too There's little excuse for not trying to use a ZX81 except the problem with modern TV's.
Yes it is the 'back porch' problem. At home I have an AOC LCD television which gives a reasonable contrast but a very unsteady picture. I've tried routing the ZX81 via a DVD recorder and a 2001 vintage VCR but to no avail. I don't have the space for more equipment, the bringing in of an old VCR (I have several in storage) would be grounds for divorce! One of my ZX81's is modified to give composite output and it works for 30 minutes, but as the ULA gets hot the picture breaks up. Can you be more specific about what I need to do with the LM1881 ? |
1st Sep 2011, 8:50 pm | #6 |
Nonode
Join Date: Oct 2008
Location: Warsaw, Poland and Cambridge, UK
Posts: 2,677
|
Re: ZX81 on modern TV
The LM1881 data is here, on National Semiconductor's website:
http://www.national.com/mpf/LM/LM1881.html A very handy chip, it'll extract sync pulses from a video signal with very few external components. It has an output called 'burst/back porch' on pin 5. I'd use this to switch on an NPN transistor or N-channel MOSFET to ground, with a resistor from its collector/drain to the video line chosen empirically to drag the video signal down to about 30% its peak white voltage. Of course, I don't know if the LM1881 actually produces a useful back porch pulse if the input doesn't have a back porch. That is left, as they say, as an exercise for the reader... |
1st Sep 2011, 10:29 pm | #7 |
Dekatron
Join Date: May 2008
Location: Derby, UK.
Posts: 7,735
|
Re: ZX81 on modern TV
It would be a simple enough matter to add a monostable to produce the correct length pulse, if necessary.
__________________
If I have seen further than others, it is because I was standing on a pile of failed experiments. |
3rd Sep 2011, 6:13 pm | #8 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,553
|
Re: ZX81 on modern TV
Excuse my ignorance, but what is the correct length for the 'back porch' segment following the sync pulse: And does it only follow the line sync, frame sync or both? (In the UK here, by the way)
If it comes after the line sync, I take it that inserting some black level right afterwards would make a narrow strip of the left hand edge of the background white area disappear into black? -Graham (currently looking at a dim grey picture from my ZX81 on a modern Sharp flatscreen). |
3rd Sep 2011, 11:33 pm | #9 | |||
Hexode
Join Date: Jan 2007
Location: Welwyn Garden City, Hertfordshire, UK.
Posts: 453
|
Re: ZX81 on modern TV
Hello Graham,
Quote:
Quote:
Quote:
Regards, Dave. |
|||
4th Sep 2011, 10:04 am | #10 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,553
|
I see what you mean - if the whole of any given line happens to be black, then the remainder of the line after the 5.65uS of back porch will be at the same level so it should be impossible to see where the back porch ends and the line begins, so to speak.
OK, next question: Would it matter if the frame sync had 5.65uS of back porch inserted after it as well? It would obviously be simpler to make a little circuit which inserted some back porch after ANY sync pulse rather than having to distinguish between frame and line sync. Re: Overscan, no, don't forget that the ZX81's output is 4:3 and the vast majority of modern flatscreen TVs are widescreen, so the one thing you aren't going to get is horizontal overscan I'll have to try filling the whole screen with graphic characters to see where the printable area of the screen begins, but I imagine the beginning of the printable area will be well away from the left hand edge of the white background, enough to be able to sacrifice 5.65uS from the edge anyway. Actually, I've just thought of a major snag with all of this - video isn't the only thing the ULA pin in question is used for. It is also used to output the tape SAVE signal and read the tape LOAD signal, so although the approach above would probably fix the video problem, it would also break the operation of the tape interface, since it is possible that a simple analogue circuit would interpret the tape data stream as a stream of sync pulses. Any solution would therefore probably have to be at least partly digital, ie, it would have to monitor specific system events in order to definitely 'know' when to insert a back porch clamp, and to remain hands-off at all other times. |
4th Sep 2011, 5:59 pm | #11 | ||||||
Hexode
Join Date: Jan 2007
Location: Welwyn Garden City, Hertfordshire, UK.
Posts: 453
|
Re: ZX81 on modern TV
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Regards, Dave. |
||||||
4th Sep 2011, 9:13 pm | #12 | |||
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,553
|
Re: ZX81 on modern TV
Quote:
Quote:
Sinclair presumably noticed this and, on the ZX81 and especially the Spectrum, made such exceptionally generous allowance for overscan that the printable area ended up being a relatively small area in the middle of the raster surrounded by a huge non-printable border. So chopping a bit off the left hand side of the background area would be an acceptable loss. Quote:
So at a minimum, we'd need a unity-gain non-inverting buffer circuit placed in between the ULA pin and the modulator input. With that in place we could impose a back porch segment on the output from the buffer without placing any stress on the ULA's output, and, as a bonus, said imposition would no longer affect the tape load/save operation. I should say, incidentally, that very late versions of the ZX81 were fitted with a revised ULA which addressed this issue - the revised ULA presumably generates the missing back porch signal - but finding those ULAs now (or indeed any working ZX81 ULA, early or late) is becoming very difficult. |
|||
4th Sep 2011, 11:29 pm | #13 | ||||
Hexode
Join Date: Jan 2007
Location: Welwyn Garden City, Hertfordshire, UK.
Posts: 453
|
Re: ZX81 on modern TV
Quote:
Quote:
Quote:
Quote:
Regards, Dave. |
||||
5th Sep 2011, 9:36 am | #14 |
Heptode
Join Date: Jul 2008
Location: Selby, North Yorkshire, UK.
Posts: 979
|
Re: ZX81 on modern TV
It might be cheaper and simpler in the long run to hold on to a 1970s/80s/early 1990s TV for use with computers of that era
My ZX81 and Spectrum (as well as my Atari ST and Commodore Amiga if I use their modulator outputs) work well on my other TV - a Sony Trinitron from 2001. It is really only when the TVs started to use framebuffers and the like to process the video signal (ie for display on something that isn't a CRT) that the problems started to occur. |
5th Sep 2011, 7:45 pm | #15 | |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,553
|
Re: ZX81 on modern TV
Quote:
I've just scrounged a nice little 9" 1980s Sanyo B&W portable which is perfect for the ZX81, but it's still a pain to have to have a specific TV for this one computer. |
|
6th Sep 2011, 9:25 am | #16 |
Heptode
Join Date: Jul 2008
Location: Selby, North Yorkshire, UK.
Posts: 979
|
Re: ZX81 on modern TV
Off topic - but I used to do freelance games programming in 68000 on the ST and Amiga (when I was 16!). Some of my 6502 C64 code is in commercial games published by Gremlin and Ocean.
Sadly all of my old computers are in a cupboard and don't come out to play very often. All can be emulated perfectly well on my fairly low powered laptop, so it's not worth the effort of getting them out. |
6th Sep 2011, 7:46 pm | #17 |
Retired Dormant Member
Join Date: Mar 2011
Location: Derby, Derbyshire, UK.
Posts: 48
|
Re: ZX81 on modern TV
Excuse me for butting in a little here, but could that original issue apply to the original breadbin C64 too? I just ask because I bought one, but couldn't get it working on my modern TV, all I got was black. I thought the machine was faulty somehow but looking at the symptoms being talked about here I'm starting to wonder.
|
11th Sep 2011, 10:10 am | #18 | |
Hexode
Join Date: Aug 2011
Location: Luton, Bedfordshire, UK.
Posts: 469
|
Re: ZX81 on modern TV
Quote:
Getting hold of and using an old TV isn't really an option for me, as I live in a flat which is already quite filled with hi-fi and computer equipment...my wife would quite possibly see a CRT as grounds for divorce! In any case I've tried my two ZX81's (one modded for composite output, one not) on various CRT's 10-15 years old and even with those the results are far from uniform. I am beginning to think that the way to go is a UHF tuner with either composite or VGA output (or both). |
|
13th Sep 2011, 9:53 pm | #19 | |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,553
|
Re: ZX81 on modern TV
Quote:
This problem we're discussing re: The ZX81 occurs because the most common version of the ZX81 ULA did not generate a back porch at all on the video signal. |
|
13th Sep 2011, 11:09 pm | #20 | |
Nonode
Join Date: Oct 2008
Location: Warsaw, Poland and Cambridge, UK
Posts: 2,677
|
Re: ZX81 on modern TV
Quote:
The only sure-fire way to sort this out is to insert a back porch into the video signal as it comes out of the ZX81. I think the ZX81 is unusual amongst home computers in producing such a deficient video signal. Most other machines were either colour, and therefore had to have a back porch for their colour burst, or had a black background to the screen anyway so this problem didn't arise, or were simply more deluxe designs which did a better job of generating the video signal. |
|