Changeset 400 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeError.asm


Ignore:
Timestamp:
Apr 20, 2012, 2:30:16 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Moved 8-bit device support to MODULE_8BIT_IDE.
  • JR-IDE/ISA support requires a lot less bytes.
  • AT builds now always use full operating mode.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeError.asm

    r376 r400  
    3434;--------------------------------------------------------------------
    3535ALIGN JUMP_ALIGN
    36 IDEDEVICE%+Error_GetBiosErrorCodeToAHfromPolledStatusRegisterInAL:
     36IdeError_GetBiosErrorCodeToAHfromPolledStatusRegisterInAL:
    3737    mov     ah, al          ; IDE Status Register to AH
    3838    INPUT_TO_AL_FROM_IDE_REGISTER   ERROR_REGISTER_in
    39 
    40 %ifndef ASSEMBLE_SHARED_IDE_DEVICE_FUNCTIONS    ; JR-IDE/ISA
    41     jmp     ContinueFromMemIdeError
    42 %else
    43 ContinueFromMemIdeError:
    4439    xchg    al, ah          ; Status Register now in AL, Error Register now in AH
    45 
    46     ; I don't think anything actually reads these from BDA
    47     ;push   ds
    48     ;LOAD_BDA_SEGMENT_TO    ds, dx
    49     ;mov        [HDBDA.wHDStAndErr], ax
    50     ;pop        ds
    51 
    5240    ; Fall to GetBiosErrorCodeToAHfromStatusAndErrorRegistersInAX
    5341
     
    112100    db  RET_HD_BADSECTOR    ; Bit7=BBK, Bad Block Detected
    113101    db  RET_HD_STATUSERR    ; When Error Register is zero
    114 %endif
Note: See TracChangeset for help on using the changeset viewer.