.d64 disk image handling
npm install @mich-cook/d64-utilsattach(filename)
* loads file contents into instance from filename.
* does not (will not?) support taking a buffer or a network location
validate()
* does some very basic validation of the disk
list()
* displays directory listing of the disk
``javascript
const c1541 = require('./c1541.js');
const disk = new c1541();
disk.attach('./myDisk.d64');
console.log(Disk is valid: ${disk.validate()});BAM info:
console.log();
console.log(disk.getBAMInfo());
const listing = disk.list();
if (listing !== null) { listing.forEach(l => console.log(l)); }
``