Ignore:
Timestamp:
Feb 9, 2013, 5:25:53 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to Configurator v2:

  • XT-CF port can be selected again.
  • Auto Configure should now detect Sound Blaster 16 Tertiary and Quaternary IDE.
  • Auto Configure now properly sets Slave Drive variables.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/IdeControllerMenu.asm

    r491 r502  
    8383    at  MENUITEM.szQuickInfo,       dw  g_szNfoIdeCmdPort
    8484    at  MENUITEM.szHelp,            dw  g_szHelpIdeCmdPort
    85     at  MENUITEM.bFlags,            db  NULL
     85    at  MENUITEM.bFlags,            db  FLG_MENUITEM_VISIBLE
    8686    at  MENUITEM.bType,             db  TYPE_MENUITEM_HEX
    8787    at  MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset,        dw  NULL
     
    357357    push    cs
    358358    pop     ds
    359     call    .EnableOrDisableCommandBlockPort
    360359    call    .EnableOrDisableControlBlockPort
    361360    call    .DisableIRQchannelSelection
     
    368367
    369368;--------------------------------------------------------------------
    370 ; .EnableOrDisableCommandBlockPort
    371 ;   Parameters:
    372 ;       SS:BP:  Menu handle
    373 ;   Returns:
    374 ;       Nothing
    375 ;   Corrupts registers:
    376 ;       AX, BX
    377 ;--------------------------------------------------------------------
    378 ALIGN JUMP_ALIGN
    379 .EnableOrDisableCommandBlockPort:
    380     mov     bx, [cs:g_MenuitemIdeControllerDevice+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset]
    381     call    Buffers_GetRomvarsValueToAXfromOffsetInBX
    382     mov     bx, g_MenuitemIdeControllerCommandBlockAddress
    383     cmp     al, DEVICE_8BIT_XTCF_PIO8
    384     jb      SHORT .EnableMenuitemFromCSBX
    385     cmp     al, DEVICE_SERIAL_PORT
    386     je      SHORT .DisableMenuitemFromCSBX
    387     cmp     al, DEVICE_8BIT_XTCF_MEMMAP
    388     ja      SHORT .EnableMenuitemFromCSBX
    389     jmp     SHORT .DisableMenuitemFromCSBX
    390 
    391 
    392 ;--------------------------------------------------------------------
    393369; .EnableOrDisableControlBlockPort
    394370;   Parameters:
     
    405381    mov     bx, g_MenuitemIdeControllerControlBlockAddress
    406382    cmp     al, DEVICE_8BIT_XTCF_PIO8
    407     jb      SHORT .EnableMenuitemFromCSBX
     383    jb      SHORT .EnableMenuitemFromCSBX   ; Not needed for XT-CF and JR-IDE/ISA
    408384    jmp     SHORT .DisableMenuitemFromCSBX
    409385
Note: See TracChangeset for help on using the changeset viewer.