lab

KoalaWeb

lab · software · hardware · Commodore 64 · 6502 · KoalaPainter

KoalaWeb is a graphical web browser for a real 1983 Commodore 64. A Linux rendering server fetches live pages, converts them into native 160x200 16-color VIC-II multicolor bitmaps, and streams them over the ESP32-S3 IEC bridge built for Studio Disk.

Rather than shrinking desktop screenshots into unreadable mud, the server extracts structured content and lays it out directly for the C64 cell grid. Photos are quantized in Oklab color space using Pair-Bayer dithering. Static sites such as NRK, Wikipedia (with full UTF-8 and non-ASCII URL handling) and this site run through a direct HTTP fetcher. JavaScript heavy apps like Google search, Google Images and ChatGPT run through a headless Chromium CDP backend, including a C64-rendered QR code for phone sign-in handoff and a full-screen black-background image viewer.

Real hardware speed and polish

On the 6502 side, scrolling shifts VIC-II RAM locally and streams only newly exposed 8-pixel row strips. Stage 2 replaces slow KERNAL IEC transfers with a cycle-exact 2-bit fast IEC burst receiver on Device 17 SA 3 (around 10 to 11 KB/s), 6502 PackBits RLE compression (cutting 56 to 65 percent of wire bytes), and pipelined streaming updates with a single final ACK. Pages keep a pure black background and black border across scrolls, and pressing Q or RUN/STOP exits cleanly back to BASIC READY..

Bidirectional 1983 KoalaPainter and KoalaPad

Pressing E on any web page or full-screen Google Image result exports the current Koala bitmap and chains directly into authentic 1983 KoalaPainter. After discovering our disk copy of KoalaPainter was a 1984 ANTIRAM joystick-only crack, we patched 6502 hooks above the binary ($4600 to $4EFF) to restore true Control Port 1 SID POTX/POTY analog paddle reading and left/right KoalaPad buttons. Drawings edited on the real 1983 touch pad save straight back to Studio Disk Device 8.

Full bench notes in Browsing the web on a 1983 Commodore 64.