CPCWiki forum

General Category => Technical Support - Software related => Topic started by: thomas on 08:17, 02 May 21

Title: Running CPM+ software with M4
Post by: thomas on 08:17, 02 May 21
Hello!
Feeling a bit stupid but I cannot figure how to start a CPM program for example Infocom adventures with a M4 and no (!) disk drive.

The two CPM roms are in slot 2+3. When I try to start a program, i. e.
'ems,"lurkingh.com
I'll get a drive not ready error. No matter if I navigate into the dsk "folder" or extract the disk via |dskx.

Any ideas? Thank you!

- thomas
Title: Re: Running CPM+ software with M4
Post by: pelrun on 10:00, 02 May 21
The M4 doesn't replicate the drive hardware, instead it patches the AMSDOS firmware to intercept file operations and provide the desired data.


CP/M has it's own BIOS routines that talk directly to the hardware. That means none of the trickery done for AMSDOS is available and instead it's as if the M4 doesn't exist.


Of course, that doesn't mean CP/M can't be patched to recognise the M4, it's just not been done yet. For example, that's how the Dk'Tronics Silicon Disk works with CP/M (see https://www.seasip.info/Cpm/cpm3semi.html).
Title: Re: Running CPM+ software with M4
Post by: thomas on 10:02, 02 May 21
thank you pelrun. That means it is not possible at the moment to run CP/M software from the M4 sd at the moment, but only from a real disk -- ok!

- thomas
Title: Re: Running CPM+ software with M4
Post by: pelrun on 10:09, 02 May 21
That's why many of us have both the M4 and a Gotek (running FlashFloppy or HxC). Since the Gotek behaves as if it was real drive hardware, it has the benefit of nearly perfect compatibility with all CPC software, but isn't any faster than an original drive.
Title: Re: Running CPM+ software with M4
Post by: thomas on 10:31, 02 May 21
finally a reason to get a Gotek for my 6128! :-)


Title: Re: Running CPM+ software with M4
Post by: SkulleateR on 13:00, 02 May 21
Or a USIfAC II ... Don't know about cp/m plus but 2.2 runs Fine  ;D
Title: Re: Running CPM+ software with M4
Post by: thomas on 14:40, 02 May 21
I'm still waiting for ikonsgr getting a USIfAC II ready for me ...  :D
And I would prefer not to modify the 6128, though a Gotek is reversible of course.
Title: Re: Running CPM+ software with M4
Post by: GUNHED on 19:10, 02 May 21
If somebody wants to adapt CPCs CP/M Plus for M4 I can provide the complete source code. But the source will not be released to the public.
Title: Re: Running CPM+ software with M4
Post by: Gryzor on 19:11, 02 May 21
Is it a copyright thing?
Title: Re: Running CPM+ software with M4
Post by: GUNHED on 19:13, 02 May 21
Yes. Parts are from Dobbertin (hard disc part and memory disc part), I'm not allowed to spread. But as long as just somebody gets a DSK it should be fine.
Title: Re: Running CPM+ software with M4
Post by: caver99 on 16:38, 17 March 22
so is there a patch to run cpm from/with USIfAC II OR X-Mass?
Title: Re: Running CPM+ software with M4
Post by: Mark_wllms on 17:43, 17 March 22
As mentioned earlier, CP/M 2.2 Disk Images work fine with USIFAC II with no patching. This is the only version that will run on an unexpanded 464 anyway.

The best version for the 6128 is the Dobbertin 63K CPM 2.2, which uses the additional RAM to provide a 63K TPA, 2K more than CPM+. See this thread (https://www.cpcwiki.eu/forum/applications/increasing-tpa-in-cpm-plus/) for details.

There isn't any CP/M version patched to use the USB Hardrive, so you are limited to the size of the disk image at the moment.
Title: Re: Running CPM+ software with M4
Post by: d_kef on 19:49, 17 March 22
Well maybe this (https://www.cpcwiki.eu/forum/applications/hdcpm-boot-and-run-cpm-plus-from-hard-disk/) suits your needs.
You can boot CP/M+ from the hard disk/SD card and run existing CP/M software from the hard disk/SD card or the standard CPC floppy drives, gotek, etc.
For now it supports SF2 and X-MASS but I'll soon release the new version that also supports the M4 board and I hope that I'll add USIfAC II support in the next version.

d_kef
Title: Re: Running CPM+ software with M4
Post by: Mark_wllms on 21:29, 25 June 22
Quote from: d_kef on 19:49, 17 March 22Well maybe this (https://www.cpcwiki.eu/forum/applications/hdcpm-boot-and-run-cpm-plus-from-hard-disk/) suits your needs.
You can boot CP/M+ from the hard disk/SD card and run existing CP/M software from the hard disk/SD card or the standard CPC floppy drives, gotek, etc.
For now it supports SF2 and X-MASS but I'll soon release the new version that also supports the M4 board and I hope that I'll add USIfAC II support in the next version.

d_kef

The great news is that HDCPM will now boot CP/M Plus on the USIFAC II and M4 from a simple binary file, with no ROM needed. It works and it is fast and simple.
Powered by SMFPacks Menu Editor Mod