Changeset 153 in xtideuniversalbios for trunk


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
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Inc/Variables.inc

    r109 r153  
    66; Equates and defines
    77MAX_ALLOWED_IDE_CONTROLLERS         EQU     4   ; Maximum number of IDE controllers
     8MAX_LITE_MODE_CONTROLLERS           EQU     2
    89EEPROM_POLLING_TIMEOUT_TICKS        EQU     3   ; 1 tick = 54.9 ms
    910XTIDE_SIGNATURE_LENGTH              EQU     8   ; XTIDE Universal BIOS signature string length
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Main.asm

    r109 r153  
    11; Project name  :   XTIDE Univeral BIOS Configurator v2
    2 ; Description   :   Program start and exit.         
     2; Description   :   Program start and exit.
    33
    44; Include .inc files
  • 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]
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Strings.asm

    r144 r153  
    8888g_szDlgCfgFullMode:     db  "Enable full operating mode?",NULL
    8989g_szDlgCfgStealSize:    db  "How many kiB of base memory to steal for XTIDE Universal BIOS variables (1...255)?",NULL
    90 g_szDlgCfgIdeCnt:       db  "How many IDE controllers to manage (1...5)?",NULL
     90g_szDlgCfgIdeCnt:       db  "How many IDE controllers to manage (1...4)?",NULL
    9191
    9292g_szNfoCfgIde:          db  "IDE controller and drive configuration.",NULL
     
    106106g_szItemIdeMaster:      db  "Master Drive",NULL
    107107g_szItemIdeSlave:       db  "Slave Drive",NULL
    108 g_szItemIdeBusType:     db  "Bus type",NULL
     108g_szItemIdeDevice:      db  "Device type",NULL
    109109g_szItemIdeCmdPort:     db  "Base (cmd block) address",NULL
    110110g_szItemIdeCtrlPort:    db  "Control block address",NULL
     
    112112g_szItemIdeIRQ:         db  "IRQ",NULL
    113113
    114 g_szDlgBusType:         db  "Select type of bus where IDE Controller is connected.",NULL
     114g_szDlgDevice:          db  "Select controller type.",NULL
    115115g_szDlgIdeCmdPort:      db  "Enter IDE command block (base port) address.",NULL
    116116g_szDlgIdeCtrlPort:     db  "Enter IDE control block address (usually command block + 200h).",NULL
     
    121121g_szNfoIdeMaster:       db  "Settings for Master Drive.",NULL
    122122g_szNfoIdeSlave:        db  "Settings for Slave Drive.",NULL
    123 g_szNfoIdeBusType:      db  "Select controller bus type.",NULL
     123g_szNfoIdeDevice:       db  "Select controller device type.",NULL
    124124g_szNfoIdeCmdPort:      db  "IDE Controller Command Block (base port) address.",NULL
    125125g_szNfoIdeCtrlPort:     db  "IDE Controller Control Block address. Usually Cmd Block + 200h.",NULL
     
    136136                        db  NULL
    137137
    138 g_szMultichoiceCfgBusType:
     138g_szMultichoiceCfgDevice:
    139139                        db  "8-bit dual port (XTIDE)",LF
     140                        db  "XTIDE mod by Chuck(G)",LF
    140141                        db  "8-bit single port",LF
    141                         db  "16-bit",LF
    142                         db  "32-bit generic",NULL
    143 
    144 g_szValueCfgBusTypeDual8b:      db  "2x8-bit",NULL
    145 g_szValueCfgBusTypeSingle8b:    db  "1x8-bit",NULL
    146 g_szValueCfgBusType16b:         db  "16-bit",NULL
    147 g_szValueCfgBusType32b:         db  "32-bit",NULL
     142                        db  "16-bit standard IDE",LF
     143                        db  "32-bit generic IDE",LF
     144                        db  "Serial port virtual device",NULL
     145
     146g_szValueCfgDeviceDual8b:   db  "XTIDE",NULL
     147g_szValueCfgDeviceMod:      db  "Chuck(G)",NULL
     148g_szValueCfgDeviceSingle8b: db  "8-bit",NULL
     149g_szValueCfgDevice16b:      db  "16-bit",NULL
     150g_szValueCfgDevice32b:      db  "32-bit",NULL
     151g_szValueCfgDeviceSerial:   db  "serial",NULL
    148152
    149153
Note: See TracChangeset for help on using the changeset viewer.