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.
Post Reply
User avatar
Ast A. Moore
Dynamite Dan
Posts: 1724
Joined: Mon Nov 13, 2017 3:16 pm

Re: Testing emulators using z80test-1.0. Quck results

Post by Ast A. Moore »

RMartins wrote:
Thu May 31, 2018 10:11 am
Hernan wrote:
Wed May 30, 2018 4:58 pm
BTW, to have a "control subject" I've run the tests on my real Issue 6A 48K Speccy, and fails 1 test (001 SCF)
...
Which specific Z80 CPU brand is in your 48K computer ?
Flip back a page: viewtopic.php?f=23&t=752&start=40#p11051
0 x
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.

Hernan
Berk
Posts: 25
Joined: Wed May 30, 2018 3:45 pm

Re: Testing emulators using z80test-1.0. Quck results

Post by Hernan »

RMartins wrote:
Thu May 31, 2018 10:11 am
Which specific Z80 CPU brand is in your 48K computer ?

Also,which tests have you run ?
Only the full ?
wht about the other tests ?
Just ran the full test. It's a NMOS Z80 made by SGS.
1 x

User avatar
Seven.FFF
Manic Miner
Posts: 495
Joined: Sat Nov 25, 2017 10:50 pm
Location: USA

Re: Testing emulators using z80test-1.0. Quck results

Post by Seven.FFF »

RMartins wrote:
Tue May 22, 2018 3:43 pm
and I see that instruction INC RR an INC XY (apparently they are different things (could it be second is for iX and iY ?) are returned as OK.
But these return as errors, when running `Z80ccf.tap`
The answer is in that long but fascinating 2012 WoS thread.

Z80ccf runs CCF after each opcode. If an instruction modifies the flags, the immediately following CCF (or SCF) moves bits 5+3 from A to F, whereas if an instruction doesn't modify the flags, the SCF/CCF ORs bits 5+3 from A to F.

If SCF/CCF isn't emulated the expected way, any opcode modifying flags may fail Z80ccf. I guess it's more of a sanity crosscheck than anything else.
0 x
Robin Verhagen-Guest
SevenFFF / Threetwosevensixseven / colonel32
NXtel NXTP ESP Update ESP Reset CSpect Plugins

User avatar
druellan
Manic Miner
Posts: 694
Joined: Tue Apr 03, 2018 7:19 pm
Location: Argentina
Contact:

Re: Testing emulators using z80test-1.0. Quck results

Post by druellan »

ZX-Uno running Kyp's core. All tests OK but SCF y CCF. SCF+CCF and CCF+SCF seems to work fine.

Image
Result: 002 of 152 tests failed.

Pretty nice!
0 x

User avatar
druellan
Manic Miner
Posts: 694
Joined: Tue Apr 03, 2018 7:19 pm
Location: Argentina
Contact:

Re: Testing emulators using z80test-1.0. Quck results

Post by druellan »

FUSE 1.5.6 changelog says:
Z80 flags register is now correct after SCF and CCF (Sergio Baldoví).
So, I decided to rerun the tests, and:

Image
Result: all tests passed
0 x

User avatar
druellan
Manic Miner
Posts: 694
Joined: Tue Apr 03, 2018 7:19 pm
Location: Argentina
Contact:

Re: Testing emulators using z80test-1.0. Quick results

Post by druellan »

ZXMAK2 V2.9.3.8

Image
Result: 006 of 152 tests failed
0 x

User avatar
Lethargeek
Manic Miner
Posts: 296
Joined: Wed Dec 11, 2019 6:47 am

Re: Testing emulators using z80test-1.0. Quick results

Post by Lethargeek »

could someone re-run these tests on the current Next?
i'm interested if the results improved since the last time

to be specific - z80full, z80ccf and z80memptr
0 x

User avatar
druellan
Manic Miner
Posts: 694
Joined: Tue Apr 03, 2018 7:19 pm
Location: Argentina
Contact:

Re: Testing emulators using z80test-1.0. Quick results

Post by druellan »

ZX Spectrum Next Firmware 1.21 Core 3.01.00

Image

Image

Image

Image

Image

Result: 022 of 152 tests failed.
2 x

User avatar
Pegaz
Manic Miner
Posts: 504
Joined: Mon Nov 13, 2017 1:44 pm

Re: Testing emulators using z80test-1.0. Quick results

Post by Pegaz »

It surprised me, that the SpecIde emulator was not mentioned here yet, because it passed all the tests I tried.
https://github.com/MartianGirl/SpecIde
I think this is certainly among the top five Spectrum emulators, in terms of precision.
For now it lacks some decent GUI, especially any file browser but nonetheless, this is an excellent emulator.
Congratulations to Marta, impressive work for now.
Here are the results for z80 tests:

Image
Last edited by Pegaz on Wed Apr 29, 2020 9:27 pm, edited 1 time in total.
0 x

User avatar
PeterJ
Site Admin
Posts: 2673
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Testing emulators using z80test-1.0. Quick results

Post by PeterJ »

Thanks for adding the link @Pegaz

I deleted my post asking for the link, and your post saying you had added it. Thank you.

Its probably because nobody else had heard of it. Thanks for mentioning it. They also have a version build into Visual Studio which looks neat!

Has anyone tried it?

https://dotneteer.github.io/spectnetide/
0 x

Post Reply