ZX81 rebuild

Discussions about Sinclair ZX80 and ZX81 Hardware
User avatar
1024MAK
Posts: 5118
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: ZX81 rebuild

Post by 1024MAK »

Lardo Boffin wrote: Sat May 16, 2020 12:17 am Forth up and running. 8-)
May your programs go forth and multiply :lol:

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.
Moggy
Posts: 3266
Joined: Wed Jun 18, 2008 2:00 pm

Re: ZX81 rebuild

Post by Moggy »

Splendid now enter the following.....

: lardo 10000 0 do ." lardo is a genius " loop ;

To run type lardo then enter.
Lardo Boffin
Posts: 2169
Joined: Sat Nov 26, 2016 2:42 am

Re: ZX81 rebuild

Post by Lardo Boffin »

Moggy wrote: Sat May 16, 2020 2:01 pm Splendid now enter the following.....

: lardo 10000 0 do ." lardo is a genius " loop ;

To run type lardo then enter.
Took me a while to get the spacing right... :oops:
3EC72AF7-99AC-44FD-8DFD-243885676F3F.jpeg
ZX80
ZX81 iss 1 (bugged ROM, kludge fix, normal, rebuilt)
TS 1000 iss 3, ZXPand AY and +, ZX8-CCB, ZX-KDLX & ChromaSCART
Tatung 81 + Wespi
TS 1500 & 2000
Spectrum 16k (iss 1 s/n 862)
Spectrum 48ks plus a DIVMMC future and SPECTRA
Lardo Boffin
Posts: 2169
Joined: Sat Nov 26, 2016 2:42 am

Re: ZX81 rebuild

Post by Lardo Boffin »

Of course had I known this bad boy (the family zeddy I thought lost) was in my folk’s loft I would have never built it!

5D0C946D-5DB9-4A78-A3CD-2A1BDC2DA7D8.jpeg
ZX80
ZX81 iss 1 (bugged ROM, kludge fix, normal, rebuilt)
TS 1000 iss 3, ZXPand AY and +, ZX8-CCB, ZX-KDLX & ChromaSCART
Tatung 81 + Wespi
TS 1500 & 2000
Spectrum 16k (iss 1 s/n 862)
Spectrum 48ks plus a DIVMMC future and SPECTRA
Moggy
Posts: 3266
Joined: Wed Jun 18, 2008 2:00 pm

Re: ZX81 rebuild

Post by Moggy »

@Lardo

Small favour to ask Lardo. could you run program again but before entering "lardo" first enter CO REV which should turn the display inverse.
The reason I ask is that the original ROM code has a display bug which leaves the furthest right hand column only half inverted making the characters in that column look ridiculous.

Andy Rea's new ULA magically cures this problem (neither of us know why) and I was just curious if the new style ULA you have fitted did the same?
Lardo Boffin
Posts: 2169
Joined: Sat Nov 26, 2016 2:42 am

Re: ZX81 rebuild

Post by Lardo Boffin »

Moggy wrote: Sat May 16, 2020 6:35 pm @Lardo

Small favour to ask Lardo. could you run program again but before entering "lardo" first enter CO REV which should turn the display inverse.
The reason I ask is that the original ROM code has a display bug which leaves the furthest right hand column only half inverted making the characters in that column look ridiculous.

Andy Rea's new ULA magically cures this problem (neither of us know why) and I was just curious if the new style ULA you have fitted did the same?
More magic!!!
Attachments
914DC0FF-C043-4CE8-AF69-3344DF9AAF5B.jpeg
ZX80
ZX81 iss 1 (bugged ROM, kludge fix, normal, rebuilt)
TS 1000 iss 3, ZXPand AY and +, ZX8-CCB, ZX-KDLX & ChromaSCART
Tatung 81 + Wespi
TS 1500 & 2000
Spectrum 16k (iss 1 s/n 862)
Spectrum 48ks plus a DIVMMC future and SPECTRA
Moggy
Posts: 3266
Joined: Wed Jun 18, 2008 2:00 pm

Re: ZX81 rebuild

Post by Moggy »

Many thanks for that Lardo. :D

This is what it rectifies..
Attachments
h4th PAL.JPG
h4th PAL.JPG (31.72 KiB) Viewed 2305 times
Lardo Boffin
Posts: 2169
Joined: Sat Nov 26, 2016 2:42 am

Re: ZX81 rebuild

Post by Lardo Boffin »

Thats awesome! I suspect there is a thread somewhere but why is the screen so badly offset in this ROM?
ZX80
ZX81 iss 1 (bugged ROM, kludge fix, normal, rebuilt)
TS 1000 iss 3, ZXPand AY and +, ZX8-CCB, ZX-KDLX & ChromaSCART
Tatung 81 + Wespi
TS 1500 & 2000
Spectrum 16k (iss 1 s/n 862)
Spectrum 48ks plus a DIVMMC future and SPECTRA
Moggy
Posts: 3266
Joined: Wed Jun 18, 2008 2:00 pm

Re: ZX81 rebuild

Post by Moggy »

Lardo Boffin wrote: Sat May 16, 2020 8:38 pm Thats awesome! I suspect there is a thread somewhere but why is the screen so badly offset in this ROM?

Adam(nollkolltroll) explained the inverse thing thus in a post...........

QUOTE.

"I've seen this when using the ROM display driver and printing 34 characters without an ending halt-character. To my understanding, this is unfortunately the behaviour of the original ULA hw that somehow ignores the invert-bit after only 2 pixels."


As for the offset you have to remember that h4th is a clone of Bob Alsum's Pluri-Forth for US NTSC and when using the NTSC version the offset is not so pronounced I believe so maybe Skywave took it as is without much alteration for PAL displays ,although they managed to introduce a maths error not found in the US original. I also recall that a forum member tried rewriting the display routine which I burnt to a succession of EPROMS but to no avail so perhaps it was easier to live with the crappy display back then.

A not so clear picture of the original US setup taken from Sync magazine .


Original article can be found here.. plus another article concerning Pluri-Forth..


https://archive.org/stream/SyncVolume4N ... 9/mode/2up

https://archive.org/stream/SynchroSette ... 9/mode/2up
Attachments
Sync Volume 4 Number 2_0077.jpg
User avatar
kpalser
Posts: 80
Joined: Sun Jun 03, 2012 2:18 pm
Location: Dundee, Scotland

Re: ZX81 rebuild

Post by kpalser »

I’ve been trying to contact David Husband to ask permission to use the Forth ROM in my emulator. I’m no longer sure who I should be asking. I’ve read the other threads in this group and the above replies regarding the offsets.

The fact that David / Skywave Software would have gone on to write Forth ROMs for the BBC micro and CPC without being challenged by the copyright seems odd.

But then on the other hand you have Bob Alsum / Tree Systems with his Pluri-Forth ROM, where he has in the past released the source code: https://www.timexsinclair.com/?s=Bob+Alsum and the ROM screen offsets seem better suited to NTSC.

Maybe one was licensed to the other. I’m going to try and contact both authors with the key aim to get permission to include the ROM but maybe also determine who did what.

Regarding the ROMs themselves there seems to have been suggestions that they may have been modified for EightyOne. But identical files are found in the beta distributions of Xtender 2 with file dates a good 5 years before the version history of Eightyone.
Post Reply