CPU Functions Now that we have our memory and cpu structure setup, it's was time to create functions to initialize the cpu and start processing our ROM! // Creates a new cpu int init_cpu(struct cpustate* cpu); // Tick once in
Projects
A collection of 11 posts
Space Invaders (Emulating the 8080) - Memory and CPU Setup
ROM Setup The first thing to deal with was the ROM files for Space Invaders. I first combined all the 2kB chunks of the rom into one 8kB file. I then wrote a small script (romgen.c [https://github.com/
Guild Sim Project
This is a little rust project I've been working on in my free time. It's a really simple little game called guild sim where you play as a medieval worker trying to become the mayor of the city and hold