Overview
DevCPC provides a simple command to create new projects with a complete structure and configuration. You can choose from multiple templates to start with different development approaches.Creating a New Project
Use thedevcpc new command to create a new project:
Example
Project Templates
When creating a project, you can select from three templates:8BP Template (Default)
For developing games with the 8BP library:- 8BP assembly structure
- Example
make_all_mygame.asm - Pre-configured for BUILD_LEVEL support
- Sprite and screen asset folders
ASM Template
For pure assembly projects without 8BP:- Basic assembly structure
- ABASM configuration
- No BUILD_LEVEL (direct assembly)
BASIC Template
For BASIC development:- BASIC file structure
- Example loader program
- DSK/CDT configuration
Generated Structure
After runningdevcpc new, the following structure is created:
Created Files
devcpc.conf
The main configuration file with pre-configured settings:README.md
Project documentation with:- Quick start instructions
- Build commands
- Configuration examples
- Usage guidelines
.gitignore
Pre-configured to ignore:obj/- Generated object filesdist/- Generated DSK/CDT/CPR files*.backup- Backup files*.bak- Temporary files
Directory Structure Explained
Source Directories
Generated Directories
Next Steps
After creating your project:- Configure - Edit
devcpc.conffor your needs - Add Code - Place your ASM/BASIC files in appropriate directories
- Add Assets - Add PNG sprites and screens to
assets/ - Build - Run
devcpc buildto compile - Test - Use
devcpc runto test in emulator
Verification
Verify your project structure:Common Configurations
8BP Game Project
Pure ASM Project
BASIC with Graphics
See Also
- Compiling Code - Build your project
- Graphics Conversion - Convert PNG sprites
- Disk Images - Create DSK files