Changeset 144 in xtideuniversalbios for trunk


Ignore:
Timestamp:
Mar 14, 2011, 5:26:01 PM (14 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Changes to Configurator v2:

  • Added option to specify display mode for boot menu.
  • Image size in words is now rounded up to full WORD.
Location:
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Buffers.asm

    r118 r144  
    8383    shr     dx, 1
    8484    rcr     cx, 1
     85    adc     cx, BYTE 0      ; Round up to next WORD
    8586    mov     [cs:g_cfgVars+CFGVARS.wImageSizeInWords], cx
    8687    ret
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/BootMenuSettingsMenu.asm

    r136 r144  
    1010    at  MENUPAGE.fnEnter,           dw  BootMenuSettingsMenu_EnterMenuOrModifyItemVisibility
    1111    at  MENUPAGE.fnBack,            dw  ConfigurationMenu_EnterMenuOrModifyItemVisibility
    12     at  MENUPAGE.wMenuitems,        dw  5
     12    at  MENUPAGE.wMenuitems,        dw  6
    1313iend
    1414
     
    3636    at  MENUITEM.itemValue + ITEM_VALUE.wMinValue,                  dw  0
    3737    at  MENUITEM.itemValue + ITEM_VALUE.wMaxValue,                  dw  0FFh
     38iend
     39
     40g_MenuitemBootMnuStngsDisplayMode:
     41istruc MENUITEM
     42    at  MENUITEM.fnActivate,        dw  Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI
     43    at  MENUITEM.fnFormatValue,     dw  MenuitemPrint_WriteLookupValueStringToBufferInESDIfromUnshiftedItemInDSSI
     44    at  MENUITEM.szName,            dw  g_szItemBootDispMode
     45    at  MENUITEM.szQuickInfo,       dw  g_szNfoDispMode
     46    at  MENUITEM.szHelp,            dw  g_szNfoDispMode
     47    at  MENUITEM.bFlags,            db  FLG_MENUITEM_VISIBLE
     48    at  MENUITEM.bType,             db  TYPE_MENUITEM_MULTICHOICE
     49    at  MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset,        dw  ROMVARS.wDisplayMode
     50    at  MENUITEM.itemValue + ITEM_VALUE.szDialogTitle,              dw  g_szDlgBootDispMode
     51    at  MENUITEM.itemValue + ITEM_VALUE.szMultichoice,              dw  g_szMultichoiceBootDispMode
     52    at  MENUITEM.itemValue + ITEM_VALUE.rgwChoiceToValueLookup,     dw  g_rgwChoiceToValueLookupForDisplayModes
     53    at  MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup,    dw  g_rgszValueToStringLookupForDisplayModes
    3854iend
    3955
     
    85101iend
    86102
     103g_rgwChoiceToValueLookupForDisplayModes:
     104    dw  DEFAULT_TEXT_MODE
     105    dw  CGA_TEXT_MODE_BW40
     106    dw  CGA_TEXT_MODE_CO40
     107    dw  CGA_TEXT_MODE_BW80
     108    dw  CGA_TEXT_MODE_CO80
     109    dw  MDA_TEXT_MODE
     110g_rgszValueToStringLookupForDisplayModes:
     111    dw  g_szValueBootDispModeBW40
     112    dw  g_szValueBootDispModeCO40
     113    dw  g_szValueBootDispModeBW80
     114    dw  g_szValueBootDispModeCO80
     115    dw  g_szValueBootDispModeDefault
     116    dw  NULL
     117    dw  NULL
     118    dw  g_szValueBootDispModeMono
     119
    87120g_rgwChoiceToValueLookupForFloppyDrives:    ; (No translation)
    88121    dw  0
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Strings.asm

    r136 r144  
    177177g_szItemBootTimeout:    db  "Selection timeout",NULL
    178178g_szItemBootDrive:      db  "Default boot drive",NULL
     179g_szItemBootDispMode:   db  "Display Mode",NULL
    179180g_szItemBootFloppyDrvs: db  "Number of Floppy Drives",NULL
    180181g_szItemBootSwap:       db  "Swap boot drive numbers",NULL
     
    182183g_szDlgBootTimeout:     db  "Enter Boot Menu selection timeout in BIOS timer ticks (1...1092, 0 disables timeout).",NULL
    183184g_szDlgBootDrive:       db  "Enter default drive number (0xh for Floppy Drives, 8xh for Hard Disks, FFh for ROM boot).",NULL
    184 g_szDlgBootFloppyDrvs:  db  "Enter number of Floppy Drives to display on boot menu.",NULL
     185g_szDlgBootDispMode:    db  "Select display mode for Boot Menu.",NULL
     186g_szDlgBootFloppyDrvs:  db  "Select number of Floppy Drives to display on boot menu.",NULL
    185187g_szDlgBootSwap:        db  "Enable drive number translation?",NULL
    186188
    187189g_szNfoBootTimeout:     db  "Menu item selection timeout in BIOS timer ticks.",NULL
    188190g_szNfoBootDrive:       db  "Default drive on boot menu.",NULL
     191g_szNfoDispMode:        db  "Display Mode for Boot Menu.",NULL
    189192g_szNfoBootFloppyDrvs:  db  "Number of Floppy Drives to display on boot menu.",NULL
    190193g_szNfoBootSwap:        db  "Drive Number Translation (swap first drive with selected).",NULL
     
    198201g_szHelpBootSwap:       incbin  "Bootmenu_SwapDrives.txt"
    199202                        db  NULL
     203
     204g_szMultichoiceBootDispMode:
     205                        db  "Default",LF
     206                        db  "40x25 Black & White",LF
     207                        db  "40x25 Color",LF
     208                        db  "80x25 Black & White",LF
     209                        db  "80x25 Color",LF
     210                        db  "80x25 Monochrome",NULL
    200211
    201212g_szMultichoiceBootFloppyDrvs:
     
    205216                        db  "3",LF
    206217                        db  "4",NULL
     218
     219g_szValueBootDispModeDefault:   db  "Default",NULL
     220g_szValueBootDispModeBW40:      db  "BW40",NULL
     221g_szValueBootDispModeCO40:      db  "CO40",NULL
     222g_szValueBootDispModeBW80:      db  "BW80",NULL
     223g_szValueBootDispModeCO80:      db  "CO80",NULL
     224g_szValueBootDispModeMono:      db  "Mono",NULL
    207225
    208226g_szValueBootFloppyDrvsAuto:    db  "Auto",NULL
Note: See TracChangeset for help on using the changeset viewer.