PET index - Drive utilities
(C) 2010-2017 André Fachat
This page contains some small utilities for the Commodore disk drives.
These two programs read out the drive ROMs. There is one - simple - program to read out the DOS ROM. It actually reads the upper 16k. Another more complicated one is used to read out the FDC ROM. For this purpose it transfers some code into the drive buffer and lets it execute by the FDC CPU with the $E0 opcode. The FDC CPU then copies its ROM into other drive buffers so that they can be read by the readout programm.
Program | Binary | Listing | Comments |
---|---|---|---|
Read FDC ROM | readfdc | readfdc.lst | Read the FDC ROM from a dual processor drive. As after the reading the FDC CPU is stuck in an endless loop, the drive must be reset during execution. |
Read DOS ROM | readdos | readdos.lst | Read the upper 16k of the DOS CPU address space from a dual processor drive. This includes the ROM image and is large enough for all dual CPU DOS versions. |
Comments on programs
In the meantime I have received a comment on the program to read the FDC ROM. I cannot investigate it further, so I just put it here for reference.
@André : My "important" changes were at lines 20 to 23, to try to catch the lower 1k, may be did I messed up something ? 20 data 162,0,189,0,248,157,0,12 21 data 189,0,249,157,0,13 22 data 189,0,250,157,0,14 23 data 189,0,251,157,0,15 Hervé
These programmes can be used to read disks into disk images and write the images back into disks. These files are linked from the CBM archive (except for the listings).
Program | Binary | Listing | Comments |
---|---|---|---|
Read image | dsk2file.prg | dsk2file.lst | A BASIC/ML program to convert any CBM disk to a dump file (like VC1541 disk to .d64) for a PET or C64. The dump file should be written to a device larger than the dumped disk (although the program can be tailored to split an image). |
Write image | file2dsk.prg | file2dsk.lst | A BASIC/ML program to restore any CBM disk from a fitting disk image (like .d64 restore to a VC1541). |
Read/Write disk image | emutil.prg | emutil.lst | EMUTIL is a disk image archiver for the Commodore 64 and 16K+ CBM/PET computers. It supports all known Commodore disk drives, of all capacities. It also supports all CMD HD and RL Native partitions. Programmed by Bo Zimmerman and André Fachat.(See also emutil.readme) |
Program | Binary | Listing | Comments |
---|---|---|---|
diskcopy | diskcopy.zip | Diskcopy by Ruud Baltissen copies a disk from one drive to another. |
Return to Homepage
Last modified: 2017-09-29