goboy

command module
v0.0.0-...-f6d5af7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 12 Imported by: 0

README

Goboy

A Gameboy emulator written in Go. Follow progress here.

Mario screenshot

Play in your browser here.

Running

GO111MODULE=on go build -o goboy cmd/goboy/main.go
./goboy YOUR_ROM_HERE

If you have a BIOS/bootloader ROM you can get the scrolling Nintendo logo by specifying the ROM e.g.:

./goboy -bios bios.gb mario.gb

Builds coming soon.

Test with:

go test ./...
go run test_runner.go

I have tested with Tetris, Zelda, Kirby and Super Mario World. All work so far.

TODO

  • Audio needs implemented.
  • There is some flickering I haven't had time to investigate yet.
  • Fix unit tests
  • Implement MBC3 (for Pokemon).

Buttons

Gameboy Keyboard
start enter
select backspace
up up arrow
down down arrow
left left arrow
right right arrow
A Z
B X

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
pkg
cpu

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL