class

GB::FifoPPU

Inherits GB::PPU < Reference < Object

Constants

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 methods

get_sprites

get first 10 sprites on scanline, ordered

Source
reset_bg_fifo(fetching_window : Bool) : Nil
Source
reset_sprite_fifo
Source
sample_smooth_scrolling
Source
sprite_wins?(bg_pixel : Pixel, sprite_pixel : Pixel) : Bool
Source
tick(cycles : Int) : Nil

tick ppu forward by specified number of cycles

Source
tick_bg_fetcher
Source
tick_shifter
Source
tick_sprite_fetcher
Source

Nested types