class GB::ROM

Defined in:

crab/gb/mbc/rom.cr

Constructors

Instance Method Summary

Instance methods inherited from class GB::Cartridge

[](index : Int) : UInt8 [], []=(index : Int, value : UInt8) : Nil []=, cgb : CGB cgb, load_game : Nil load_game, ram_bank_offset(bank_number : Int) : Int ram_bank_offset, ram_offset(index : Int) : Int ram_offset, ram_size : Int32 ram_size, rom_bank_offset(bank_number : Int) : Int rom_bank_offset, rom_offset(index : Int) : Int rom_offset, rom_size : UInt32 rom_size, sav_file_path : String sav_file_path, sav_file_path=(sav_file_path : String) sav_file_path=, save_game : Nil save_game, title : String title

Constructor methods inherited from class GB::Cartridge

new(rom_path : String) : Cartridge
new(rom : Bytes) : Cartridge
new

Constructor Detail

def self.new(rom : Bytes, cartridge_type : CartridgeType) #

[View source]

Instance Method Detail

def [](index : Int) : UInt8 #
Description copied from class GB::Cartridge

read from cartridge memory


[View source]
def []=(index : Int, value : UInt8) : Nil #

[View source]