pcjs/my_modules/diskdump
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jeff Parsons 024f9fccf8 "Fake" XDF disk support works now
What this means is that XDF disk images formatted as 80-track 23-sector-per-track images will work with XDF code that honors that format; however, I've not yet been able to test with "real" XDF disk images (ie, disk images created with DiskDump using the experimental --xdf flag).  "Real" XDF disk images almost certainly need more work (eg, setting all the sector IDs properly), but the groundwork has been laid.
2014-10-27 22:20:41 -07:00
..
bin Initial commit (a clone of the jsmachines project as of v1.15.3) 2014-09-27 14:52:57 -07:00
lib "Fake" XDF disk support works now 2014-10-27 22:20:41 -07:00
package.json Initial commit (a clone of the jsmachines project as of v1.15.3) 2014-09-27 14:52:57 -07:00
README.md Fixed 5170 diskette drive detection (40-track vs. 80-track drives) 2014-10-05 09:33:45 -07:00

DiskDump

Module (and command-line utility) for converting disk images to/from various formats (eg, JSON, commented JSON, and IMG files).

Building images from folders/files

I finally ported the code in convdisk.php that creates disk images from the contents of local files/folders, which you can now access via the DiskDump API.

For example:

http://www.pcjs.org/api/v1/dump?path=/apps/pc/1981/visicalc/bin/vc.com;../README.md&format=json

would be equivalent to the older PHP script operation:

http://jsmachines.net/bin/convdisk.php?file=/apps/pc/1981/visicalc/bin/vc.com&format=json&download=true

These commands produce a "disk.json", a copy of which is stored at /apps/pc/1981/visicalc.