Skip to content

skiselev/z80-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zilog Z80 and Compatibles Testing Software

z80type

z80type tests the Z80 CPU type. Currently it is able to distinguish between NMOS CPUs, CMOS CPUs, and U880 CPUs.

z80type runs under the CP/M or ZSDOS OSes. It uses SIO interrupt vector register as a scratch register for tests. By default the code is configured to run on RC2014* SIO module or on Small Computer Central RCBus modules, such as SC725 – RCBus Serial and Timer Module. If running on different systems, modify the SIOBC constant in the code to point to the SIO Channel B control register, and rebuild the code.

Building z80type

The code is written using CP/M ASM syntax and can be compiled as follows:

A>ASM Z80TYPE
A>LOAD Z80TYPE

Example z80type Output

Please refer to Results.md for the example output of z80type running on various CPUs.

Here is an example of running to on an original Zilog Z84C0010PEG CPUs:

A>Z80TYPE /D
Z80 Processor Type Detection (C) 2024 Sergey Kiselev
Raw results:       CMOS: 2C U880: 00 XF/YF: FF
XF/YF flags test:  C000C000
Detected CPU type: Zilog Z84C00

About

Z80 CPU Testing Software

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published