sprite_blit.sg — GPU-first sprite blitter, the shared render primitive for Flying Toasters + SkiFree screensavers and game rendering. SPRITEBLIT-PASS verified. GPU path silicon-pending; software floor via peek32/poke32.
Blit modes
sprite_blit
Colorkey transparency — skip key pixels, blit opaque pixels only.
sprite_blit_flip
Mirror — horizontal/vertical flip for sprite facing direction.
sprite_blit_scaled
Nearest-neighbor resize — scale sprites for parallax depth layers.
sprite_blit_clip
Bounds-clipped — negative coords, off-screen sprites handled safely.
sprite_blit_alpha
Alpha-blended — via
fb_blend, for transparency effects.Testing
4×4 sprite with corners+center pattern, 9 probes across all 4 modes. All probes pass.