ut.appendChild(logEntry);
        emulatorOutput.scrollTop = emulatorOutput.scrollHeight;
      }

      function loadModule(module) {
        currentModule = module;
        emulatorOutput.innerHTML = "";
        log(`Loading ${module.toUpperCase()} module...`);

        switch (module) {
          case "cpu":
            log("MOS 6510 Compatible CPU Emulation");
            log("4GHz clock, 64-bit architecture");
            log("Type 6510 assembly code to execute");
            break;
          case "gpu