ZX81 ULA-in-a-CPLD

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
Post Reply
User avatar
RetroTechie
Posts: 379
Joined: Tue Nov 01, 2011 12:16 am
Location: Hengelo, NL
Contact:

ZX81 ULA-in-a-CPLD

Post by RetroTechie »

Well... better late than never:

clicky

I'll write up a simple webpage later. Short specs:
  • ZX81 ULA function implemented in a Xilinx XC9572 CPLD.
  • Hardware-wise, a 1:1 drop-in replacement for a ZX81 ULA.
  • 100% compatible. For me personally this has become my reference-ZX81. You'll find a real ZX81 behaves exactly the same way no matter what software you throw at it.
  • Done using schematic entry - not as flexible as Verilog or VHDL, but many people might find a schematic easier to read.
  • Very well documented, and published primarily for that reason - as a reference implementation of sorts. Perhaps useful for emulator writers as well (well, those that aren't scared of XOR gates or flip-flops, that is ;) ).
  • Very well tested (list of what software was used, is included). Has run 25thanni demo for 3 weeks non-stop... until AC mains power failure @ my place. :oops:
  • A free, open design as far as I'm concerned.
  • Yeah, it's got pix...
Feedback is appreciated, but before asking questions, please read the included documentation!
Last edited by RetroTechie on Mon Jun 11, 2012 6:18 pm, edited 1 time in total.
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Re: ZX81 ULA-in-a-CPLD

Post by PokeMon »

Good job. And well documented. ;)

Will there be a commercial product later or just as it is ?
User avatar
RetroTechie
Posts: 379
Joined: Tue Nov 01, 2011 12:16 am
Location: Hengelo, NL
Contact:

Re: ZX81 ULA-in-a-CPLD

Post by RetroTechie »

Probably not... :(

Mostly due to lack of time. Not that it would be *that* hard, but it still takes persistence (and some money investment, too) to bring something from "it's alive!" to "order here" stage. And so many other projects-to-be are begging for attention... :mrgreen:

There are some hints in the docs though... so if you're good with a PCB design package & wouldn't mind investing in further development / a small production run, please do!

For myself, I'll probably be looking at ways to move things onto a FPGA board (building with eg. T80 or TV80 soft core). Much easier to experiment with overclocking / card readers / VGA output / whatever on such a board. With that in mind, further developing an ULA replacement feels (a bit) like waste of time. I regard it more as a building block for use in future projects (and giving me a rock-solid, reliable Zeddy in the mean time). But that's just MHO...
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Re: ZX81 ULA-in-a-CPLD

Post by PokeMon »

Well that was just an informational question.
I still have two ULA boards from Andy here which are small and fit easily in a original ZX81 / ULA socket.
And I got them very cheap as an early bird. ;)

But still not had the time to repair one old ISS3 board with non working ULA due to other projects which are begging for attention, too. :mrgreen:
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: ZX81 ULA-in-a-CPLD

Post by sirmorris »

Fantastic stuff - thank you for sharing your work! It's great having multiple explanations of very complicated processes as details can be discovered in one way and reinforced in another!

Regards

C
User avatar
RetroTechie
Posts: 379
Joined: Tue Nov 01, 2011 12:16 am
Location: Hengelo, NL
Contact:

Re: ZX81 ULA-in-a-CPLD

Post by RetroTechie »

Btw: a while ago I found that image quality was improved by adding a small capacitor (I used 680 pF) to the composite video output. Likely by 'softening' the steep edges of the CPLD's digital outputs.

Just updated the "Read me" in above archive to include that info... no other changes, no need to re-download if you're only interested in the design's logic. But it's a small download so go ahead. :mrgreen:
zx81user
Posts: 54
Joined: Mon Mar 25, 2013 3:14 am

Re: ZX81 ULA-in-a-CPLD

Post by zx81user »

Hi,

I am interested into looking at this CPLD ULA design, can I download it from somewhere?

Best regards,
Michel
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Re: ZX81 ULA-in-a-CPLD

Post by PokeMon »

This project was online before and is maybe temporarily (?) blocked.
You could send PM to RetroTechie. ;)
Rink
Posts: 165
Joined: Wed Jun 27, 2012 5:48 pm

Re: ZX81 ULA-in-a-CPLD

Post by Rink »

Nice. Don't think I've seen this before.

I wonder what the utilisation of the CPLD is like? I'd be tempted to see if I can put the design in an Altera CPLD since I've been playing with those lately.
User avatar
Paul
Posts: 1511
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: ZX81 ULA-in-a-CPLD

Post by Paul »

Andy Rea's ULA ist Altera based, fits into the Zeddy and has the interface to be reprogrammed.
And is still has plenty of pins and space free for enhancements

Maybe you ask him?
Kind regards
Paul
In theory, there is no difference between theory and practice. But, in practice, there is.
Post Reply