RomWBW cpm3

492 views
Skip to first unread message

Derek Cooper

unread,
Mar 12, 2023, 11:54:24 AM3/12/23
to RC2014-Z80
Hello,

Does anyone have instructions for installing cpm3 ? I have tried to find the cpm3.sys file and cpm loader file. With no luck. I have tried to extract them from the HD image or FD image file but cpmtools will not read the image file? I've tried with the -f wbw_fd144 and others but non work.

I need to write the system tracks from the booted system, I don't have a CF card adapter in my computer.

Has anyone done this ?

Derek

Wayne Warthen

unread,
Mar 12, 2023, 3:39:21 PM3/12/23
to RC2014-Z80
Hi Derek,

Sure, I suggest the following:

You need 3 files from the distribution package.  Look in the Binary/CPM3 folder.  You want CPMLDR.SYS, CPM3BNK.SYS, and CCP.COM.  Boot to ROM Z-System on your RomWBW system and transfer those 3 files to your RAM Disk (via XModem, etc.).   You will need to know which drive letter has been assigned to your CP/M 3 slice -- ASSIGN command may help here. Assuming the desired CP/M 3 slice is assigned to drive F, do the following:

  • Use SYSCOPY to place CPMLDR.SYS on the boot track of your CP/M 3 slice.   The command would look like "B:SYSCOPY F:=A:CPMLDR.SYS".
  • Copy CPM3BNK.SYS to the CP/M 3 slice, but call it CPM3.SYS.  Something like "B:COPY A:CPM3BNK.SYS F:CPM3.SYS" would do this.
  • Copy CCP.COM to the CP/M 3 slice.  Something like "B:COPY A:CCP.COM F:" would do this.
That should to it and you should then be able to boot CP/M 3 by specifying the corresponding disk unit and slice from the loader prompt.
Below is a session log capturing this process in action.  Please let me know how you do.

Thanks,

Wayne


Loading Z-System...

CBIOS 
v3.2.0-rc.5   [WBW]

Formatting RAMDISK...

Configuring Drives...

        A:=MD0:0
        B:=MD1:0
        C:=PPIDE0:0
        D:=PPIDE0:1
        E:=PPIDE0:2
        F:=PPIDE0:3
        G:=PPIDE0:4
        H:=PPIDE0:5
        I:=PPIDE0:6
        J:=PPIDE0:7

        1513 Disk Buffer Bytes Free

ZSDOS v1.1, 54.0K TPA

B>a:
A>b:xm r cpmldr.sys

XMODEM v12.5 - 07/13/86
RomWBW, 30-May-2020 [WBW], HBIOS FastPath on COM0

Receiving: A0:CPMLDR.SYS
248k available for uploads
File open - ready to receive
To cancel: Ctrl-X, pause, Ctrl-X

Thanks for the upload

A>b:xm r cpm3bnk.sys

XMODEM v12.5 - 07/13/86
RomWBW, 30-May-2020 [WBW], HBIOS FastPath on COM0

Receiving: A0:CPM3BNK.SYS
242k available for uploads
File open - ready to receive
To cancel: Ctrl-X, pause, Ctrl-X

Thanks for the upload

A>b:xm r ccp.com

XMODEM v12.5 - 07/13/86
RomWBW, 30-May-2020 [WBW], HBIOS FastPath on COM0

Receiving: A0:CCP.COM
212k available for uploads
File open - ready to receive
To cancel: Ctrl-X, pause, Ctrl-X

Thanks for the upload

A>b:syscopy f:=cpmldr.sys

SYSCOPY v2.1 for RomWBW CP/M, 15-May-2020 (CP/M 2 Mode)
Copyright 2020, Wayne Warthen, GNU GPL v3

Transfer system image from A:CPMLDR.SYS to F: (Y/N)? y
Reading image... Writing image... Done

A>b:copy cpm3bnk.sys f:cpm3.sys
COPY  Version 1.73 (for ZSDOS)   2 Jul 2001
Copying A0:CPM3BNK .SYS to F0:CPM3    .SYS
 -> CPM3    .SYS  Replace  (Y/[N])? Y..Ok  Verify..Ok
 0 Errors
A>b:copy ccp.com f:
COPY  Version 1.73 (for ZSDOS)   2 Jul 2001
Copying A0:CCP     .COM to F0:
 -> CCP     .COM  Replace  (Y/[N])? Y..Ok  Verify..Ok
 0 Errors
A>boot

RC2014 [RCZ80_kio] Boot Loader

Boot [H=Help]: d

Disk Devices:

  Disk Unit 0 on MD0:
  Disk Unit 1 on MD1:
  Disk Unit 2 on IDE0:
  Disk Unit 3 on IDE1:
  Disk Unit 4 on PPIDE0:
  Disk Unit 5 on PPIDE1:

Boot [H=Help]: 4.3

Booting Disk Unit 4, Slice 3, Sector 0x0000C800...

Volume "Unlabeled" [0x0100-0x1000, entry @ 0x0100]...

CP/M V3.0 Loader
Copyright (C) 1998, Caldera Inc.

 BNKBIOS3 SPR  F600  0800
 BNKBIOS3 SPR  4500  3B00
 RESBDOS3 SPR  F000  0600
 BNKBDOS3 SPR  1700  2E00

 60K TPA

CP/M v3.0 [BANKED] for HBIOS v3.2.0-rc.5


Derek Cooper

unread,
Mar 13, 2023, 6:19:59 AM3/13/23
to RC2014-Z80
Thanks for that, it's more or less as I thought except for the CCP.COM.

Anyway I have looked for the files you said:=

"Look in the Binary/CPM3 folder.  You want CPMLDR.SYS, CPM3BNK.SYS, and CCP.COM"

I downloaded the last to distro releases,  RomWBW-v3.0.0-Package.zip and RomWBW-v3.0.1-Package.zip neither have the files in them, the CPM3 folder does not exist in the binary directory?

I can find things like cpmldr.asm in the build directory, do I need to assemble this file?

Thanks

Derek

Wayne Warthen

unread,
Mar 13, 2023, 12:24:57 PM3/13/23
to RC2014-Z80
On Monday, March 13, 2023 at 3:19:59 AM UTC-7 Derek Cooper wrote:
Anyway I have looked for the files you said:=

"Look in the Binary/CPM3 folder.  You want CPMLDR.SYS, CPM3BNK.SYS, and CCP.COM"

I downloaded the last to distro releases,  RomWBW-v3.0.0-Package.zip and RomWBW-v3.0.1-Package.zip neither have the files in them, the CPM3 folder does not exist in the binary directory?

I can find things like cpmldr.asm in the build directory, do I need to assemble this file?

Sorry Derek, my brain is stuck on the dev branch because of the upcoming stable release.  The location of the files I gave you is correct, but only in the development snapshot.  The stable releases are deficient in this regard.  That is why I changed things in the dev branch.

Anyway, yes, you are correct that you need to build the contents of the  Source/CPM3 directory in order to get these files.  Assuming Windows, open a command prompt in the Source\CPM3 directory and run "Build.cmd" from there.  This will just build the CPM3 binaries and the 3 files I specified will be created in the Source/CPM3 directory.

Sorry for my confusion.

Thanks,

Wayne

Derek Cooper

unread,
Mar 13, 2023, 3:07:54 PM3/13/23
to RC2014-Z80
Yeah Success, cpm3 booted under ROMWBW 3.01

Thanks Wayne.

Derek

Wayne Warthen

unread,
Mar 13, 2023, 10:34:56 PM3/13/23
to RC2014-Z80
Cool.

Tom Plano

unread,
Oct 12, 2023, 8:26:43 PM10/12/23
to RC2014-Z80
Sorry to necro-post but I a question related to these instructions as well as the documentation in the repo for creating boot-able images. Is CPMLDR.COM compatible with DS/HD drives? These are known good drives and the directory storage works fine but I cant seem to get cpm3 to boot off them. The official docs note 3.5inch 1.44MB drive format images and harddrive images, but thats it. Im wondering if there is some limitation that I dont know about or if I have some other bug.
I get as far as
>>>
CP/M V3.0 Loader
Copyright (C) 1998, Caldera Inc.

CPMLDR error:  failed to open CPM3.SYS
<<<
even though that file report fine when I boot cpm3 off the harddisk(created from romwbw images)
-Tom

Wayne Warthen

unread,
Oct 12, 2023, 9:04:40 PM10/12/23
to RC2014-Z80
Hi Tom,

Should work fine, but I haven't tried booting it on a floppy in a long time.  Let me test and let you know how I do.

Thanks,

Wayne 

Wayne Warthen

unread,
Oct 12, 2023, 9:47:36 PM10/12/23
to RC2014-Z80
Yeah, looks like something is amiss with the floppy boot of CP/M 3.  Sorry.

I will look at this tomorrow.

Thanks,

Wayne

Wayne Warthen

unread,
Oct 13, 2023, 2:07:18 PM10/13/23
to RC2014-Z80
I have checked in a fix for CP/M 3 booting.  This issue only applied to the dev branch.  The issue is fixed starting with RomWBW Development Snapshot v3.4.0-dev.9 which may be procured as usual from the RomWBW GitHub Releases page.

Thanks and credit to Tom Plano for finding this problem.

Thanks,

Wayne

Tom Plano

unread,
Oct 14, 2023, 3:34:49 PM10/14/23
to RC2014-Z80
Happy to confirm that this fix works. As an aside, I really need a CF reader for my PC. Updating all copies of tools and apps is a real pain otherwise, and its easy to miss things.

-Tom

Wayne Warthen

unread,
Oct 14, 2023, 4:51:42 PM10/14/23
to RC2014-Z80
On Saturday, October 14, 2023 at 12:34:49 PM UTC-7 Tom Plano wrote:
Happy to confirm that this fix works. As an aside, I really need a CF reader for my PC. Updating all copies of tools and apps is a real pain otherwise, and its easy to miss things.

Very happy to hear you confirmed this Tom.  Always good to get a second opinion on my testing!

Indeed, the manual update process is quite painful and error-prone.  A USB attached card reader for a PC/Mac/Linux box is about $15 on Amazon -- well worth it.

Thanks,

Wayne 
Reply all
Reply to author
Forward
0 new messages