Overview
Emulator settings allow you to test your project directly from DevCPC using thedevcpc run command with RetroVirtualMachine.
Only RetroVirtualMachine v2.0 BETA-1 R7 (10/07/2019) is supported. This is the only version with development features enabled.Download from: RetroVirtualMachine
Basic Configuration
RVM_PATH
Path to the RetroVirtualMachine executable.devcpc.conf
- Type: Absolute path to executable
- Required for:
devcpc runcommand - Platform-specific: Use the appropriate path for your OS
CPC Model Selection
CPC_MODEL
Amstrad CPC model to emulate.devcpc.conf
- Type: Integer
- Options:
464,664,6128 - Default: 464
| Model | RAM | Disk Drive | Tape | Notes |
|---|---|---|---|---|
| 464 | 64KB | ❌ No | ✅ Yes | Original model, tape only |
| 664 | 64KB | ✅ Yes | ✅ Yes | With built-in disk drive |
| 6128 | 128KB | ✅ Yes | ✅ Yes | Enhanced model, 128KB RAM |
Execution Modes
RUN_MODE
Controls whether to run from disk (DSK) or tape (CDT).devcpc.conf
- Type: String
- Options:
"auto","dsk","cdt" - Default:
"auto"
| Mode | Description | Behavior |
|---|---|---|
auto | Auto-detect | Uses CDT if CDT and CDT_FILES are configured, otherwise DSK |
dsk | Force disk | Always runs from DSK image |
cdt | Force tape | Always runs from CDT image |
RUN_FILE
File to auto-execute when running in DSK mode.devcpc.conf
- Type: Filename (without path)
- Optional: Leave empty for manual loading
- Applies to: DSK mode only (ignored in CDT mode)
- Example values:
"8BP0.BIN","LOADER.BAS","GAME.BIN"
Execution Behavior
DSK Mode
When running from disk:- Closes any existing RVM sessions
- Launches RVM with the specified CPC model
- Mounts the DSK image
- If
RUN_FILEis set: - If
RUN_FILEis empty: drops to BASIC prompt
CDT Mode
When running from tape:- Closes any existing RVM sessions
- Launches RVM with the specified CPC model
- Mounts the CDT image
- On CPC 664/6128: Automatically switches to tape with
|TAPE - Executes
RUN""to load the first file - Auto-play is enabled (tape runs automatically)
DevCPC automatically handles the
|TAPE command on disk-based models (664/6128) when running CDT files.Complete Examples
Example 1: DSK with Auto-Execution
devcpc.conf
Example 2: CDT with Tape Loading
devcpc.conf
Example 3: Auto-Detect Mode
devcpc.conf
Example 4: Manual Loading
devcpc.conf
Platform-Specific Examples
macOS (Intel)
devcpc.conf
macOS (Apple Silicon)
devcpc.conf
Linux (Ubuntu/Debian)
devcpc.conf
Windows WSL (Ubuntu)
devcpc.conf
Troubleshooting
RVM Not Found
Error:- Verify RVM is installed
- Check the path is correct:
- Update
RVM_PATHindevcpc.conf
Wrong RVM Version
Issue: Development features not available Solution: Download v2.0 BETA-1 R7 (10/07/2019) specifically. Later versions removed development APIs.CDT Not Loading
Issue: Tape doesn’t auto-load Solution:- Verify
CDT_FILESis configured - Check files are in correct order
- Ensure
RUN_MODE="cdt"orRUN_MODE="auto"with CDT configured
DSK Not Executing
Issue: Game doesn’t start automatically Solution:- Set
RUN_FILEindevcpc.conf - Verify the file exists in the DSK:
Tips
See Also
- Project Settings - CDT and CPR configuration
- Build Command - Compilation process
- Run Command - Execution details