How to "import" outside files into disk images
How to "import" outside files into disk images
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.
Re: How to "import" outside files into disk images
You could try Winimage: http://www.winimage.com/download.htm
- JohnElliott
- Posts: 113
- Joined: Sun 31 Jan, 2016 7:29 pm
Re: How to "import" outside files into disk images
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
and to extract again, use
Code: Select all
cpmcp -f ibmpc-514ss diskimage file 0:
Code: Select all
cpmcp -f ibmpc-514ss diskimage 0:file .
- JohnElliott
- Posts: 113
- Joined: Sun 31 Jan, 2016 7:29 pm
Re: How to "import" outside files into disk images
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.
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.