diff --git a/disks/dec/rk03/README.md b/disks/dec/rk03/README.md index e393e3fbf..86b8466f5 100644 --- a/disks/dec/rk03/README.md +++ b/disks/dec/rk03/README.md @@ -11,5 +11,22 @@ RK03 disks are single-platter cartridges with 203 tracks per side, 12 sectors pe 256 words (512 bytes), for a total capacity of 2.38Mb (2,494,464 bytes). They are used with an [RK11 Disk Controller](/devices/pdp11/rk11/). -* [RT-11 v4.0](rtl11v4/) [[source](http://skn.noip.me/pdp11/rk1.dsk)] +* [RT-11 v4.0](rt11v4/) [[source](http://skn.noip.me/pdp11/rk1.dsk)] * [XXDP+ Diagnostics](xxdp/) [[source](http://skn.noip.me/pdp11/rk2.dsk)] + +--- + +While the geometry of an RK03 disk implies that the total image size should be 2,494,464 bytes, not all the +disks we've archived started out that way. For example, the RT-11 v4.0 disk image was originally 1,454,592 +bytes long. Presumably, when it was used by other emulators, they assumed zeros for the missing sectors. + +Since the PCjs [DiskDump](/modules/diskdump/) utility relies on exact file sizes to match disk images to +supported geometries, I padded the disk image: + + dd if=/dev/zero bs=1 count=1039872 >> RK03-RT11-V40.dsk + +After appending an additional 1,039,872 bytes to the original 1,454,592, DiskDump was happy to process the +image: + + diskdump --disk=RK03-RT11-V40.dsk --format=json --output=RK03-RT11-V40.json + 2494464-byte disk image saved to RK03-RT11-V40.json