class GB::FifoPPU
- GB::FifoPPU
- GB::PPU
- Reference
- Object
Defined in:
crab/gb/fifo_ppu.crConstant Summary
-
FETCHER_ORDER =
Slice[FetchStage::SLEEP, FetchStage::GET_TILE, FetchStage::SLEEP, FetchStage::GET_TILE_DATA_LOW, FetchStage::SLEEP, FetchStage::GET_TILE_DATA_HIGH, FetchStage::PUSH_PIXEL]
Instance Method Summary
-
#get_sprites : Array(Sprite)
get first 10 sprites on scanline, ordered
- #reset_bg_fifo(fetching_window : Bool) : Nil
- #reset_sprite_fifo : Nil
- #sample_smooth_scrolling
- #sprite_wins?(bg_pixel : Pixel, sprite_pixel : Pixel) : Bool
-
#tick(cycles : Int) : Nil
tick ppu forward by specified number of cycles
- #tick_bg_fetcher : Nil
- #tick_shifter : Nil
- #tick_sprite_fetcher : Nil