abstract class GBA::Storage

Direct Known Subclasses

Defined in:

crab/gba/storage.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(gba : GBA, rom_path : String) : Storage #

[View source]

Instance Method Detail

abstract def [](address : UInt32) : UInt8 #

[View source]
abstract def []=(address : UInt32, value : UInt8) : Nil #

[View source]
def eeprom?(address : UInt32) : Bool #

[View source]
def memory : Bytes #

[View source]
def read_half(address : UInt32) : UInt16 #

[View source]
def read_word(address : UInt32) : UInt32 #

[View source]
def save_path=(save_path : String) #

[View source]
def write_save : Nil #

[View source]