Changeset 84 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenu.asm


Ignore:
Timestamp:
Jan 14, 2011, 10:57:46 PM (13 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Minor size optimizations in various files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenu.asm

    r32 r84  
    22; Project name  :   IDE BIOS
    33; Created date  :   25.3.2010
    4 ; Last update   :   3.8.2010
    5 ; Author        :   Tomi Tilli
     4; Last update   :   14.1.2011
     5; Author        :   Tomi Tilli,
     6;               :   Krister Nordvall (optimizations)
    67; Description   :   Displays Boot Menu.
    78
     
    3132    call    BootMenu_Enter          ; Get selected menuitem index to CX
    3233    call    BootMenuPrint_ClearScreen
    33     cmp     cx, BYTE 0              ; -1 if nothing selected (ESC pressed)
    34     jl      SHORT BootMenu_DisplayAndReturnSelection
     34    test    cx, cx                  ; -1 if nothing selected (ESC pressed)
     35    js      SHORT BootMenu_DisplayAndReturnSelection
    3536    call    BootMenu_CheckAndConvertHotkeyToMenuitem
    3637    jc      SHORT .SetDriveTranslationForHotkey
Note: See TracChangeset for help on using the changeset viewer.