Skip to content

My MacEwan comp sci capstone - a GameBoy emulator

License

Notifications You must be signed in to change notification settings

CosmicBagel/gb_emu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gb_emu

Usage:

Running a release:

gb_emu.exe a_cool_rom.gb

Or use GUI to select and load rom.

Keybindings:

  • esc -> toggle ui
  • wasd -> direction pad
  • j,k -> b,a
  • u,i -> select, start
  • shift -> turbo

Yes, supports gamepad (plus triggers for turbo)


Development:

Install rust (latest stable): https://www.rust-lang.org/tools/install

Get test rom from https://github.com/retrio/gb-test-roms/raw/master/cpu_instrs/cpu_instrs.gb

Building:

cargo build

Running:

cargo run cpu_instrs.gb

Linux notes:

  • Requires vulkan support (will not work in WSL2)
    • For WSL2 install vulkan-tools before building
  • Requires dev libraries libglib2.0-dev libgtk-3-dev libudev-dev
    • eg apt install libglib2.0-dev libgtk-3-dev libudev-dev on Ubuntu 22.04 LTS
  • Your milage may vary depending on distro ¯\_(ツ)_/¯

About

My MacEwan comp sci capstone - a GameBoy emulator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages