Author Topic: Running CPM+ software with M4  (Read 1326 times)

0 Members and 1 Guest are viewing this topic.

Offline thomas

  • CPC664
  • ***
  • Posts: 51
  • Country: de
  • Liked: 20
  • Likes Given: 39
Running CPM+ software with M4
« on: 10: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
« Last Edit: 10:20, 02 May 21 by thomas »

Offline pelrun

  • Supporter
  • 6128 Plus
  • *
  • Posts: 781
  • Country: au
    • index.php?action=treasury
  • Liked: 455
  • Likes Given: 277
Re: Running CPM+ software with M4
« Reply #1 on: 12: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).

Offline thomas

  • CPC664
  • ***
  • Posts: 51
  • Country: de
  • Liked: 20
  • Likes Given: 39
Re: Running CPM+ software with M4
« Reply #2 on: 12: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

Offline pelrun

  • Supporter
  • 6128 Plus
  • *
  • Posts: 781
  • Country: au
    • index.php?action=treasury
  • Liked: 455
  • Likes Given: 277
Re: Running CPM+ software with M4
« Reply #3 on: 12: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.

Offline thomas

  • CPC664
  • ***
  • Posts: 51
  • Country: de
  • Liked: 20
  • Likes Given: 39
Re: Running CPM+ software with M4
« Reply #4 on: 12:31, 02 May 21 »
finally a reason to get a Gotek for my 6128! :-)



Online SkulleateR

  • 464 Plus
  • *****
  • Posts: 460
  • Country: de
  • Liked: 225
  • Likes Given: 129
Re: Running CPM+ software with M4
« Reply #5 on: 15:00, 02 May 21 »
Or a USIfAC II ... Don't know about cp/m plus but 2.2 runs Fine  ;D

Offline thomas

  • CPC664
  • ***
  • Posts: 51
  • Country: de
  • Liked: 20
  • Likes Given: 39
Re: Running CPM+ software with M4
« Reply #6 on: 16: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.
« Last Edit: 17:02, 02 May 21 by thomas »

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 2.795
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 1300
  • Likes Given: 3034
Re: Running CPM+ software with M4
« Reply #7 on: 21: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.
http://futureos.de --> Get the revolutionary FutureOS (Update: 2021.01.24)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.07.15)

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 17.010
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 4086
  • Likes Given: 7383
Re: Running CPM+ software with M4
« Reply #8 on: 21:11, 02 May 21 »
Is it a copyright thing?

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 2.795
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 1300
  • Likes Given: 3034
Re: Running CPM+ software with M4
« Reply #9 on: 21: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.
http://futureos.de --> Get the revolutionary FutureOS (Update: 2021.01.24)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.07.15)