Ignore:
Timestamp:
Feb 18, 2011, 2:50:16 PM (13 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Fixed a spelling mistake and cleaned the source some. No changes to the actual code.

File:
1 edited

Legend:

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

    r107 r108  
    2222
    2323;--------------------------------------------------------------------
    24 ; Menuitem_ActivateMultichoiseSelectionForMenuitemInDSSI
     24; Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI
    2525;   Parameters:
    2626;       DS:SI:  Ptr to MENUITEM
     
    3131;--------------------------------------------------------------------
    3232ALIGN JUMP_ALIGN
    33 Menuitem_ActivateMultichoiseSelectionForMenuitemInDSSI:
     33Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI:
    3434    call    Registers_CopyDSSItoESDI
    3535
     
    3737    call    Memory_ReserveCXbytesFromStackToDSSI
    3838    call    InitializeDialogInputInDSSIfromMenuitemInESDI
    39     mov     ax, [es:di+MENUITEM.itemValue + ITEM_VALUE.szMultichoise]
     39    mov     ax, [es:di+MENUITEM.itemValue + ITEM_VALUE.szMultichoice]
    4040    mov     [si+DIALOG_INPUT.fszItems], ax
    4141    push    di
     
    133133; Menuitem_StoreValueFromAXtoMenuitemInDSSI
    134134;   Parameters:
    135 ;       AX:     Value or multichoise selection to store
     135;       AX:     Value or multichoice selection to store
    136136;       DS:SI:  Ptr to MENUITEM
    137137;       SS:BP:  Menu handle
     
    158158    dw      .InvalidItemType                                    ; TYPE_MENUITEM_PAGENEXT
    159159    dw      .InvalidItemType                                    ; TYPE_MENUITEM_ACTION
    160     dw      .StoreMultichoiseValueFromAXtoESDIwithItemInDSSI    ; TYPE_MENUITEM_MULTICHOISE
     160    dw      .StoreMultichoiceValueFromAXtoESDIwithItemInDSSI    ; TYPE_MENUITEM_MULTICHOICE
    161161    dw      .StoreByteOrWordValueFromAXtoESDIwithItemInDSSI     ; TYPE_MENUITEM_UNSIGNED
    162162    dw      .StoreByteOrWordValueFromAXtoESDIwithItemInDSSI     ; TYPE_MENUITEM_HEX
    163163
    164164;--------------------------------------------------------------------
    165 ; .StoreMultichoiseValueFromAXtoESDIwithItemInDSSI
    166 ;   Parameters:
    167 ;       AX:     Multichoise selection (index)
     165; .StoreMultichoiceValueFromAXtoESDIwithItemInDSSI
     166;   Parameters:
     167;       AX:     Multichoice selection (index)
    168168;       DS:SI:  Ptr to MENUITEM
    169169;       ES:DI:  Ptr to value variable
     
    175175;--------------------------------------------------------------------
    176176ALIGN JUMP_ALIGN
    177 .StoreMultichoiseValueFromAXtoESDIwithItemInDSSI:
     177.StoreMultichoiceValueFromAXtoESDIwithItemInDSSI:
    178178    test    BYTE [si+MENUITEM.bFlags], FLG_MENUITEM_FLAGVALUE
    179     jz      SHORT .TranslateChoiseToValueUsingLookupTable
     179    jz      SHORT .TranslateChoiceToValueUsingLookupTable
    180180
    181181    test    ax, ax          ; Setting item flag?
     
    191191
    192192ALIGN JUMP_ALIGN
    193 .TranslateChoiseToValueUsingLookupTable:
     193.TranslateChoiceToValueUsingLookupTable:
    194194    shl     ax, 1           ; Shift for WORD lookup
    195     add     ax, [si+MENUITEM.itemValue+ITEM_VALUE.rgwChoiseToValueLookup]
     195    add     ax, [si+MENUITEM.itemValue+ITEM_VALUE.rgwChoiceToValueLookup]
    196196    xchg    bx, ax
    197197    mov     ax, [bx]        ; Lookup complete
Note: See TracChangeset for help on using the changeset viewer.