An intel 8080 emulator, written in C#.
This program is probably not written in a way that is meant to be written in, judging by looking at other projects of other C# emulators, but it does work.
Currently, Aux Carry does not work, so the test won't pass. You can skip the test by altering the memory, in Test.cs
- (for space invaders) Install SDL2 (https://github.com/libsdl-org/SDL/releases)
- Clone a enter this repo (
git clone https://github.com/tmaakis/8080cs.git && cd 8080cs
)
There are a few ways to run the emulator. To run the test program (looks for TST0080.COX), simply type
dotnet run test path/to/testrom -c Release
To run space invaders (incomplete)
dotnet run invaders.bin -c Release # where invaders.bin is the 4 Space Invader rom parts put together
Remove the '-c Release" if you want debug output to the terminal and memory dumps.
You can also run the disassembler on its own by running:
dotnet run disassemble path/to/romtodisassemble