Ignore:
Timestamp:
Oct 10, 2012, 6:22:23 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Large changes to prepare full XT-CF support (DMA not yet implemented and memory mapped transfers are not working).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu/BootMenuPrintCfg.asm

    r422 r473  
    8888
    8989;--------------------------------------------------------------------
    90 ; PushBusType
     90; PushDeviceType
    9191;   Parameters:
    9292;       DS:DI:  Ptr to DPT
     
    9797;       AX, DX
    9898;--------------------------------------------------------------------
    99 .PushBusType:
    100     mov     al,g_szBusTypeValues_Displacement
    101     mul     BYTE [cs:bx+IDEVARS.bDevice]
     99.PushDeviceType:
     100    mov     al,g_szDeviceTypeValues_Displacement
     101%ifdef MODULE_SERIAL
     102    mov     ah, [cs:bx+IDEVARS.bDevice]
     103    test    BYTE [di+DPT.bFlagsHigh], FLGH_DPT_SERIAL_DEVICE
     104    eCMOVZ  ah, [di+DPT_ATA.bDevice]    ; DPT_ATA contains up to date device information for IDE drives
     105    mul     ah
     106%else   
     107    mul     BYTE [di+DPT_ATA.bDevice]
     108%endif
    102109
    103110    shr     ax,1            ; divide by 2 since IDEVARS.bDevice is multiplied by 2
    104111
    105     add     ax,g_szBusTypeValues
     112    add     ax, g_szDeviceTypeValues
    106113    push    ax
    107114
Note: See TracChangeset for help on using the changeset viewer.