diff options
| -rw-r--r-- | README.md | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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. +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). -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×). Resize the terminal and `SIGWINCH` triggers a full repaint. ## Build & run |
