Testing emulators using z80test-1.0. Quck results

Struggling with Fuse or trying to find an emulator with a specific feature. Ask your questions here.
User avatar
RMartins
Manic Miner
Posts: 331
Joined: Thu Nov 16, 2017 3:26 pm

Re: Testing emulators using z80test-1.0. Quck results

Post by RMartins » Thu May 31, 2018 9:11 am

Hernan wrote:
Wed May 30, 2018 3: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 ?

Also,which tests have you run ?
Only the full ?
wht about the other tests ?
0 x

User avatar
Ast A. Moore
Manic Miner
Posts: 719
Joined: Mon Nov 13, 2017 3:16 pm

Re: Testing emulators using z80test-1.0. Quck results

Post by Ast A. Moore » Thu May 31, 2018 9:18 am

RMartins wrote:
Thu May 31, 2018 9:11 am
Hernan wrote:
Wed May 30, 2018 3: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: 14
Joined: Wed May 30, 2018 2:45 pm

Re: Testing emulators using z80test-1.0. Quck results

Post by Hernan » Thu May 31, 2018 3:52 pm

RMartins wrote:
Thu May 31, 2018 9: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: 283
Joined: Sat Nov 25, 2017 10:50 pm
Location: USA

Re: Testing emulators using z80test-1.0. Quck results

Post by Seven.FFF » Thu May 31, 2018 7:49 pm

RMartins wrote:
Tue May 22, 2018 2: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
seven-fff.com/blog

User avatar
druellan
Microbot
Posts: 194
Joined: Tue Apr 03, 2018 6:19 pm
Location: Argentina
Contact:

Re: Testing emulators using z80test-1.0. Quck results

Post by druellan » Wed Sep 12, 2018 12:13 pm

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
Un buen día me puse a probar juegos de ZX Spectrum a ciegas en Youtube, terminó siendo:
📺 Retroarqueología en Youtube

User avatar
druellan
Microbot
Posts: 194
Joined: Tue Apr 03, 2018 6:19 pm
Location: Argentina
Contact:

Re: Testing emulators using z80test-1.0. Quck results

Post by druellan » Mon Oct 15, 2018 11:56 am

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
Un buen día me puse a probar juegos de ZX Spectrum a ciegas en Youtube, terminó siendo:
📺 Retroarqueología en Youtube

Post Reply