[][src]Module gameboy_rom::util

Utility functions for parsing

Functions

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 8kB

translate_rom_size

Takes in the ROM size byte and outputs the number of ROM banks