Getting Started
First Run
- Launch the emulator: Double-click
hemu(orhemu.exeon Windows) - The splash screen appears with instructions
- Load a ROM: Click File > Open ROM or press Ctrl+O to open the file browser
- Select your game file:
.nesfor NES.smc/.sfcfor SNES.z64/.n64/.v64for N64.smsfor Sega Master System.a26/.binfor Atari 2600.gb/.gbcfor Game Boy.com/.exefor PC/DOS
- Start playing! Use the controls listed in the Controls section
Alternatively, you can provide a ROM path as an argument:
./hemu path/to/your/game.nes
The emulator will remember your last ROM and automatically load it next time you start.
Advanced Command-Line Options
PC/XT Slot-Based Loading
For PC/XT emulation, you can specify disk images for specific drive slots:
# Load PC with a floppy disk in drive A:
./hemu --slot2 bootdisk.img
# Load PC with both floppy and hard drive
./hemu --slot2 boot.img --slot4 harddrive.img
# Optional: Load custom BIOS ROM (built-in BIOS used if not specified)
./hemu --slot1 custom_bios.bin --slot2 floppy.img --slot4 hdd.img
Slot Mapping for PC/XT:
--slot1 <file>: BIOS ROM (optional - built-in BIOS used if not specified)--slot2 <file>: Floppy Drive A:--slot3 <file>: Floppy Drive B:--slot4 <file>: Hard Drive C:--slot5 <file>: Reserved for future use
Creating Blank Disk Images
Create blank floppy or hard drive images for use with PC/XT emulation:
# Create a 1.44MB floppy disk
./hemu --create-blank-disk mydisk.img 1.44m
# Create a 20MB hard drive
./hemu --create-blank-disk harddrive.img 20m
Supported Disk Formats:
- Floppy:
360k,720k,1.2m,1.44m - Hard Drive:
10m,20m,40m
Other Options
--keep-logs: Preserve debug logging environment variables (for development)