abstract class PPU
- PPU
- Reference
- Object
Direct Known Subclasses
Defined in:
cryboy/ppu.crConstructors
Instance Method Summary
-
#[](index : Int) : UInt8
read from ppu memory
-
#[]=(index : Int, value : UInt8) : Nil
write to ppu memory
- #bg_display? : Bool
- #bg_tile_map : UInt8
- #bg_window_tile_data : UInt8
- #coincidence_flag : Bool
- #coincidence_flag=(on : Bool) : Nil
- #coincidence_interrupt_enabled : Bool
-
#copy_hdma_block(block_number : Int) : Nil
Copy 16-byte block from hdma_src to hdma_dst, then decrement value in hdma5
-
#handle_stat_interrupt : Nil
handle stat interrupts stat interrupts are only requested on the rising edge
- #hblank_interrupt_enabled : Bool
- #lcd_enabled? : Bool
- #mode_flag : UInt8
- #mode_flag=(mode : UInt8)
- #oam_interrupt_enabled : Bool
- #palette_from_array(palette_array : Array(UInt8)) : UInt8
- #palette_to_array(palette : UInt8) : Array(UInt8)
- #skip_boot : Nil
- #sprite_enabled? : Bool
- #sprite_height
- #start_hdma(value : UInt8) : Nil
- #step_hdma : Nil
- #vblank_interrupt_enabled : Bool
- #window_enabled? : Bool
- #window_tile_map : UInt8
- #write_png : Nil
Constructor Detail
Instance Method Detail
def copy_hdma_block(block_number : Int) : Nil
#
Copy 16-byte block from hdma_src to hdma_dst, then decrement value in hdma5
def handle_stat_interrupt : Nil
#
handle stat interrupts stat interrupts are only requested on the rising edge