  const cpuStatus = document.getElementById("cpu-status");
      const gpuStatus = document.getElementById("gpu-status");
      const colorStatus = document.getElementById("color-status");
      const demoCanvas = document.getElementById("demo-canvas");
      const ctx = demoCanvas.getContext("2d");

      let currentModule = "";
      let compatMode = "hdr";

      function log(message) {
        const logEntry = document.createElement("div");
        logEntry.innerHTML = `${message}`;
        emulatorOutp