Ignore:
Timestamp:
Apr 27, 2013, 5:30:50 PM (11 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • CREATE_COMPATIBLE_DPT is now MODULE_COMPATIBLE_TABLES.
  • DPTs pointed by INT 41h and INT 46h are now swapped when swapping drives 81h and 80h.
  • Block mode commands are no longer used when block size is set to 1 with AH=24h.
File:
1 edited

Legend:

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

    r545 r550  
    163163    ; Initialize block mode transfers
    164164    pop     ax  ; Restore .wFlags saved in SetWriteCache
    165     test    BYTE [di+DPT.bFlagsHigh], FLGH_DPT_BLOCK_MODE_SUPPORTED
    166     jz      SHORT .BlockModeNotSupportedOrDisabled
    167     test    al, FLG_DRVPARAMS_BLOCKMODE
    168     jz      SHORT .BlockModeNotSupportedOrDisabled
     165    test    al, FLG_DRVPARAMS_BLOCKMODE ; Tested here so block mode can be enabled with AH=24h
     166    jz      SHORT .BlockModeDisabled
    169167
    170168    ; Try block sizes until we find largest possible supported by drive
     
    177175    jnc     SHORT .TryNextBlockSize
    178176    STORE_ERROR_FLAG_TO_DPT     FLG_INITERROR_FAILED_TO_SET_BLOCK_MODE
    179 .BlockModeNotSupportedOrDisabled:
     177.BlockModeDisabled:
    180178.SupportedBlockSizeFound:
    181179
     
    286284%endif ; MODULE_8BIT_IDE_ADVANCED
    287285
     286
    288287%ifdef MODULE_8BIT_IDE
    289288;--------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.