MCPcopy Create free account

hub / github.com/MarkMcCaskey/gameboy-rom-parser / functions

Functions24 in github.com/MarkMcCaskey/gameboy-rom-parser

↓ 4 callersMethodnext
(&mut self)
src/lib.rs:80
↓ 1 callersMethodget_instructions_at
Get an iterator over the instructions starting at the given address.
src/lib.rs:57
↓ 1 callersFunctionparse_cb
Extra math functions
src/parser.rs:467
↓ 1 callersMethodparse_header
Parse the ROM header and return a high level type containing its data.
src/lib.rs:50
↓ 1 callersFunctionparse_instruction
(input: &[u8])
src/parser.rs:147
↓ 1 callersFunctionparse_rom_header
( input: &'a [u8], )
src/parser.rs:88
↓ 1 callersFunctiontranslate_ram_size
Takes in the RAM size byte and outputs the number of RAM banks and the size of each RAM bank in bytes Standard values for RAM bank size are 2kB and 8k
src/util.rs:26
↓ 1 callersFunctiontranslate_rom_size
Takes in the ROM size byte and outputs the number of ROM banks
src/util.rs:5
Methodfrom
(byte: u8)
src/header.rs:59
Functionmain
()
src/bin/gb2json.rs:3
Functionmain
()
src/bin/gbstats.rs:12
Methodnew
Create a new instance of the `GameBoyRom`.
src/lib.rs:43
Functionparse_byte
(input: &'a [u8])
src/parser.rs:84
Functionparse_game_title
(input: &'a [u8])
src/parser.rs:22
Functionparse_gbc_byte
( input: &'a [u8], )
src/parser.rs:29
Functionparse_jp_byte
(input: &'a [u8])
src/parser.rs:78
Functionparse_new_licensee_code
( input: &'a [u8], )
src/parser.rs:47
Functionparse_ram_size
(input: &'a [u8])
src/parser.rs:71
Functionparse_rom_size
(input: &'a [u8])
src/parser.rs:64
Functionparse_rom_type
(input: &'a [u8])
src/parser.rs:41
Functionparse_scrolling_graphic
( input: &'a [u8], )
src/parser.rs:16
Functionparse_sgb_byte
3 is SGB 0 is GB
src/parser.rs:58
Methodsupports_color
Whether or not the ROM declares it uses GameBoy Color features
src/header.rs:18
Methodvalidate
checks that the ROM header is internally consistent. warning: this doesn't guarantee that the entire ROM header is well formed TODO: consider parsing
src/header.rs:127