Markdown Converter
Agent skill for markdown-converter
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
./launch.sh - Interactive menu-driven launcher for VMs and ISOs./run-mac.sh --config <vm_config_file> - Launch a specific VM configuration./run-mac.sh --config <vm_config_file> --iso <iso_file> - Launch VM with attached ISO./run-mac.sh --config <vm_config_file> --iso <iso_file> --boot-from-cd - Boot from CD/ISO./run-mac.sh --create-config <vm_name> - Create new VM configuration interactively with optional default installer selection./iso-downloader.sh - Interactive downloader for operating systems and software from the database"delivery": "shared" for direct downloads to the shared disk systemiso/custom-software.json to extend the available downloads./mount-shared.sh - Mount shared disk on host for file transfer./mount-shared.sh -u - Unmount shared diskRequired tools:
qemu-system-m68k, qemu-system-ppc, qemu-img, jq, curl, unzip, hfsprogs (Ubuntu) or hfsutils (macOS)
The project provides a complete QEMU-based classic Macintosh emulation environment supporting two architectures:
m68k Architecture (Macintosh Quadra):
qemu-system-m68k with q800 machine typeroms/800.ROM (auto-downloaded on first run)PPC Architecture (PowerMac G4):
qemu-system-ppc with mac99 machine typerun-mac.sh: Core VM runner with architecture-specific QEMU argument building and an integrated interactive launcher.iso-downloader.sh: Software acquisition from JSON databasevms/: Directory containing VM configurations and disk imagesiso/: Directory for ISO files and software databaseroms/: Directory for ROM files (auto-downloaded as needed)shared/: Cross-VM shared disk directory (auto-created)The project includes 4 pre-configured VMs ready for immediate use:
PowerPC VMs:
vms/power_mac_g4_os9/ - PowerMac G4 with Mac OS 9.2.2 (DEFAULT_INSTALLER="macos922")vms/power_mac_g4_tiger/ - PowerMac G4 with Mac OS X Tiger (DEFAULT_INSTALLER="macos_x_tiger")vms/power_mac_g4_leopard/ - PowerMac G4 with Mac OS X Leopard (DEFAULT_INSTALLER="macos_x_leopard")68k VM:
vms/68k_quadra_800/ - Quadra 800 with classic Mac OS (DEFAULT_INSTALLER="apple_legacy_recovery")All default VMs include automatic installer setup - first boot downloads and configures the OS, subsequent boots use the hard drive.
VM configs are bash files defining variables:
ARCH: "m68k" or "ppc"MACHINE_TYPE: QEMU machine typeRAM_SIZE: Memory allocationHD_SIZE: Disk size for new VMsHD_IMAGE: Path to disk imageSHARED_SCSI_ID: SCSI ID for shared disk (m68k only, defaults to 4)DEFAULT_INSTALLER: Optional installer key for first-run automatic setupDEFAULT_INSTALLER automatically download and configure installer on first bootmount-shared.sh script at /tmp/qemu-shared"delivery": "shared" downloads directly to shared diskQemuMac automatically applies performance optimizations without requiring configuration:
Storage I/O Optimization:
cache=writeback for 50-80% faster disk operationsaio=threads backend for universal compatibilitydetect-zeroes=on for space-efficient storageCPU Model Accuracy:
m68040 CPU model (authentic Quadra 800 processor)7400_v2.9 CPU model (authentic PowerMac G4 processor)Implementation Details:
detect_aio_backend() function automatically selects compatible AIO backend