class GB::GB
Defined in:
crab/gb/gb.crConstructors
Instance Method Summary
- #apu : APU
- #apu? : APU | Nil
- #bootrom : String | Nil
- #cartridge : Cartridge
- #cgb_ptr : Pointer(Bool)
- #cpu : CPU
- #cpu? : CPU | Nil
- #handle_controller_event(event : SDL::Event::JoyHat | SDL::Event::JoyButton) : Nil
- #handle_input(input : Input, pressed : Bool) : Nil
- #interrupts : Interrupts
- #interrupts? : Interrupts | Nil
- #joypad : Joypad
- #joypad? : Joypad | Nil
- #memory : Memory
- #memory? : Memory | Nil
- #post_init : Nil
- #ppu : PPU
- #ppu? : PPU | Nil
- #run_until_frame : Nil
- #scheduler : Scheduler
- #scheduler? : Scheduler | Nil
- #timer : Timer
- #timer? : Timer | Nil
- #toggle_sync : Nil
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)
#
Instance Method Detail
def handle_controller_event(event : SDL::Event::JoyHat | SDL::Event::JoyButton) : Nil
#