Changeset 257 in xtideuniversalbios


Ignore:
Timestamp:
Feb 21, 2012, 11:26:06 AM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • AH=15h now properly stores error code to BDA.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH15h_HSize.asm

    r252 r257  
    2626AH15h_HandlerForReadDiskDriveSize:
    2727    call    AH15h_GetSectorCountToBXDXAX
    28     mov     [bp+IDEPACK.intpack+INTPACK.cx], dx         ; HIWORD to CX
    29     mov     [bp+IDEPACK.intpack+INTPACK.dx], ax         ; LOWORD to DX
     28    mov     [bp+IDEPACK.intpack+INTPACK.cx], dx ; HIWORD to CX
     29    mov     [bp+IDEPACK.intpack+INTPACK.dx], ax ; LOWORD to DX
    3030
    3131    xor     ah, ah
    32     call    Int13h_SetErrorCodeToIntpackInSSBPfromAH    ; Store success to BDA and CF
    33     mov     BYTE [bp+IDEPACK.intpack+INTPACK.ah], 3     ; Type code = Hard disk
     32    call    Int13h_SetErrorCodeToBdaAndToIntpackInSSBPfromAH    ; Store success to BDA and CF
     33    mov     BYTE [bp+IDEPACK.intpack+INTPACK.ah], 3             ; Type code = Hard disk
    3434    jmp     Int13h_ReturnFromHandlerWithoutStoringErrorCode
    3535
Note: See TracChangeset for help on using the changeset viewer.