/gameboyGO

Gameboy emulator in go

Primary LanguageGoMIT LicenseMIT

gameboyGO Build Status

Gameboy emulator in go

Current state:

  • Interrupts
  • Joypad
  • Video
  • Timers
  • Support MBC1, MBC2 & MBC3 roms
  • Load saved games
  • Cpu test roms passed

Tested Games

  • Tennis
  • Tetris
  • Dr. Mario
  • Kirby's Dream Land
  • Super Mario Land
  • Pocket Monsters Ao
  • The Legend of Zelda - Link's Awakening
  • The Final Fantasy Legend
  • Seiken Densetsu
  • Pokemon - Red Version
  • Pokemon - Gold Version

out3 out2 out

TODO:

  • STOP and HALT instructions
  • Support MBC5
  • Sound

Compile and run

go get -v github.com/veandco/go-sdl2/sdl
go get -v github.com/gonccalo/gameboyGO/gameboygo
go build github.com/gonccalo/gameboyGO/gameboygo
export GODEBUG=cgocheck=0
./gameboygo -rom <file>

Dependencies

SDL2