Skip to content

CP/M 2.2 port for Agon Light that didn't require custom firmware. Use your Agon fully and have access to CP/M system.

License

Notifications You must be signed in to change notification settings

nihirash/Agon-CPM2.2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CP/M 2.2 for Agon Light

ko-fi

This is a port of CP/M 2.2 for Agon Light(and Agon Light 2) that doesn't require reflashing VDP.

It starts directly from MOS as application(exit only via RESET) and uses MOS's filesystem drivers for working with drive images.

GIF screen capture

Usage

Create some directory on Agon's SD card, put cpm.bin and disk images(TO THE SAME DIRECTORY) that will be named cpma.dsk, cpmb.dsk etc, drives from A: to P: are supported.

Load and run binary and you'll be in CP/M's wonderland.

Working with images

I'm using cpmtools for working with CP/M drive images.

Disk definition nihirash can be copied from diskdefs file (in disks directory) for use with cpmtools.

For new drives better use template.dsk(make copy with proper naming and copy your own files to it).

Development

Make sure that you really want it.

Build process have 2 stages. Building CP/M itself(sources directory) - you'll need sjasmplus. As result - you'll get cpm.sys file that should be placed to directory with bootstrap source.

Bootstrap can be built with ez80asm. Better use latest version.

As result - you'll got cpm.bin executable that will include bootstrap and system both.

Important remarks

BIOS and CP/M core should be aligned by 256 bytes.

If you'll make some changes in code - make sure that bios starts from 0xXX00 address. In other case - you'll die until you find issue why software got broken.

All terminal issues caused by current VDP implementation. They can be fixed soon.

Licensing

CP/M itself opensourced and free for redistribution.

My parts of code licensed as usual under Coffeeware License.