Added an empty 10Mb disk image formatted by PC-DOS 2.0 (currently used by one machine: 5160/cga/640kb); also fixed some issues uncovered in the process of creating the disk image (eg, a bug in the HDC's save logic when no image has been loaded), and made some fixes and optimizations in DiskDump

This commit is contained in:
Jeff Parsons 2017-06-01 15:32:17 -07:00 committed by Jeff Parsons
commit 3e1aa196bd
13 changed files with 1871 additions and 1832 deletions

View file

@ -340,7 +340,8 @@ class FDC extends Component {
var drive = fdc.aDrives[iDriveSelected];
if (drive) {
/*
* Note the similarity (and hence factoring opportunity) between this code and the HDC's "saveHD*" binding.
* Note the similarity (and hence factoring opportunity) between this code and the HDC's
* "saveHD*" binding.
*/
var disk = drive.disk;
if (disk) {