Since I don't really have logic to deal with auxiliary carry bits or parity flags, I went through my code and removed opcodes that corresponded to them. Based on the Internet, it didn't look like Space Invaders used any of
Emulation
A collection of 3 posts
Space Invaders (Emulating the 8080) - First OpCodes
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
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/