Ignore:
Timestamp:
May 1, 2011, 10:44:17 AM (14 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Changes to Configurator v2:

  • Updated for latest XTIDE Universal BIOS.
Location:
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages
Files:
2 edited

Legend:

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

    r114 r153  
    234234    test    ax, FLG_ROMVARS_FULLMODE
    235235    jnz     SHORT .EnableMenuitemFromCSBX
    236 .LimitIdeControllerCountToOneForLiteMode:
     236
     237    ; Limit controller count for lite mode
    237238    call    Buffers_GetFileBufferToESDI
    238     mov     BYTE [es:di+ROMVARS.bIdeCnt], 1
     239    mov     BYTE [es:di+ROMVARS.bIdeCnt], MAX_LITE_MODE_CONTROLLERS
    239240    jmp     SHORT .DisableMenuitemFromCSBX
    240241
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/IdeControllerMenu.asm

    r109 r153  
    4343iend
    4444
    45 g_MenuitemIdeControllerBusType:
     45g_MenuitemIdeControllerDevice:
    4646istruc MENUITEM
    4747    at  MENUITEM.fnActivate,        dw  Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI
    4848    at  MENUITEM.fnFormatValue,     dw  MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI
    49     at  MENUITEM.szName,            dw  g_szItemIdeBusType
    50     at  MENUITEM.szQuickInfo,       dw  g_szNfoIdeBusType
    51     at  MENUITEM.szHelp,            dw  g_szNfoIdeBusType
     49    at  MENUITEM.szName,            dw  g_szItemIdeDevice
     50    at  MENUITEM.szQuickInfo,       dw  g_szNfoIdeDevice
     51    at  MENUITEM.szHelp,            dw  g_szNfoIdeDevice
    5252    at  MENUITEM.bFlags,            db  FLG_MENUITEM_VISIBLE | FLG_MENUITEM_BYTEVALUE
    5353    at  MENUITEM.bType,             db  TYPE_MENUITEM_MULTICHOICE
    5454    at  MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset,        dw  NULL
    55     at  MENUITEM.itemValue + ITEM_VALUE.szDialogTitle,              dw  g_szDlgBusType
    56     at  MENUITEM.itemValue + ITEM_VALUE.szMultichoice,              dw  g_szMultichoiceCfgBusType
    57     at  MENUITEM.itemValue + ITEM_VALUE.rgwChoiceToValueLookup,     dw  g_rgwChoiceToValueLookupForBusType
    58     at  MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup,    dw  g_rgszValueToStringLookupForBusType
     55    at  MENUITEM.itemValue + ITEM_VALUE.szDialogTitle,              dw  g_szDlgDevice
     56    at  MENUITEM.itemValue + ITEM_VALUE.szMultichoice,              dw  g_szMultichoiceCfgDevice
     57    at  MENUITEM.itemValue + ITEM_VALUE.rgwChoiceToValueLookup,     dw  g_rgwChoiceToValueLookupForDevice
     58    at  MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup,    dw  g_rgszValueToStringLookupForDevice
    5959iend
    6060
     
    120120iend
    121121
    122 g_rgwChoiceToValueLookupForBusType:
    123     dw  BUS_TYPE_8_DUAL
    124     dw  BUS_TYPE_8_SINGLE
    125     dw  BUS_TYPE_16
    126     dw  BUS_TYPE_32
    127 g_rgszValueToStringLookupForBusType:
    128     dw  g_szValueCfgBusTypeDual8b
    129     dw  g_szValueCfgBusType16b
    130     dw  g_szValueCfgBusType32b
    131     dw  g_szValueCfgBusTypeSingle8b
     122g_rgwChoiceToValueLookupForDevice:
     123    dw  DEVICE_8BIT_DUAL_PORT_XTIDE
     124    dw  DEVICE_XTIDE_WITH_REVERSED_A3_AND_A0
     125    dw  DEVICE_8BIT_SINGLE_PORT
     126    dw  DEVICE_16BIT_ATA
     127    dw  DEVICE_32BIT_ATA
     128    dw  DEVICE_SERIAL_PORT
     129g_rgszValueToStringLookupForDevice:
     130    dw  g_szValueCfgDeviceDual8b
     131    dw  g_szValueCfgDeviceMod
     132    dw  g_szValueCfgDeviceSingle8b
     133    dw  g_szValueCfgDevice16b
     134    dw  g_szValueCfgDevice32b
     135    dw  g_szValueCfgDeviceSerial
    132136
    133137
     
    152156    mov     [cs:g_MenuitemIdeControllerSlaveDrive+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset], ax
    153157
    154     lea     ax, [bx+IDEVARS.bBusType]
    155     mov     [cs:g_MenuitemIdeControllerBusType+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset], ax
     158    lea     ax, [bx+IDEVARS.bDevice]
     159    mov     [cs:g_MenuitemIdeControllerDevice+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset], ax
    156160
    157161    lea     ax, [bx+IDEVARS.wPort]
Note: See TracChangeset for help on using the changeset viewer.