Changeset 257 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH15h_HSize.asm
- Timestamp:
- Feb 21, 2012, 11:26:06 AM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH15h_HSize.asm
r252 r257 26 26 AH15h_HandlerForReadDiskDriveSize: 27 27 call AH15h_GetSectorCountToBXDXAX 28 mov [bp+IDEPACK.intpack+INTPACK.cx], dx 29 mov [bp+IDEPACK.intpack+INTPACK.dx], ax 28 mov [bp+IDEPACK.intpack+INTPACK.cx], dx ; HIWORD to CX 29 mov [bp+IDEPACK.intpack+INTPACK.dx], ax ; LOWORD to DX 30 30 31 31 xor ah, ah 32 call Int13h_SetErrorCodeTo IntpackInSSBPfromAH ; Store success to BDA and CF33 mov BYTE [bp+IDEPACK.intpack+INTPACK.ah], 3 ; Type code = Hard disk32 call Int13h_SetErrorCodeToBdaAndToIntpackInSSBPfromAH ; Store success to BDA and CF 33 mov BYTE [bp+IDEPACK.intpack+INTPACK.ah], 3 ; Type code = Hard disk 34 34 jmp Int13h_ReturnFromHandlerWithoutStoringErrorCode 35 35
Note:
See TracChangeset
for help on using the changeset viewer.