Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
  • Loading branch information
joncampbell123 committed Jun 2, 2019
1 parent 9957dc1 commit efafa89
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dos/drive_fat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1229,6 +1229,10 @@ void fatDrive::fatDriveInit(const char *sysFilename, Bit32u bytesector, Bit32u c
}

/* Sanity checks */
/* NTS: DOSBox-X *does* support non-standard sector sizes, though not in IBM PC mode and not through INT 13h.
* In DOSBox-X INT 13h emulation will enforce the standard (512 byte) sector size.
* In PC-98 mode mounting disk images requires "non-standard" sector sizes because PC-98 floppies (other
* than ones formatted 1.44MB) generally use 1024 bytes/sector and MAY use 128 or 256 bytes per sector. */
if ((bootbuffer.sectorspercluster == 0) ||
(bootbuffer.rootdirentries == 0) ||
(bootbuffer.fatcopies == 0) ||
Expand Down

0 comments on commit efafa89

Please sign in to comment.