André's 8-bit pages
Thankfully hosted by 6502.org.
(by Google)

PET index - Drive utilities

This page contains some small utilities for the Commodore disk drives.

  •  
    2017-09-29 Added comment on readfdc
  •  
    2010-01-04 Started this page

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.

ProgramBinaryListingComments
Read FDC ROMreadfdcreadfdc.lstRead 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 ROMreaddosreaddos.lstRead 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).

ProgramBinaryListingComments
Read imagedsk2file.prgdsk2file.lstA 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 imagefile2dsk.prgfile2dsk.lstA BASIC/ML program to restore any CBM disk from a fitting disk image (like .d64 restore to a VC1541).
Read/Write disk imageemutil.prgemutil.lstEMUTIL 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)
ProgramBinaryListingComments
diskcopydiskcopy.zipDiskcopy by Ruud Baltissen copies a disk from one drive to another.

Return to Homepage

Last modified: 2017-09-29
follow

Follow my 8-bit tweets on Mastodon (In new window) or Bluesky

discuss

Discuss my site on this 6502.org forum thread

(Forum registration required to post)

hot!

Dive into the retro feeling and build yourself a Micro-PET or a Multi-board Commodore 4032 replica

Need more speed? Speed up your 6502 computer with this 10 MHz 6502 CPU accelerator board

Interested in electronics design? Look at the design lesson I got from Bil Herd, the hardware designer of the C128

Want 64bit? - pimp the 6502 with the 65k processor design!