From d1a5eaf27111e08a689910f4a2c195f8ba5f05f2 Mon Sep 17 00:00:00 2001 From: gbc dev Date: Fri, 17 Jul 2026 01:12:27 +0200 Subject: readme: mention sixel in the intro, drop the diffing brag --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1bb1369..7b9c589 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ # sl0pboy — a Game Boy Color emulator that lives in your terminal A from-scratch GB / GBC emulator in plain C11 that paints straight to the -terminal — no window, no GPU, just truecolor ANSI and the upper-half-block -trick (`▀`): every character cell = two stacked pixels (fg on top, bg on -bottom). That squeezes the 160×144 screen into 160×72 cells. - -To keep your terminal from crying, it only emits SGR escapes when a color -changes, and it **diffs frames** — only redrawing cells that moved (skipping -unchanged runs with `ESC[row;colH`). A static screen writes *nothing* after -frame one; on acid2 that dropped output from ~7.1 MB to ~65 KB over 2 s (≈108×). +terminal — no window, no GPU. Two ways to draw it: + +- **half-blocks** (the default): truecolor ANSI + the upper-half-block trick + (`▀`), where every character cell = two stacked pixels (fg on top, bg on + bottom), squeezing the 160×144 screen into 160×72 cells. Works anywhere with + truecolor. +- **sixel** (`--sixel`): real pixels on terminals that speak it (see below). + Resize the terminal and `SIGWINCH` triggers a full repaint. ## Build & run -- cgit v1.3.1-sl0p