Overview
Thedevcpc run command launches your project in RetroVirtualMachine emulator, supporting both DSK (disk) and CDT (tape) media with automatic detection and flexible override options.
Syntax
Options
Force execution from DSK (disk). Ignores
RUN_MODE configuration.Force execution from CDT (tape). Ignores
RUN_MODE configuration.Configuration
Configure indevcpc.conf:
Platform-Specific RVM_PATH
Execution Modes
RUN_MODE: auto
Automatically detects which media to use:- If
CDTandCDT_FILESare configured and CDT exists → uses CDT - Otherwise → uses DSK
RUN_MODE: dsk
Always uses DSK (disk):- Mounts DSK image
- Auto-executes
RUN_FILEif configured - Direct file access
RUN_MODE: cdt
Always uses CDT (tape):- Mounts CDT image
- Auto-plays tape
- Executes
RUN" - Sequential loading
Override Options
Command-line flags overrideRUN_MODE:
DSK Execution
When running from DSK:- Mounts DSK as drive A:
- Auto-executes
RUN_FILEif configured - Fast random access to files
- Works on all CPC models
CDT Execution
When running from CDT:CPC 464 (Tape-only model)
- Mounts CDT as tape
-pflag auto-plays tape- Executes
RUN" - Sequential loading from tape
CPC 664/6128 (Disk models)
- Uses
|TAPEcommand to switch from disk to tape - Then executes
RUN" -pflag auto-plays tape- Sequential loading from tape
Output Example
Session Management
The command automatically:- Detects running RetroVirtualMachine sessions
- Closes previous sessions
- Launches new session with correct media
- Runs in background
Media Comparison
| Feature | DSK (Disk) | CDT (Tape) |
|---|---|---|
| Speed | Fast (instant access) | Slow (sequential) |
| Loading | Direct file access | Must load in order |
| Authenticity | Modern convenience | Period-accurate |
| File Order | Doesn’t matter | Critical |
| Auto-execute | Via RUN_FILE | Via RUN" |
| CPC Models | All models | All models (auto-adapts) |
Workflow Examples
Quick Test (DSK)
Tape Testing (CDT)
Auto Mode
Development Loop
Requirements
Error Handling
CPC Model Selection
Choose the appropriate model:| Model | Type | Features | Use Case |
|---|---|---|---|
| 464 | Tape-only | 64KB RAM, no disk | Tape games, authentic experience |
| 664 | Disk | 64KB RAM, disk drive | Disk games, faster loading |
| 6128 | Disk | 128KB RAM, disk drive | Advanced games, banking |
Background Execution
The emulator runs in background:Related Commands
devcpc build- Build before runningdevcpc clean- Clean before rebuildingdevcpc info- Show emulator configuration