VirtualBox

Changeset 93415 in vbox


Ignore:
Timestamp:
Jan 24, 2022 3:44:44 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
149517
Message:

BIOS: Added comment about WDCTRL.386.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/disk.c

    r93115 r93415  
    407407        count = bios_dsk->hdcount;
    408408        /* Maximum cylinder number is just one less than the number of cylinders. */
     409        /* To make Windows 3.1x WDCTRL.386 happy, we'd have to subtract 2, not 1,
     410         * to account for a diagnostic cylinder.
     411         */
    409412        nlc = nlc - 1; /* 0 based , last sector not used */
    410413        SET_AL(0);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette