Skip to content

itarato/lameboy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameBoy DMG emulator

Usage

Usage: lameboy [OPTIONS] <CARTRIDGE>

Arguments:
  <CARTRIDGE>  Cartridge

Options:
  -b, --breakpoint <BREAKPOINT>  Breakpoints
  -s, --step-by-step             Step by step
  -n, --nofps                    Skip FPS limiter
      --opcode-dump              Dump opcode list to file
      --tiles                    Tile map debug window
      --background               Background map debug window
      --window                   Window map debug window
      --skip-intro               Skip intro logo scrolling phase
      --disable-sound            Turn all sounds off
  -h, --help                     Print help
  -V, --version                  Print version
  • Dependencies: SDL2
  • Tested OS: Linux, Windows
  • Keyboard:
    • Up / Left / Down / Right: , , ,
    • Start / Select: Z, X
    • A / B: N, M
    • Break execution: B
    • VM debug panel (toggle): I
    • VRAM tiles / bg map / win map (toggle): 1, 2, 3
    • Quit: Esc

Screenshots

Logo CPU tests Timing tests Tetris Zelda Donkey Kong Spiderman Mario VRAM debug

Materials

Missing:

  • using actual nes controller
  • more cartridge controller (mbc2, etc)
  • save to ram
  • debug snapshot
  • reset
  • serial port
  • devices (camera, printer, etc)

Not 100%:

  • wave + noise channels
  • mode 3 + 0 length adjustments
  • dma spread on 160 clocks

Bugs:

  • wgpu/pixels rendering on OS-X + HiDPI

About

Gameboy DMG emulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages