Post by Andy Norrie - Scotland.I have been trying to get a Digital Research disks from images.
File type of VFD works fine but I have been unable to get any
IMG files to work. I have tried RAWRITE, SAMDISK and WINIMAGE
but winimage says the file is invalid at the point I try to
write to the diskette. The other two write just fine but
when I tried to boot I get error msg as unable to boot.
Nearly all the diskette files available are in IMG format.
I cant believe that all these files are "bad" so can anyone
give me some tips. The first CP/M I used was 1.4 but I cant
remember much about it now !
Thanks, Andy
Andy,
I can offer you several suggestions. Look for CPMTOOLS and
22DISK on the network. You might need to use a hex+ascii dump
utility on the .img files to determine their internal format.
Type '.img' files are actually just 'RAW' binary sector dumps.
The sector size and sequence information are not given within
the .img file, and must be known/determined by other means.
Publishing a list of your .img file names and sizes may allow
someone here to help you find that info. A dump of the first
20K, or so, of a .img file may reveal clues to sector and
track size, skews, directory parameters, file names, etc.
To use 22DISK you may need an actual DOS system (FreeDOS,
etc.), not just a 16 bit Win 32 .cmd shell. From Linux you
might be able to use 'dd' on a properly formatted diskette
(with the right command-line options).
Some CP/M (2.2/3.0) emulators will let you connect a .img
file in place of a floppy. With the proper CBIOS parameters,
the emulator could let you extract files, do raw sector
exams/dumps, etc. from the .img file.
What system are you trying to 'boot' from the resulting
diskettes? Are your floppy drives and the diskette info in
the .img files the same size/type? Are you trying to boot
CP/M-86 from a CP/M-68K data-only disk, etc.? Some DOS
ROM BIOS's will not boot from a CP/M-86 diskette that does
not use the 'AA55' signature at the end of the 1st sector.
A bootable diskette for one system (with its particular set
of hardware and I/O address configuration) probably will
not boot on another system.
You might want to look-up my post on making a bootable
Kaypro diskette, sent to comp.os.cpm on 8/3/2005.