Changeset 545 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/EBIOS
- Timestamp:
- Apr 19, 2013, 11:44:35 AM (12 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/EBIOS/AH48h_GetExtendedDriveParameters.asm
r544 r545 139 139 sbb dx, (MAX_SECTOR_COUNT_TO_RETURN_PCHS+1) >> 16 140 140 sbb bx, cx ; Zero 141 jnc SHORT . ReturnWithSuccess141 jnc SHORT .DoNotSetChsFlag 142 142 or BYTE [di+EDRIVE_INFO.wFlags], FLG_CHS_INFORMATION_IS_VALID 143 143 144 ; We store something to P-CHS anyway since some HW detection programs 145 ; ignore the CHS flag. And we should at least clear the variables anyway 146 ; since the same buffer is used for all drives so it contains parameters 147 ; from previously scanned drive. 148 .DoNotSetChsFlag: 144 149 eMOVZX dx, BYTE [es:si+DPT.bPchsHeads] 145 150 mov [di+EDRIVE_INFO.dwHeads], dx
Note:
See TracChangeset
for help on using the changeset viewer.