Changeset 133 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/MenuInit.asm


Ignore:
Timestamp:
Mar 12, 2011, 1:48:48 PM (13 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Size optimizations in various files in the Assembly Library. Also a very small change to a string in XTIDE_Universal_BIOS_Configurator_v2/Src/Strings.asm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/Menu/MenuInit.asm

    r129 r133  
    5757    CALL_DISPLAY_LIBRARY SetCursorShapeFromAX
    5858    call    MenuEvent_InitializeMenuinit    ; User initialization
     59%ifndef USE_186
    5960    call    MenuInit_RefreshMenuWindow
    6061    jmp     MenuLoop_Enter
     62%else
     63    push    MenuLoop_Enter
     64    ; Fall to MenuInit_RefreshMenuWindow
     65%endif
    6166
    6267
     
    117122;       Nothing
    118123;--------------------------------------------------------------------
     124%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    119125ALIGN JUMP_ALIGN
    120126MenuInit_GetHighlightedItemToAX:
    121127    mov     ax, [bp+MENUINIT.wHighlightedItem]
    122128    ret
     129%endif
    123130
    124131
     
    135142;       Nothing
    136143;--------------------------------------------------------------------
     144%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    137145ALIGN JUMP_ALIGN
    138146MenuInit_SetTitleHeightFromAL:
     
    149157    mov     [bp+MENUINIT.wItems], ax
    150158    ret
     159%endif
    151160
    152161
     
    162171;       Nothing
    163172;--------------------------------------------------------------------
     173%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    164174ALIGN JUMP_ALIGN
    165175MenuInit_SetUserDataFromDSSI:
     
    172182    lds     si, [bp+MENU.dwUserData]
    173183    ret
     184%endif
Note: See TracChangeset for help on using the changeset viewer.