Another tweak to DOS-ness

This commit is contained in:
2012-07-07 05:06:29 +00:00
parent e09b66a7dd
commit 842f59c6c7
1 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@ public class Disk {
&& vtoc[0x01] == 17 // expect catalog to start on track 17
// can vary && vtoc[0x02] == 15 // expect catalog to start on sector 15 (140KB disk only!)
&& vtoc[0x27] == 122 // expect 122 track/sector pairs per sector
&& vtoc[0x34] == 35 // expect 35 tracks per disk (140KB disk only!)
&& (vtoc[0x34] == 35 || vtoc[0x34] == 40) // expect 35 or 40 tracks per disk (140KB disk only!)
&& vtoc[0x35] == 16 // expect 16 sectors per disk (140KB disk only!)
;
if (good) {