Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Testing a z80 emulator

252 views
Skip to first unread message

migue...@my-dejanews.com

unread,
Dec 22, 1998, 3:00:00 AM12/22/98
to
Does anyone know a z80 program to validate a z80 emulator ?
I need a comprehensive set of instructions with known pre and
post conditions, so that at the end I can compare the emulator
results with the expected results.

Thanks,
Marcio.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own

Norm Dresner

unread,
Dec 22, 1998, 3:00:00 AM12/22/98
to
How about plugging it into a working CP/M computer and running a few
programs. WordStar, dBase, and SuperCalc should give you reasonable
confidence.

Norm D.

migue...@my-dejanews.com wrote in article
<75or6p$pfb$1...@nnrp1.dejanews.com>...

John Elliott

unread,
Dec 22, 1998, 3:00:00 AM12/22/98
to
migue...@my-dejanews.com wrote:
>Does anyone know a z80 program to validate a z80 emulator ?
>I need a comprehensive set of instructions with known pre and
>post conditions, so that at the end I can compare the emulator
>results with the expected results.

There's a really ferocious Z80 validator in YAZE, if I can only
remember where YAZE can be downloaded from.

------------- http://www.seasip.demon.co.uk/index.html --------------------
John Elliott |BLOODNOK: "But why have you got such a long face?"
|SEAGOON: "Heavy dentures, Sir!" - The Goon Show
:-------------------------------------------------------------------------)

migue...@my-dejanews.com

unread,
Dec 23, 1998, 3:00:00 AM12/23/98
to
In article <01be2ded$d19a4500$6bea4e0c@nilrem>,

"Norm Dresner" <nd...@worldnet.att.net> wrote:
> How about plugging it into a working CP/M computer and running a few
> programs. WordStar, dBase, and SuperCalc should give you reasonable
> confidence.

I am confident that most of the emulator works correctly,
since CP/M boots ok, and I can run many simple programs.
The problem is that some programs behave strangely, and
this behavior is consistent. What I would like to have is
some test that "approves" or "rejects" groups of instructions,
until I can isolate the bad ones.

Bill Haygood

unread,
Dec 28, 1998, 3:00:00 AM12/28/98
to migue...@my-dejanews.com
On Wed, 23 Dec 1998 migue...@my-dejanews.com wrote:

> In article <01be2ded$d19a4500$6bea4e0c@nilrem>,
> "Norm Dresner" <nd...@worldnet.att.net> wrote:
> > How about plugging it into a working CP/M computer and running a few
> > programs. WordStar, dBase, and SuperCalc should give you reasonable
> > confidence.
>
> I am confident that most of the emulator works correctly,
> since CP/M boots ok, and I can run many simple programs.
> The problem is that some programs behave strangely, and
> this behavior is consistent. What I would like to have is
> some test that "approves" or "rejects" groups of instructions,
> until I can isolate the bad ones.
>
> Marcio.

Frank Cringle wrote two programs to test Z80 emulation. One
tests Z80 instructions and validates the documented flags and
the other tests even the undocumented flags. Several years
ago, my own Z80A emulator passed the more stringent of the
tests. I have copies of the files ZEXDOC.Z80 and ZEXALL.Z80.
I also have a version of ZEXALL.Z80 I re-wrote into Cromemco
Assembler format. I have made the original ZEX*.Z80 files
available at my FTP site:

ftp://ftp.haygood.org/pub

Please email me if you have interest in obtaining the
Cromemco Assembler version of ZEXALL.Z80.

Best regards,
Bill
<<remove 'q' from my address to reply>>


0 new messages