VirtualBox

Changeset 96923 in vbox for trunk/src/VBox/Runtime/common/fs


Ignore:
Timestamp:
Sep 28, 2022 8:33:21 PM (2 years ago)
Author:
vboxsync
Message:

IPRT/fatvfs.cpp: Do int18h instead of 19h in the FAT non-boot code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/fs/fatvfs.cpp

    r96407 r96923  
    60956095            memcpy(pBootSector->Bpb.Fat32Ebpb.u.achType, "FAT32   ", sizeof(pBootSector->Bpb.Fat32Ebpb.u.achType));
    60966096    }
    6097     pbBuf[pBootSector->abJmp[1] + 2 + 0] = 0xcd; /* int 19h */
    6098     pbBuf[pBootSector->abJmp[1] + 2 + 1] = 0x19;
     6097    pbBuf[pBootSector->abJmp[1] + 2 + 0] = 0xcd; /* int 18h */ /** @todo find/implement booting of next boot device. */
     6098    pbBuf[pBootSector->abJmp[1] + 2 + 1] = 0x18;
    60996099    pbBuf[pBootSector->abJmp[1] + 2 + 2] = 0xcc; /* int3 */
    61006100    pbBuf[pBootSector->abJmp[1] + 2 + 3] = 0xcc;
Note: See TracChangeset for help on using the changeset viewer.

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