ZX81 ULA-in-a-CPLD

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
McKlaud
Posts: 337
Joined: Tue Dec 19, 2017 10:02 pm
Location: St Albans, UK

Re: ZX81 ULA-in-a-CPLD

Post by McKlaud »

Well :mrgreen: your scope has been out of calibration for 14+ years ;) So, results as expected :mrgreen: don't blame ULA :mrgreen:

Anyway I decided to use Schmitt-triggers and gave up with the noise. It is as it is.
Claudius
----------
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Re: ZX81 ULA-in-a-CPLD

Post by PokeMon »

Not sure where you measure but can be a ground problem at the end. What is the signal when you take it directly with GND and VID on your small board (as close as possible) ? I wouldn't take the signal from the modulator or feed it through as this can give more problems. Where do you get your signal or how it is created now ? Is it created from 3.3V ? Is it clean 3.3V ? Perhaps it is better to build a second supply 3.3V for video out to avoid distortions.

By the way - those ground problems may be caused through default grounding of crt monitors and oscilloscopes as well (building a ground loop). So measuring with unconnected TV equipment may give different (better) results. 80 mV noise is quite much - about 10% of full white level (700mV) and well seen on white background.
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: ZX81 ULA-in-a-CPLD

Post by Andy Rea »

I've been a bit quite since Easter, had a little chop and change and am working out of a temporary lab ( no non zeddy stuff here )
Image
this is my test zeddy most of the passives have been moved to the back side, and no ear or mic circuit exsists
Image
Image
the last time i posted i have way too much noise in the video signal, this is now muchly reduced
with just slight vertical banding showing on my LCD tv using the composite input.
Image
speedtest reports exact number of frames which is always a good start.
Image
Then i had a brainwave... since as i use onboard oscilator i dont use the OSC pin this can be repurposed into an
extra input... memory above 32K check.
Image
activate special feature... M1NOT yes please :D
Image

regards Andy
what's that Smell.... smells like fresh flux and solder fumes...
User avatar
1024MAK
Posts: 5101
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: ZX81 ULA-in-a-CPLD

Post by 1024MAK »

@Andy - naughty but nice :D

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.
McKlaud
Posts: 337
Joined: Tue Dec 19, 2017 10:02 pm
Location: St Albans, UK

Re: ZX81 ULA-in-a-CPLD

Post by McKlaud »

Nice and good to hear from you that you made some progress. My unit is in a storage box waiting till I will be back home in a few weeks.

BTW do you have the barebone 32K RAM on your testing PCB?
Claudius
----------
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: ZX81 ULA-in-a-CPLD

Post by Andy Rea »

It only wired for 16k, it was a mistake ordered chip wanted a through hole but got smd by mistake so I made use of it.
what's that Smell.... smells like fresh flux and solder fumes...
nollkolltroll
Posts: 325
Joined: Sat Sep 27, 2014 8:02 pm
Location: Stockholm, Sweden

Re: ZX81 ULA-in-a-CPLD

Post by nollkolltroll »

But without the familiar video-disturbance patterns, how will I be able to debug where the code begins/ends?! I'll be lost forever in an endless loop! ;)
/Adam
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: ZX81 ULA-in-a-CPLD

Post by Andy Rea »

Well a little backwards step, happy that I had been able to reduce the video noise to an acceptable level I thought I would again try the buffer on a separate supply to see if that had any effect. If the output is took at the buffers itself then yes it is quite clean, but routed out the ula socket to the modulator the noise returns. So I'm not gonna bother with buffers, so just the preamp for the tape input. The circuit I built already the gain is a bit high but it did work.

Regards Andy
what's that Smell.... smells like fresh flux and solder fumes...
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: ZX81 ULA-in-a-CPLD

Post by Andy Rea »

some time spent redesigning the PCB and will order some of our favorite purple prototypes for further testing.

So some design outlines,,

Composite 1v p-p video output with back porch, shorting link to select hi-z or 75ohm output. most monitors / composite inputs are 75ohm and will work fine with link removed, hi-z inputs will need link shorting ( it adds a 75ohm load to video circuit )

outline size no bigger than 40pin dip socket slightly higher than original ULA

on board xtal oscillator for accurate frequency control.

original osc pin converted to optional input used to enable M1not.

Tape input pre-amp included for improved tape loading.

Regards Andy
what's that Smell.... smells like fresh flux and solder fumes...
User avatar
1024MAK
Posts: 5101
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: ZX81 ULA-in-a-CPLD

Post by 1024MAK »

:D 8-)

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.
Post Reply