User`s guide

27
Overwrite \cpmtools\diskdefs? (Yes/No/All): Y
1 file(s) copied.
Warning: Don't be tempted to edit the diskdefs file. The cpmtools package expects each line to end
with just a line-feed character (as in UNIX), and most Windows text editors will terminate each line
with carriage-return and line-feed (as in DOS and Windows). As a result, cpmtools will complain it
doesn't recognise disk formats, even though they are in the diskdefs file. I view this as a bug in
cpmtools.
To list the partition content, copy in a new file, and list it again :-
C:\ak\tmp>cpmls -fmemotech-type18 partition0.dat 0:a*.run
0:
alpha.run
astropac.run
C:\ak\tmp>cpmcp -f memotech-type18 partition0.dat AGROVATA.RUN 0:
C:\ak\tmp>cpmls -f memotech-type18 partition0.dat 0:a*.run
0:
agrovata.run
alpha.run
astropac.run
To write the partition back onto the SD Card, use :-
C:\ak\tmp>dd --filter=removable if=partition0.dat
of=\\?\Device\Harddisk4\Partition0 bs=8M seek=7
rawwrite dd for windows version 0.5.
Written by John Newbigin <jn@it.swin.edu.au>
This program is covered by the GPL. See copying.txt for details
1+0 records in
1+0 records out
Pay careful attention to the fact I use -filter=removable as a safety measure to protect against writing
to my harddisk, and the right of= value.
Also notice that the example has seek=7 meaning we actually wrote to partition 7, and so would
have to RECONFIG E:1F and DIR E: to see the files.