class GB::MBC2
- GB::MBC2
- GB::Cartridge
- Reference
- Object
Defined in:
crab/gb/mbc/mbc2.crConstructors
Instance Method Summary
-
#[](index : Int) : UInt8
read from cartridge memory
- #[]=(index : Int, value : UInt8) : Nil
- #ram_size : Int32
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) : Cartridgenew(rom : Bytes) : Cartridge new
Constructor Detail
Instance Method Detail
def [](index : Int) : UInt8
#
Description copied from class GB::Cartridge
read from cartridge memory