Changeset 544 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers
- Timestamp:
- Apr 17, 2013, 5:16:00 PM (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
r542 r544 136 136 ; Store P-CHS. Based on phoenix specification this is returned only if 137 137 ; total sector count is 15,482,880 or less. 138 sub ax, MAX_SECTOR_COUNT_TO_RETURN_PCHS& 0FFFFh139 sbb dx, MAX_SECTOR_COUNT_TO_RETURN_PCHS>> 16138 sub ax, (MAX_SECTOR_COUNT_TO_RETURN_PCHS+1) & 0FFFFh 139 sbb dx, (MAX_SECTOR_COUNT_TO_RETURN_PCHS+1) >> 16 140 140 sbb bx, cx ; Zero 141 j aSHORT .ReturnWithSuccess141 jnc SHORT .ReturnWithSuccess 142 142 or BYTE [di+EDRIVE_INFO.wFlags], FLG_CHS_INFORMATION_IS_VALID 143 143
Note:
See TracChangeset
for help on using the changeset viewer.