Skip to content

gabrielkarras/Intel8080-Emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

Intel8080-Emulator

An emulation of the Intel 8080 CPU architecture

References

Intel8080 OpCode Reference List

Intel8080 User's Manual

Disassembler

With the help of the references above, I fully implemented a disassembler for the Intel 8080 instruction set

If you wish to run it:

  1. cd /src/disassembler/ (cd into the correct folder)
  2. gcc disassembler.c -o disassembler (run gcc compiler)
  3. ./disassembler

Your results should look like the screenshot below. However, if you wish to have a complete & thorough comparison use this reference to the complete Space Invaders' code

disassembler_result

Emulator-Space Invaders(only 50 OpCodes)

Similarly, I implemented an emulator for the Intel8080 CPU architecture. At this stage I've implemented the 50 suggested opcodes that will read and run Space Invaders.

If you wish to run it:

  1. cd /src/spaceinvader-emulator (cd into the correct folder)
  2. gcc emulator.c -o emulator (run gcc compiler)
  3. ./emulator

Your results should look like the screenshot below. I've used this Javascript based emulator for step by step analysis. IntelCPU50OpCode

About

An emulator based on the Intel 8080 architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages