How to "import" outside files into disk images

Support and general discussion.
Post Reply
Luposian
Posts: 1
Joined: Sun 14 Jul, 2019 4:36 pm

How to "import" outside files into disk images

Post by Luposian »

I've got PCEm running with CP/M-86 1.1, but there are files I want to work with, in CP/M, that I can't figure out how to get into a blank disk image (say a 160kB) from Windows 10.
User avatar
te_lanus
Posts: 135
Joined: Tue 28 Jul, 2015 4:47 am

Re: How to "import" outside files into disk images

Post by te_lanus »

You could try Winimage: http://www.winimage.com/download.htm
User avatar
JohnElliott
Posts: 113
Joined: Sun 31 Jan, 2016 7:29 pm

Re: How to "import" outside files into disk images

Post by JohnElliott »

Winimage won't work for CP/M-86. cpmtools can access CP/M-86 disk images; you'll then need to replace its diskdefs file with the one from here. To copy a file in, use a command like

Code: Select all

cpmcp -f ibmpc-514ss diskimage file 0:
and to extract again, use

Code: Select all

cpmcp -f ibmpc-514ss diskimage 0:file .
User avatar
JohnElliott
Posts: 113
Joined: Sun 31 Jan, 2016 7:29 pm

Re: How to "import" outside files into disk images

Post by JohnElliott »

Alternatively you could put your files on a 360k DOS-format disk image and use a transfer program under emulation to get them onto a CP/M-format disk.

If you boot DOS Plus 1.2, that can natively access disks in 360k DOS and 160k CP/M formats, so you could transfer your files using COPY or any other utility.

Or you can boot from an MSDOS disk image and use the "FILE XFER UTILITIES" at http://www.cpm.z80.de/binary.html to copy files between DOS-format and CP/M-format disks.
Post Reply