class GB::ScanlinePPU
- GB::ScanlinePPU
- GB::PPU
- Reference
- Object
Defined in:
crab/gb/scanline_ppu.crInstance Method Summary
-
#get_sprites : Array(Sprite)
get first 10 sprites on scanline, ordered the order dictates how sprites should render, with the first ones on the bottom
- #scanline
-
#tick(cycles : Int) : Nil
tick ppu forward by specified number of cycles
Instance methods inherited from class GB::PPU
[](index : Int) : UInt8
[],
[]=(index : Int, value : UInt8) : Nil
[]=,
bg_display? : Bool
bg_display?,
bg_tile_map : UInt8
bg_tile_map,
bg_window_tile_data : UInt8
bg_window_tile_data,
coincidence_flag : Bool
coincidence_flag,
coincidence_flag=(on : Bool) : Nil
coincidence_flag=,
coincidence_interrupt_enabled : Bool
coincidence_interrupt_enabled,
copy_hdma_block(block_number : Int) : Nil
copy_hdma_block,
frame : Bool
frame,
frame=(frame : Bool)
frame=,
framebuffer : Slice(UInt16)
framebuffer,
handle_stat_interrupt : Nil
handle_stat_interrupt,
hblank_interrupt_enabled : Bool
hblank_interrupt_enabled,
lcd_enabled? : Bool
lcd_enabled?,
mode_flag : UInt8
mode_flag,
mode_flag=(mode : UInt8)
mode_flag=,
oam_interrupt_enabled : Bool
oam_interrupt_enabled,
palette_from_enumerable(palette_array : Enumerable(UInt8)) : UInt8
palette_from_enumerable,
skip_boot : Nil
skip_boot,
sprite_enabled? : Bool
sprite_enabled?,
sprite_height
sprite_height,
start_hdma(value : UInt8) : Nil
start_hdma,
step_hdma : Nil
step_hdma,
update_palette(palette : Indexable(UInt8), val : UInt8) : Nil
update_palette,
vblank_interrupt_enabled : Bool
vblank_interrupt_enabled,
window_enabled? : Bool
window_enabled?,
window_tile_map : UInt8
window_tile_map,
write_png : Nil
write_png
Constructor methods inherited from class GB::PPU
new(gb : GB)
new
Instance Method Detail
get first 10 sprites on scanline, ordered the order dictates how sprites should render, with the first ones on the bottom