MCPcopy Index your code
hub / github.com/datp4ddy/gbemulator

github.com/datp4ddy/gbemulator @v0.8.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.8.1 ↗ · + Follow
354 symbols 689 edges 61 files 6 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

GBemulator

Build

Gameboy Emulator written from scratch in Rust

MarioLand2 MarioLand

Status

Working

  • Implemented almost all instructions (STOP still missing)
  • blargg's cpu_instr and instr_timing tests pass
  • Rendering is working
  • Sound
  • Tetris, Dr. Mario, Super Mario Land 2, Kirby's Dreamland and a lot more are working
  • Timer
  • Window
  • GUI
  • Configurable controls

Todo

  • Complete APU
  • MBC
  • Interrupts (Serial and Joypad)
  • Probably a lot i forgot
  • Fix a few graphic glitches
  • Fix a few audio glitches

Screenshots

CpuTest TimingTest Tetris DrMario

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 226
Function 64
Class 45
Enum 14
Interface 5

Languages

Rust100%

Modules by API surface

lib_gbemulation/src/gpu/gpu.rs43 symbols
lib_gbemulation/src/cpu/instructions/functions.rs27 symbols
lib_gbemulation/src/apu/channel/wave_channel.rs15 symbols
lib_gbemulation/src/apu/channel/square_channel.rs15 symbols
lib_gbemulation/src/apu/channel/noise_channel.rs14 symbols
gbemulator/src/config/controls.rs14 symbols
lib_gbemulation/src/memory/mmu.rs12 symbols
gbemulator/src/audio_output.rs11 symbols
lib_gbemulation/src/cartridge/mbc1.rs9 symbols
lib_gbemulation/src/cartridge/rom_only.rs8 symbols
lib_gbemulation/src/cartridge/mbc2.rs8 symbols
lib_gbemulation/src/apu/mixer.rs8 symbols

For agents

$ claude mcp add gbemulator \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page