Elijah Miller’s NEC v30 on a Pi hat
virtuallyfun.com
virtuallyfun.com
But I can give that it's a bit more than the usual "look I connected these things to RPi and they work! I am now a superstar engineer"
If you were trying to scratchbuild a BIOS, for example, it might be easier to have the entire world outside the CPU be emulated at the beginning. It ensures you don't end up chasing ghosts due to imperfect CPU emulation, and you can start with very simple "toy" peripherals to avoid complex setup code and corner cases, and instrument everything up.
The guy behind this had been working on some other 8088-class projects-- up to a micro-ATX mainboard intended to be roughly XT compatible. One of the side projects was a tiny character LCD panel on an ISA card, since that was an easier design for early bootstrapping than getting a real CGA card running. So this sort of fits within the same toolkit.
As the firmware improves, I could imagine migrating to a setup where the Pi is connected via, say, the ISA bus to substitute for rare/fragile peripherals, or just serving as a more easily updated PROM replacement.
Pistorm runs musashi and can even do 68030/68040 along with peripherals in the high memory area (above 24bits) things like additional ram and IDE.
It's very cool
For example I've used an Arduino to drive a Z80 processor. I toggle the clock line high & low, and monitor the I/O ports on the Z80 such that when it thinks it is reading RAM it is really reading from an array on the Arduino.
You can get quite far, given the relative clock-speeds of the two chips. Of course it gets a bit fiddly if you need to halt the processor and proxy reads to other I/O devices - such as using the Z80 "out (1), a" instruction to print a character to an LCD.
But this is a good way to get started.