A parser for Gameboy ROMS. Provides high-level useful data types like
RomType. Basic validation is provided through the
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
Data types that the parser can produce If you want to do things with a GameBoy ROM, use the types defined here
The logic to transform bytes into GameBoy ROM data types
Utility functions for parsing
top level function to parse the ROM returns the parsed header and the rest of the bytes