class FifoPPU
Defined in:
cryboy/fifo_ppu.crConstant Summary
-
FETCHER_ORDER =
[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