As part of my RC2012WW project, I ran an 8080 exerciser and other instruction test programs on a Sol20 to better understand the behavior of the 8080′s flags (which are NOT exactly the same as those of the Z-80), and update ksim to accurately simulate the flags. There are a lot of Z-80 simulators out there, but fewer 8080 simulators, and fewer yet that get the flags right.
ksim 0.2 is now released under the GPLv3 license. While ksim may be minimally useful in its current form, it is primarily intended as a reference implementation. There is currently no documentation, and the code is not well-commented. Maximum performance was not a goal, so very little optimization has been done. Interrupts are not implemented, though they would be easy to add. There is crude console I/O, and extremely crude disk I/O. It works just barely well enough that I’ve successfully run CP/M.
What a great piece of work. I’ll be sure to have a play with this soon
I’d like to add a slightly modified version of ksim to my 8080 FPGA core (http://opencores.org/project,light8080), unless you object of course.
I intend to use it as a known-good validation model. I realize it’s still a work in progress but it looks very suitable for my purposes, which are very similar to yours.