Ignore:
Timestamp:
May 2, 2011, 9:41:51 AM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • Optimized few bytes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/CreateDPT.asm

    r150 r158  
    6060    cmp     [cs:bp+IDEVARS.bIRQ], ah        ; Interrupts enabled?
    6161    jz      SHORT .StoreFlags               ;  If not, do not set interrupt flag
    62     or      al, FLG_DPT_ENABLE_IRQ
     62    or      al, FLGL_DPT_ENABLE_IRQ
    6363.StoreFlags:
    6464    mov     [di+DPT.wFlags], ax
     
    172172    cmp     BYTE [es:si+ATA1.bBlckSize], 1  ; Max block size in sectors
    173173    jbe     SHORT .BlockModeTransfersNotSupported
    174     or      WORD [di+DPT.wFlags], FLG_DPT_BLOCK_MODE_SUPPORTED
     174    or      BYTE [di+DPT.bFlagsHigh], FLGH_DPT_BLOCK_MODE_SUPPORTED
    175175.BlockModeTransfersNotSupported:
    176176    ; Fall to .StoreDeviceSpecificParameters
Note: See TracChangeset for help on using the changeset viewer.