[][src]Crate gameboy_rom

A parser for Gameboy ROMS. Provides high-level useful data types like RomHeader and RomType. Basic validation is provided through the validate method on RomHeader.

NOTE: this crate does nothing with the data before or after the ROM header right now. The bytes there are not validated as valid Gameboy machine code.

Mostly based on info from http://marc.rawer.de/Gameboy/Docs/GBCPUman.pdf . Information from other places is and other places is called out in comments in the relevant files

Re-exports

pub use data::*;

Modules

data

Data types that the parser can produce If you want to do things with a GameBoy ROM, use the types defined here

parser

The logic to transform bytes into GameBoy ROM data types

util

Utility functions for parsing

Functions

parse_rom

top level function to parse the ROM returns the parsed header and the rest of the bytes