   emulatorOutput.innerHTML = "";
        log(`Displaying documentation for: ${topic}`);

        switch (topic) {
          case "architecture":
            log("Project Manhattan SoC Architecture");
            log("- 64-bit CPU: 4GHz, MOS 6510 compatible with extensions");
            log("- 512-bit GPU: 17GHz, multi-mode compatibility");
            log("- Unified Memory: Up to 1.797693134862316e+308 bytes");
            log("- Advanced Color Management: HDR capable");
            break;
          case 