Changeset 145 in xtideuniversalbios for trunk/Configurator/Src/MenuPageItem.asm


Ignore:
Timestamp:
Mar 15, 2011, 11:28:17 AM (13 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Minor size optimizations to all parts of the project (even the old Configurator).
Also added a new 'release' option to the makefiles of both versions of the Configurator. It invokes UPX and makes the Configurator programs ridiculously tiny.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Configurator/Src/MenuPageItem.asm

    r2 r145  
    1 ; File name     :   MenuPageItem.asm
    21; Project name  :   XTIDE Univeral BIOS Configurator
    3 ; Created date  :   15.4.2010
    4 ; Last update   :   1.5.2010
    5 ; Author        :   Tomi Tilli
    62; Description   :   Functions to access MENUPAGEITEM structs.
    73
     
    363359MainPageItem_ActivateSubmenuForGettingLookupValueWithoutMarkingUnsaved:
    364360    call    MainPageItem_ActivateSubmenu
    365     cmp     cx, BYTE 0
    366     jl      SHORT .Return                       ; User cancellation
     361    test    cx, cx                              ; Clears CF
     362    js      SHORT .Return                       ; User cancellation
    367363    push    si
    368364    mov     si, [di+MENUPAGEITEM.pSubMenuPage]  ; DS:SI points to value MENUPAGE
     
    374370    pop     si
    375371    stc                                         ; Changes so redraw
    376     ret
    377372.Return:
    378     clc
    379373    ret
    380374
Note: See TracChangeset for help on using the changeset viewer.