Changeset 550 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/EBIOS


Ignore:
Timestamp:
Apr 27, 2013, 5:30:50 PM (12 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.
Location:
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/EBIOS
Files:
2 edited

Legend:

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

    r541 r550  
    4444    mov     WORD [bp+IDEPACK.intpack+INTPACK.bx], 0AA55h
    4545
    46 %ifdef CREATE_COMPATIBLE_DPT
     46%ifdef MODULE_COMPATIBLE_TABLES
    4747    call    AH41h_GetSupportBitsToCX
    4848    mov     [bp+IDEPACK.intpack+INTPACK.cx], cx
    4949%else
    5050    mov     WORD [bp+IDEPACK.intpack+INTPACK.cx], ENHANCED_DRIVE_ACCESS_SUPPORT
    51 %endif
     51%endif ; MODULE_COMPATIBLE_TABLES
    5252
    5353    and     BYTE [bp+IDEPACK.intpack+INTPACK.flags], ~FLG_FLAGS_CF  ; Return with CF cleared
     
    5757
    5858
    59 %ifdef CREATE_COMPATIBLE_DPT
     59%ifdef MODULE_COMPATIBLE_TABLES
    6060;--------------------------------------------------------------------
    6161; AH41h_GetSupportBitsToCX
     
    8787    ret
    8888
    89 %endif ; CREATE_COMPATIBLE_DPT
     89%endif ; MODULE_COMPATIBLE_TABLES
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/EBIOS/AH48h_GetExtendedDriveParameters.asm

    r545 r550  
    8181
    8282    ; Create DPTE (hardware information for device drivers)
    83 %ifdef CREATE_COMPATIBLE_DPT
     83%ifdef MODULE_COMPATIBLE_TABLES
    8484    call    AH41h_GetSupportBitsToCX
    8585    test    cl, ENHANCED_DISK_DRIVE_SUPPORT
     
    8787    call    CompatibleDPT_CreateDeviceParameterTableExtensionToESBXfromDPTinDSSI
    8888.DoNotCreateDPTE:
    89 %endif
     89%endif ; MODULE_COMPATIBLE_TABLES
    9090
    9191    ; Point DS:DI to Extended Drive Information Table to fill
     
    107107    ; Store DPTE for standard controllers only,
    108108    ; FFFF:FFFF for non standard controllers
    109 %ifdef CREATE_COMPATIBLE_DPT
     109%ifdef MODULE_COMPATIBLE_TABLES
    110110    mov     [di+EDRIVE_INFO.fpDPTE], bx
    111111    mov     [di+EDRIVE_INFO.fpDPTE+2], es
     
    117117    mov     [di+EDRIVE_INFO.fpDPTE], bx
    118118    mov     [di+EDRIVE_INFO.fpDPTE+2], bx
    119 %endif
     119%endif ; MODULE_COMPATIBLE_TABLES
    120120
    121121    ; Fill Extended Drive Information Table in DS:DI from DPT in ES:SI
Note: See TracChangeset for help on using the changeset viewer.