Changeset 422 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h


Ignore:
Timestamp:
May 12, 2012, 1:58:25 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Modified ROMVARS for user defined CHS translation mode.
  • Base DPT struct now includes initialization error flags again.
Location:
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h
Files:
2 edited

Legend:

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

    r421 r422  
    3535;--------------------------------------------------------------------
    3636%macro STORE_ERROR_FLAG_TO_DPT 1
    37 %ifdef MODULE_ADVANCED_ATA
    3837    mov     al, %1
    3938    call    SetErrorFlagFromALwithErrorCodeInAH
    40 %endif
    4139%endmacro
    4240
     
    8280%ifdef MODULE_ADVANCED_ATA
    8381    ; Clear Initialization Error flags from DPT
    84     mov     [di+DPT_ADVANCED_ATA.bInitError], al
     82    mov     [di+DPT.bInitError], al
    8583%endif
    8684
     
    205203.ReturnWithErrorCodeInAH:
    206204%ifdef MODULE_ADVANCED_ATA
    207     mov     ah, [di+DPT_ADVANCED_ATA.bInitError]
     205    mov     ah, [di+DPT.bInitError]
    208206    test    ah, ah  ; Clears CF
    209207    jz      SHORT .ReturnWithSuccess
     
    225223
    226224
    227 %ifdef MODULE_ADVANCED_ATA
    228225;--------------------------------------------------------------------
    229226; SetErrorFlagFromALwithErrorCodeInAH
     
    247244    jbe     SHORT IgnoreInvalidCommandError
    248245
    249     or      [di+DPT_ADVANCED_ATA.bInitError], al
     246    or      [di+DPT.bInitError], al
    250247    stc
    251248.NoErrorFlagToSet:
    252249    ret
    253 
    254 %endif
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools/Address.asm

    r421 r422  
    103103Address_OldInt13hAddressToIdeAddress:
    104104        call    Address_ExtractLCHSparametersFromOldInt13hAddress
    105         ACCESSDPT__GET_UNSHIFTED_ADDRESS_MODE_TO_AXZF
     105        ACCESSDPT__GET_UNSHIFTED_TRANSLATE_MODE_TO_AXZF
    106106
    107107;;; 0: ADDRESSING_MODE_NORMAL
Note: See TracChangeset for help on using the changeset viewer.