2016-04-25 15:51:20 +02:00
2016-04-25 15:51:20 +02:00
2015-10-31 12:06:14 +01:00
2016-04-25 13:20:17 +02:00

Zilog Z80 CPU Emulator

Copyright © 1999-2016 Manuel Sainz de Baranda y Goñi.
Released under the terms of the GNU General Public License v3.

This is a very accurate Z80 emulator I developed many years ago. I did not test it nor use it until recently. Some "friends" of mine used it in their computer and console emulators but I lost contact with them and they did not provide me any feedback.

In 2013 I thought it was a shame to let this code untested so I replaced the FBZX emulator's core of Sergio Costas Rodríguez with this and... it worked great at the first try without any error!!! As a result of this I started to scream and ran out of the house like possesed shaking my arms up. After the neighbours started to get out looking at me annoyed I decided to return to home and I ate two tablets of chocolate and drank a glass of natural orange juice to celebrate, in a more private manner, that this long forgotten masterpiece of programming was born pure, without original sin.

I use this core in the ZX Spectrum emulator I started as hobby.

I will provide instructions to use this emulator in the future, but I think any decent C programmer can understand how to use it in its project.

This emulator is very accurate, very fast (there are others faster written in assembly, yes) and what is the most important thing of all IMHO: Its structure is very clear, elegant and it is small. This is not the typical emulator which generates tables in runtime or expands a lot of macros to create one function or piece of code per every instruction's specific case.

In order to compile you must know that it uses my Z API, which is header only and provides types, macros, inline functions, and a lot of facilities to detect the particularities of the compiler and the target machine. The included Xcode project expects to find Z in "/usr/local/include/Z". This is a header only dependency. The emulator doesn't depend on any library.

If you want precise details about how the code works, you want to use this emulator in your project (privative software projects too), or you have any doubt about it, please, send me an email.

Description
No description provided
Readme 510 KiB
Languages
C 89.8%
CMake 10.2%