4 ms·
Free-running a Z80, standalone, is pretty simple. I found these good videos covering the process: https://www.youtube.com/watch?v=nFIviiwPrLI https://www.yout
by stevekemp 7y ago
Free-running a Z80, standalone, is pretty simple. I found these good videos covering the process:
https://www.youtube.com/watch?v=nFIviiwPrLI https://www.youtube.com/watch?v=nFIviiwPrLI
https://www.youtube.com/watch?v=AZb4NLXx1aM https://www.youtube.com/watch?v=AZb4NLXx1aM
(There are other examples, but both of those videos were nice and clear to me.)
I didn't want to start on just an EEPROM, because even if everything worked my diagnostics would be limited to LEDs. Using the arduino to provide the control also allowed me to react to "IN (X), A" and "OUT (X), A" instructions - in my case I use those to perform I/O to the serial console the Arduino is using.
I've got a simple monitor running to allow me to enter programs, dump RAM, and call routines. But the next step is something more programmable - as I guess I mentioned.
Good luck anyway! It's a fun project for sure. I started coding on a Z80-based home-computer in the 80s, so there's a lot of nostalgia.
- mindcrime 7y agoI didn't want to start on just an EEPROM, because even if everything worked my diagnostics would be limited to LEDs. Using the arduino to provide the control also allowed me to react to "IN (X), A" and "OUT (X), A" instructions - in my case I use those to perform I/O to the serial console the Arduino is using. That's an interesting thought. I may look into doing something like that as the next phase of my project, if I can get as far as booting the z80, having it execute a program off the eeprom, and blink some LED's. :-)