r (let x = 0; x < demoCanvas.width; x++) {
          for (let y = 0; y < demoCanvas.height; y++) {
            const r = Math.floor((x / demoCanvas.width) * 256);
            const g = Math.floor((y / demoCanvas.height) * 256);
            const b = Math.floor(
              ((x + y) / (demoCanvas.width + demoCanvas.height)) * 256,
            );
            ctx.fillStyle = `rgb(${r},${g},${b})`;
            ctx.fillRect(x, y, 1, 1);
          }
        }

        log("AGA Mode: HAM8, 256K colors from 16.7M