My 8080 CPU now runs CP/M and Zork #1412
Replies: 2 comments 4 replies
-
This is incredible! To see CP/M running on a simulated 8080! And then to run Zork as well! Great! 😄 |
Beta Was this translation helpful? Give feedback.
-
In terms of speed, the graphics are drawn in a separate thread, but the simulation must be paused while the state of the components is read out, after which the simulation continues and the graphics are drawn in parallel. |
Beta Was this translation helpful? Give feedback.
-
The design has quite a lot of components (since I'm not using a ROM for the microoperations but rather just discrete logic as the real 8080 does) so it runs really slow. The clock maxes out at 25-30KHz while running real code, so it's about 100 times slower than real hardware.
Booting CP/M, loading Zork and waiting for the reply for my first command in Zork takes almost 8 minutes. I had to edit and speed up most of the video https://youtu.be/fUId6w7LU_M by 20x to get it watchable. ;-).
Do you have any tips on how I could increase the running speed? Considering the UI components are updated in a separate thread I guess that won't help much.
Beta Was this translation helpful? Give feedback.
All reactions