In the interest of affecting the TIOBE index, even an eensy weensy bit, I've started a topic on my blog about parsing those neat old Commodore 1541 disk images using Perl:

Parsing D64 images with Perl

and

Parsing D64 images with Perl - reading file block chains