aboutsummaryrefslogtreecommitdiffstats
path: root/usr/irc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* term: 7-color terminal (per-glyph fg+bg) + ANSI escapes; colorize ircuser3 days1-61/+154
| | | | | | | | | | | | | Fano-plane palette scheme: the 7 colors map onto 7 CGB BG palettes so any color pair shares one palette; a tile's palette is picked from the set of colors its two cells need (tables generated by tools/gencolor.py). Per cell a packed (bg<<4)|fg byte lives alongside the char shadow, and the glyph blitter steers glyph/empty pixels to each cell's fg/bg color slots via plane masks. An ANSI-ish CSI parser (ESC [ .. m) drives it; usr/ansi.c demos it and the irc client now renders hashed nick colors, status dimming and a channel-activity bar.
* refactor: c/ -> usr/, compiled program blobs out of the source treeuser4 days1-0/+422
Userland sources live in usr/ (fits the Unix theme better than 'c'). SDCC output .bin blobs land in build/usr/ with the other build artifacts instead of littering the source dir; programs.asm INCBINs them from there. Byte-identical ROM.