class GB::GB

Defined in:

crab/gb/gb.cr

Constructors

Instance Method Summary

Instance methods inherited from class Emu

handle_controller_event(event : SDL::Event::JoyHat | SDL::Event::JoyButton) : Nil handle_controller_event, post_init : Nil post_init, run_until_frame : Nil run_until_frame, scheduler : Scheduler scheduler, toggle_sync : Nil toggle_sync

Constructor Detail

def self.new(bootrom : String | Nil, rom_path : String, fifo : Bool, headless : Bool, run_bios : Bool) #

[View source]

Instance Method Detail

def apu : APU #

[View source]
def apu? : APU | Nil #

[View source]
def bootrom : String | Nil #

[View source]
def cartridge : Cartridge #

[View source]
def cgb_ptr : Pointer(Bool) #

[View source]
def cpu : CPU #

[View source]
def cpu? : CPU | Nil #

[View source]
def handle_controller_event(event : SDL::Event::JoyHat | SDL::Event::JoyButton) : Nil #

[View source]
def handle_input(input : Input, pressed : Bool) : Nil #

[View source]
def interrupts : Interrupts #

[View source]
def interrupts? : Interrupts | Nil #

[View source]
def joypad : Joypad #

[View source]
def joypad? : Joypad | Nil #

[View source]
def memory : Memory #

[View source]
def memory? : Memory | Nil #

[View source]
def post_init : Nil #

[View source]
def ppu : PPU #

[View source]
def ppu? : PPU | Nil #

[View source]
def run_until_frame : Nil #

[View source]
def scheduler : Scheduler #

[View source]
def scheduler? : Scheduler | Nil #

[View source]
def timer : Timer #

[View source]
def timer? : Timer | Nil #

[View source]
def toggle_sync : Nil #

[View source]