Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
awesome-game
master
Top Level Namespace
Bool
Cartridge
CPU
Gameboy
Joypad
MBC0
MBC3
MBC5
Memory
PPU
PPUModes
Registers
Sprite
Timers
Built with Crystal 1.9.2
2023-10-07 21:42:23 UTC
class
MBC0
MBC0
Cartridge
Reference
Object
Defined in:
cartridge.cr
Constructors
.new
(rom : Array(UInt8))
Instance Method Summary
#readERAM
(addr)
#readROM
(addr)
#writeERAM
(addr, value)
#writeROM
(addr, value)
Instance methods inherited from class
Cartridge
getRAMSize(val) : UInt32
getRAMSize
,
getROMSize(val) : UInt32
getROMSize
,
readERAM(addr)
readERAM
,
readROM(addr)
readROM
,
writeERAM(addr, value)
writeERAM
,
writeROM(addr, value)
writeROM
Constructor Detail
def self.
new
(rom : Array(UInt8))
#
[
View source
]
Instance Method Detail
def
readERAM
(addr)
#
[
View source
]
def
readROM
(addr)
#
[
View source
]
def
writeERAM
(addr, value)
#
[
View source
]
def
writeROM
(addr, value)
#
[
View source
]