Expand description
A parser for Gameboy ROMS.
This crate provides a streaming Gameboy instruction parser as well as some
high-level types like RomHeader and RomType.
Basic validation is provided through the validate method on RomHeader.
Header logic based on info from the GB CPU Manual.
Opcode parsing logic was created with this opcode table as a reference.
Information from other places is and other places is called out in comments in the relevant files
Basic usage:
let rom = gameboy_rom::GameBoyRom::new(rom_buffer.as_slice());
let rom_header = rom.parse_header()?;Re-exports§
Modules§
- header
- Data types related to the ROM header that the parser can produce.
- opcodes
- Types related to the opcodes of the Gameboy parser.
- util
- Utility functions for parsing
Structs§
- Game
BoyRom - Top level type for dealing with GameBoy ROMs.
- Opcode
Streamer - Streaming parser over GameBoy
Opcodes.