ZX81 Homebrew Builders ..

Discussions about Sinclair ZX80 and ZX81 Hardware
gozzo
Posts: 452
Joined: Fri Jul 08, 2011 8:52 pm

Re: ZX81 Homebrew Builders ..

Post by gozzo »

if they are fake, is there any easyish way to 'speedtest' them? hope they are at least 4mhz and not 2.5s !!
User avatar
1024MAK
Posts: 5536
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...
Contact:

Re: ZX81 Homebrew Builders ..

Post by 1024MAK »

Yep, it's possible to test them. In a Spectrum, or maybe a ZX81 (but not tried this), the NMOS and CMOS produce different results when executing OUT (C),0 or OUT (C),255 instruction - see here.

But for the speed test, you really need to make up a very simple single board computer using fast SRAM, and fast FLASH / EEPROM. With a simple decoder and a simple I/O interface, so that you can run them at various clock speeds...

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

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Spring approaching...
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Re: ZX81 Homebrew Builders ..

Post by PokeMon »

The current consumption of NMOS and CMOS is remarkable different, too.
The NMOS is stated with 200mA while the CMOS takes about 20mA at 4 MHz.
I don't believe that NMOS chips are produced or relabeled.
It is hard to find NMOS Z80 at all, I think.
gozzo
Posts: 452
Joined: Fri Jul 08, 2011 8:52 pm

Re: ZX81 Homebrew Builders ..

Post by gozzo »

so you think they would at least be cmos? and hopefully 4mhz??! if so thats ok, but would be nice to know their real speed capabilities! i might buy a few of the other cheapie ones, and see what they're like....
gozzo
Posts: 452
Joined: Fri Jul 08, 2011 8:52 pm

Re: ZX81 Homebrew Builders ..

Post by gozzo »

hmm, so no quick and easy way to speed test other than using in an actual computer circuit, and see if it crashes or not? :-(
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: ZX81 Homebrew Builders ..

Post by Andy Rea »

And even if you did build something you would need to exercise every instruction 1000s of tumes to be sure. Also any instruction that effect registers or flags should be verified for correct operation, you may get erroneous results but no actual crash.
what's that Smell.... smells like fresh flux and solder fumes...
stevendt
Posts: 6
Joined: Mon Sep 03, 2012 11:24 am

Re: ZX81 Homebrew Builders ..

Post by stevendt »

"er, how can you tell a 'fake' one"

With difficulty !

you might find that page useful

http://primrosebank.net/computers/mtx/p ... _fakes.htm

regards
Dave
Last edited by stevendt on Tue Jan 17, 2017 9:19 pm, edited 1 time in total.
stevendt
Posts: 6
Joined: Mon Sep 03, 2012 11:24 am

Re: ZX81 Homebrew Builders ..

Post by stevendt »

The tests that I have carried out were done on MTXPlus+, I have the ability to set clock speeds between 4 and 16MHz to run RAM tests and report the CPU type (NMOS or CMOS). I have had a few that totally failedl to run, this could be because they were U/S, or because they were 2.5MHz parts. As I could not determine which, those ones were binned

regards
Dave
User avatar
1024MAK
Posts: 5536
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...
Contact:

Re: ZX81 Homebrew Builders ..

Post by 1024MAK »

gozzo wrote:hmm, so no quick and easy way to speed test other than using in an actual computer circuit, and see if it crashes or not? :-(
Well, it's very far from a full proper test, but for a quick and dirty test, you could make a simple NOP tester, but use a more useful instruction instead...

This is where you wire the databus up with a fixed instruction, and ignore the address bus. So the CPU only reads a single instruction repeatability. Then monitor the control lines to see if the CPU is behaving.

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

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Spring approaching...
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Re: ZX81 Homebrew Builders ..

Post by PokeMon »

This is not a reliable test. There are situations, where timing can got quite strong.

Candidates in my eyes are prefixed instructions (with FD/DD/ED/CB), IO instructions, restart vector instructions (with a 5 clock cycle t-state), interrupts and nmi and wait. Even busreq is a candidate to fail but not often used.

A good idea is to put this into a Zeddy to see if run with 3.5 MHz. If you can see the video picture on the oscilloscope while monitoring A15 (I know when and how display is running even if not shown) you can increase clock frequency as well. But I doubt that the ULA will do it. Maybe a good idea to take Andy's ZX ULA (2 ?) to test at least 6.5 MHz.
Post Reply