This project is an implementation of an Intel 8080 CPU emulator, developed in pure C, using SDL2 to render the video memory buffer in a graphical window.
- Full emulation of the Intel 8080 CPU.
- Uses SDL2 to display the video and memory buffer.
- Loads and executes binaries compatible with the Intel 8080.
To compile and run the emulator, ensure the following tools are installed:
- GCC (version 10.2.1)
- GNU Make (version 4.3)
- SDL2 (version 2.0.14)
sudo apt update
sudo apt install build-essential libsdl2-devsudo pacman -S base-devel sdl2
brew install sdl2
make all
make run
or
make debug
- build/: Where the compiled object files and the final emulator binary (`main`) live.
- include/: Header files with declarations, defines, and interfaces.
- rom/: Contains your assembly code, compiled binaries, and test CPU programs.
- src/: All your C source files making the emulator tick.
- gdb_script.gdb: Script to help automate debugging sessions with GDB.
- Makefile: Handles compiling and linking everything in the right order.
