Hi-res text — BG Mode 5 + interlace (512 horizontal pixels).
Port of krom (Peter Lemon)'s InterlaceFont demo (PeterLemon/SNES, PPU/Interlace/InterlaceFont). BG Mode 5 renders 512 horizontal pixels with 16x8 tiles; SETINI bit 0 adds interlace for 448 vertical lines. The text page is original art (a procedurally rendered 512x256 text image with 1-pixel-column test bands), converted to Mode 5's paired 8x8 tile layout.
- SNES Concepts
- BG Mode 5: 512px horizontal, 16x8 tiles (stored as 8x8 pairs)
- SETINI screen interlace via videoSetInterlace() (write-only shadow)
- The Mode 5 trap: content displays through MAIN AND SUB screen — both setMainScreen() and setSubScreen() are required
- What to Observe
- Crisp 8px-wide glyphs and 1px vertical stripe bands that a 256-wide mode cannot represent (they'd alias to solid gray).
- Modules Used
- console, dma, background
- See also
- https://github.com/PeterLemon/SNES — original demo
-
video.h (videoSetInterlace and the SETINI shadow)