Posted: February 2012
Here's a small program that can explore and dump information from Commodore 64 D64 disk images. Currently it's possible to get a directory listing, a dump of the sectors for a directory listing, a dump of the BAM sector, dump a file to the local filesystem, and get a Commodore BASIC source code listing from a file.
Related Projects @mikekohn.net
I made a d64 image with the Vice Commodore 64 emulator. I made two little BASIC programs on it and used dump_d64 to view the contents like so:
dump_d64 $ ./dump_d64 -dir empty.d64 dump_d64 - Copyright 2012 by Michael Kohn Webpage: http://www.mikekohn.net/ Version: February 8, 2012 Opening empty.d64 ---------------- Disk DIR ----------------------- PRG TESTING 1 (17,0) PRG TESTING2 1 (17,1)
dump_d64 $ ./dump_d64 -list TESTING2 empty.d64 dump_d64 - Copyright 2012 by Michael Kohn Webpage: http://www.mikekohn.net/ Version: February 8, 2012 Opening empty.d64 start=2049 end=2083 10 FOR T=1 TO 10 20 POKE 53281, T 30 NEXT T
The BASIC file listing can output in HTML also which can show the PETASCII characters. To use this feature, Joe Davisson created a list of 256 GIF's from 0.gif to 255.gif that can display these chars. To get the package visit his website: http://joe.csoft.net/
Copyright 1997-2018 - Michael Kohn