Testing emulators using z80test-1.0. Quick results
Re: Testing emulators using z80test-1.0. Quick results
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.
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!
Features my own programs, modified type-ins, RZXs, character sets & UDGs, and QL type-ins... so far!
Re: Testing emulators using z80test-1.0. Quick results
For soak testing real hardware [mention]TMD2003[/mention] I would recommend this: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.
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
Re: Testing emulators using z80test-1.0. Quick results
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.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.
Spectribution: Dr. Jim's Sinclair computing pages.
Features my own programs, modified type-ins, RZXs, character sets & UDGs, and QL type-ins... so far!
Features my own programs, modified type-ins, RZXs, character sets & UDGs, and QL type-ins... so far!
Re: Testing emulators using z80test-1.0. Quick results
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.
This may need moving to a new thread.
Re: Testing emulators using z80test-1.0. Quick results
Just for completeness, these are the test, where MAME 0.227 fails:
Reported it to the MAMEDEV-Team in official MAMEDEV-Forum at: https://forum.mamedev.org/viewtopic.php?f=14&t=648
Re: Testing emulators using z80test-1.0. Quick results
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!
Features my own programs, modified type-ins, RZXs, character sets & UDGs, and QL type-ins... so far!
Re: Testing emulators using z80test-1.0. Quick results
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:
Frank D. Cringle's Z80 Instruction Set Exerciser (adaptated and improved by Patrik Rak and Jonathan Graham Harston):
Mark Woodmass' Z80 Test Suite:
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.
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:
Frank D. Cringle's Z80 Instruction Set Exerciser (adaptated and improved by Patrik Rak and Jonathan Graham Harston):
Mark Woodmass' Z80 Test Suite:
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.
Re: Testing emulators using z80test-1.0. Quick results
Hello to all,
After many years I became interested in Z80 emulation again and I updated the Z80 core of my old DOS emulator Finspe, so that it passes Flags and MEMPTR tests; with regard to SCF/CCF it goes the NEC way.
I can't get through to the WOS forum, unfortunately, so at the moment it is only available through the link below:
https://drive.google.com/file/d/1inXEFu ... sp=sharing
It runs fine on DOSBox-X, if anyone has interest.
After many years I became interested in Z80 emulation again and I updated the Z80 core of my old DOS emulator Finspe, so that it passes Flags and MEMPTR tests; with regard to SCF/CCF it goes the NEC way.
I can't get through to the WOS forum, unfortunately, so at the moment it is only available through the link below:
https://drive.google.com/file/d/1inXEFu ... sp=sharing
It runs fine on DOSBox-X, if anyone has interest.
- Cheez26
- Microbot
- Posts: 124
- Joined: Sat May 04, 2024 2:36 am
- Location: Midwestern United States
- Contact:
Re: Testing emulators using z80test-1.0. Quick results
@Jusalak Welcome to the Spectrum Computing forums, and welcome back to the ZX Spectrum scene as well. I'm actually a new person here, so I don't really get why would anyone put a Z80 in a DOS context. Doesn't DOSBox just emulate MS-DOS or something? Just curious.
Chelsea E., a Speccy fan from the U.S.
Also a musician and a beginning games developer.
p r i d e
Also a musician and a beginning games developer.
p r i d e
Re: Testing emulators using z80test-1.0. Quick results
I wrote it in 1999 in x86 assembler, even then DOS was becoming obsolete, but PCs could run it easily. Even relatively modern PCs still can run it if booted in DOS (MS-DOS or FreeDOS), I tried it on 6th generation Intel.
Re: Testing emulators using z80test-1.0. Quick results
Welcome @Jusalak,Jusalak wrote: ↑Sat May 18, 2024 5:03 pm Hello to all,
After many years I became interested in Z80 emulation again and I updated the Z80 core of my old DOS emulator Finspe, so that it passes Flags and MEMPTR tests; with regard to SCF/CCF it goes the NEC way.
I can't get through to the WOS forum, unfortunately, so at the moment it is only available through the link below:
https://drive.google.com/file/d/1inXEFu ... sp=sharing
It runs fine on DOSBox-X, if anyone has interest.
Now that you are updating your emulator, I think you might be interested in taking a look at my test collections: viewtopic.php?t=10627
Re: Testing emulators using z80test-1.0. Quick results
Thank you. There are many interesting tests there.
1st interrupt test result is quite expected - the emulator runs 1 frame before, since interrupts were disabled in the beginning.
Tape edge results - what do these mean?
Tapetest gave all tick-marks.
Rak's Zilog Z80 CPU Test suite Z80 Full - the 4 failing ones are non-NEC SCF/CCF.
Z80 Test Suite by Mark Woodmass passed all tests.
However, anything testing things related to contention is expected to produce inaccurate results, as in general is the case with emulators of the same era.
1st interrupt test result is quite expected - the emulator runs 1 frame before, since interrupts were disabled in the beginning.
Tape edge results - what do these mean?
Tapetest gave all tick-marks.
Rak's Zilog Z80 CPU Test suite Z80 Full - the 4 failing ones are non-NEC SCF/CCF.
Z80 Test Suite by Mark Woodmass passed all tests.
However, anything testing things related to contention is expected to produce inaccurate results, as in general is the case with emulators of the same era.
Re: Testing emulators using z80test-1.0. Quick results
I'm not sure about Tape Edge, I think it tests the polarity of the audio signal.
BTW, join our Discord server, it's full of ZX Spectrum emulator authors and it's also the primary source of tests and info about new discoveries: https://discord.gg/x56wyxevxm
You can ask Woody about Tape Edge in Discord.