class Memory

Defined in:

memory.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ppu : PPU, timers : Timers, joypad : Joypad, dir : String) #

[View source]

Instance Method Detail

def createCartridge(dir) : Cartridge #

[View source]
def get_if #

[View source]
def ie : UInt8 #

[View source]
def ie=(ie : UInt8) #

[View source]
def interrupt_requests=(val) #

[View source]
def joypadIRQRequest : Bool #

[View source]
def joypadIRQRequest=(joypadIRQRequest : Bool) #

[View source]
def ppu : PPU #

[View source]
def ppu=(ppu : PPU) #

[View source]
def readByte(addr) : UInt8 #

[View source]
def readWord(addr : UInt16) : UInt16 #

[View source]
def serialIRQRequest : Bool #

[View source]
def serialIRQRequest=(serialIRQRequest : Bool) #

[View source]
def timers : Timers #

[View source]
def timers=(timers : Timers) #

[View source]
def writeByte(addr : UInt16, value : UInt8) #

[View source]
def writeWord(addr : UInt16, val : UInt16) #

[View source]