Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MarkMcCaskey/gameboy-rom-parser
/ functions
Functions
24 in github.com/MarkMcCaskey/gameboy-rom-parser
⨍
Functions
24
◇
Types & classes
10
↓ 4 callers
Method
next
(&mut self)
src/lib.rs:80
↓ 1 callers
Method
get_instructions_at
Get an iterator over the instructions starting at the given address.
src/lib.rs:57
↓ 1 callers
Function
parse_cb
Extra math functions
src/parser.rs:467
↓ 1 callers
Method
parse_header
Parse the ROM header and return a high level type containing its data.
src/lib.rs:50
↓ 1 callers
Function
parse_instruction
(input: &[u8])
src/parser.rs:147
↓ 1 callers
Function
parse_rom_header
( input: &'a [u8], )
src/parser.rs:88
↓ 1 callers
Function
translate_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 callers
Function
translate_rom_size
Takes in the ROM size byte and outputs the number of ROM banks
src/util.rs:5
Method
from
(byte: u8)
src/header.rs:59
Function
main
()
src/bin/gb2json.rs:3
Function
main
()
src/bin/gbstats.rs:12
Method
new
Create a new instance of the `GameBoyRom`.
src/lib.rs:43
Function
parse_byte
(input: &'a [u8])
src/parser.rs:84
Function
parse_game_title
(input: &'a [u8])
src/parser.rs:22
Function
parse_gbc_byte
( input: &'a [u8], )
src/parser.rs:29
Function
parse_jp_byte
(input: &'a [u8])
src/parser.rs:78
Function
parse_new_licensee_code
( input: &'a [u8], )
src/parser.rs:47
Function
parse_ram_size
(input: &'a [u8])
src/parser.rs:71
Function
parse_rom_size
(input: &'a [u8])
src/parser.rs:64
Function
parse_rom_type
(input: &'a [u8])
src/parser.rs:41
Function
parse_scrolling_graphic
( input: &'a [u8], )
src/parser.rs:16
Function
parse_sgb_byte
3 is SGB 0 is GB
src/parser.rs:58
Method
supports_color
Whether or not the ROM declares it uses GameBoy Color features
src/header.rs:18
Method
validate
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