Changeset 612 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h
- Timestamp:
- May 26, 2021, 1:42:14 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH8h_HParams.asm
r606 r612 102 102 AH8h_GetDriveParameters: 103 103 call AccessDPT_GetLCHStoAXBLBH 104 call A H8h_LimitAXtoMaximumLCylinders104 call AtaGeometry_LimitAXtoMaximumLCylinders 105 105 ; Fall to .PackReturnValues 106 106 … … 136 136 eSHR_IM bl, FLGH_DPT_SERIAL_FLOPPY_TYPE_FIELD_POSITION 137 137 %endif 138 ret139 140 141 ;--------------------------------------------------------------------142 ; AH8h_LimitAXtoMaximumLCylinders143 ; Parameters:144 ; AX: Number of total L-CHS cylinders (1...1027)145 ; Returns:146 ; AX: Number of usable L-CHS cylinders (1...1024)147 ; Corrupts registers:148 ; Nothing149 ;--------------------------------------------------------------------150 AH8h_LimitAXtoMaximumLCylinders:151 MIN_U ax, MAX_LCHS_CYLINDERS152 138 ret 153 139
Note:
See TracChangeset
for help on using the changeset viewer.