From 9e7d5f6e5e01b7473b84bc3449d7f8e0f78e7045 Mon Sep 17 00:00:00 2001 From: user Date: Sat, 18 Jul 2026 20:41:27 +0200 Subject: term: 7-color terminal (per-glyph fg+bg) + ANSI escapes; colorize irc 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fbdf10a..19de12e 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ $(BUILD)/%.o: src/%.asm | $(BUILD) # $(BUILD)/usr and INCBIN'd by programs.asm PROGS := chello echo true false uname pid cat wc head args \ ls save rm sh ps kill spin blk mkdir count ptest necho \ - wget chat netd ping nslookup dhcp irc uptime + wget chat netd ping nslookup dhcp irc uptime ansi CBLOBS := $(patsubst %,$(BUILD)/usr/%.bin,$(PROGS)) $(BUILD)/programs.o: $(CBLOBS) -- cgit v1.3.1-sl0p