Testing emulators using z80test-1.0. Quick results

Struggling with Fuse or trying to find an emulator with a specific feature. Ask your questions here.
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Testing emulators using z80test-1.0. Quick results

Post by PeterJ »

MAME 0.227

Image
User avatar
Luzie
Manic Miner
Posts: 910
Joined: Fri May 01, 2020 2:07 pm

Re: Testing emulators using z80test-1.0. Quick results

Post by Luzie »

PeterJ wrote: Thu Jan 21, 2021 5:54 pm MAME 0.227

Image
Question on this test: Is this testing "Spectrum-exclusive-Tests" or "General Z80-Core-Tests"? I ask because if those Tests, where MAME 0.227 fails, are problem with MAMEs Z80 Core which can effect also other Systems in MAME like Arcade-Machines?
User avatar
TMD2003
Rick Dangerous
Posts: 2043
Joined: Fri Apr 10, 2020 9:23 am
Location: Airstrip One
Contact:

Re: Testing emulators using z80test-1.0. Quick results

Post by TMD2003 »

Furthermore, is this designed purely as an emulator test, or could it work just as well for real hardware?

I ask because my venerable old +2 almost certainly has a slight problem with the Z80, but every diagnostic test I've ever run on it, it's come up fine. I've got two +3s, one of which I know has a dodgy Z80, as when I swapped them over, it was the other +3 that had all the problems, so I might try it on those two and see what happens.
Spectribution: Dr. Jim's Sinclair computing pages.
Features my own programs, modified type-ins, RZXs, character sets & UDGs, and QL type-ins... so far!
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Testing emulators using z80test-1.0. Quick results

Post by PeterJ »

TMD2003 wrote: Sun Jan 24, 2021 3:52 pm I ask because my venerable old +2 almost certainly has a slight problem with the Z80, but every diagnostic test I've ever run on it, it's come up fine. I've got two +3s, one of which I know has a dodgy Z80, as when I swapped them over, it was the other +3 that had all the problems, so I might try it on those two and see what happens.
For soak testing real hardware [mention]TMD2003[/mention] I would recommend this:

https://github.com/brendanalford/zx-diagnostics/wiki

You will also need this to put the ROM onto. Its very reasonably priced at under £30.

Peter
User avatar
TMD2003
Rick Dangerous
Posts: 2043
Joined: Fri Apr 10, 2020 9:23 am
Location: Airstrip One
Contact:

Re: Testing emulators using z80test-1.0. Quick results

Post by TMD2003 »

PeterJ wrote: Sun Jan 24, 2021 4:05 pm For soak testing real hardware @TMD2003 I would recommend this:

https://github.com/brendanalford/zx-diagnostics/wiki

You will also need this to put the ROM onto. Its very reasonably priced at under £30.
That's the diagnostic test that showed no problems. I am going to test Patrik's program (converted to WAV and loaded the normal way) and see if it gives a second opinion.
Spectribution: Dr. Jim's Sinclair computing pages.
Features my own programs, modified type-ins, RZXs, character sets & UDGs, and QL type-ins... so far!
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Testing emulators using z80test-1.0. Quick results

Post by PeterJ »

The tests in this thread are for checking emulators. If it passed the diagnostic checks what makes you thing the machine is faulty?

This may need moving to a new thread.
User avatar
Luzie
Manic Miner
Posts: 910
Joined: Fri May 01, 2020 2:07 pm

Re: Testing emulators using z80test-1.0. Quick results

Post by Luzie »

PeterJ wrote: Thu Jan 21, 2021 5:54 pm MAME 0.227
Just for completeness, these are the test, where MAME 0.227 fails:

Image

Reported it to the MAMEDEV-Team in official MAMEDEV-Forum at: https://forum.mamedev.org/viewtopic.php?f=14&t=648
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Testing emulators using z80test-1.0. Quick results

Post by PeterJ »

[mention]TMD2003[/mention]

Have you run the the test ROM built into the +3?

viewtopic.php?t=1572
User avatar
TMD2003
Rick Dangerous
Posts: 2043
Joined: Fri Apr 10, 2020 9:23 am
Location: Airstrip One
Contact:

Re: Testing emulators using z80test-1.0. Quick results

Post by TMD2003 »

I never even knew that existed, but I'll need a test that can run on any of the Amstrad-era machines at the very least.
Spectribution: Dr. Jim's Sinclair computing pages.
Features my own programs, modified type-ins, RZXs, character sets & UDGs, and QL type-ins... so far!
User avatar
ZjoyKiLer
Dizzy
Posts: 67
Joined: Thu Sep 09, 2021 3:20 pm

Re: Testing emulators using z80test-1.0. Quick results

Post by ZjoyKiLer »

The following are the results from my Z80 emulator, tested using my multi-system emulator (YUME). The Z80 core is a C89 library which I'll release soon under the terms of the LGPLv3 or later. It's fast, small, easy to understand and fully documented.

The Z80 core implements everything know about the Z80 and includes full support for the interrupt mode 0 and the special reset.

Patrik Rak's Zilog Z80 CPU Test Suite v1.0:
Image
Image
Image
Image
Image
Image

Frank D. Cringle's Z80 Instruction Set Exerciser (adaptated and improved by Patrik Rak and Jonathan Graham Harston):
Image
Image
Image
Image

Mark Woodmass' Z80 Test Suite:

Image
Image

Those tests can also be executed without a machine emulator. I've written a small utility to run them and output the resuls to the standard output, which will also be included in the official distribution of the library.
Post Reply