CHiPs44 / hagl_pico_vgaboard

HAGL HAL for Raspberry Pi Pico VGA board (scanvideo)
Other
6 stars 2 forks source link

Add a 16 colors text mode over framebuffer, with NUL being transparent #46

Open CHiPs44 opened 8 months ago

CHiPs44 commented 8 months ago

NUL chars in the text buffer should not be rendered at all, others will render with background and foreground colors instead of framebuffer content, without transparency.

Palette can be different from the framebuffer's one.

This does not need to use multiplane capability of scanvideo, unless it is easier or faster than "naive" rendering.

Text "cells" could be 2 to 4 bytes:

Text mode could have these attributes:

This could be the base for a "dumb" terminal understanding a subset of ANSI/VT100 sequences.

CHiPs44 commented 8 months ago

WIP in textmode branch.