Skip to content

vishanand/BuckEmu-SMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BuckEmu SMS

An Emulator for the Zilog Z80 CPU in C++. (written for Mac OS currently)

The CPU emulation is complete, all 677 instruction opcodes have been implemented, along with the CPU registers, interrupts, and memory management. The eventual goal is to have a fully-functional Sega Master System emulator.

This project has been invaluable in helping me gain a lower-level understanding of how Computer Hardware, Memory, and CPUs operate.

Compile with: make

Run with: ./a.out


Progress

  • Memory Management (Complete)
  • ROM Cartridge Loading (Complete)
  • Z80 CPU Implementation (Complete)
  • VDP Graphics (In Progress)
  • Input (Todo)
  • Audio (Todo)

BuckEmu SMS running the ZEXALL Instruction Exerciser ROM to demonstrate the Z80 CPU executing opcodes:

Instruction Exerciser ROM Running

Running Only Words to demonstrate background tiling:

Only Words ROM Running

Running Pause Test to demonstrate frame interrupts and VDP scrolling:

Pause Test ROM Running


Info

Code Style: Tabs are 4 Spaces.

SMSPower has been a great resource for system documentation.

About

A Sega Master System emulator in C++ (Z80 CPU)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published