Changeset 60 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/MenuLoop.asm


Ignore:
Timestamp:
Nov 25, 2010, 2:17:45 PM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to Assembly Library:

  • Timeout count down is now stopped when any key pressed.
File:
1 edited

Legend:

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

    r58 r60  
    22; Project name  :   Assembly Library
    33; Created date  :   22.7.2010
    4 ; Last update   :   18.10.2010
     4; Last update   :   25.11.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Menu loop for waiting keystrokes.
     
    7070ALIGN JUMP_ALIGN
    7171ProcessKeystrokeFromAX:
    72     call    .ProcessMenuSystemKeystroke
     72    xchg    cx, ax
     73    call    MenuTime_StopSelectionTimeout
     74    xchg    ax, cx
     75    call    .ProcessMenuSystemKeystrokeFromAX
    7376    jc      SHORT .Return
    7477    jmp     MenuEvent_KeyStrokeInAX
     
    7881
    7982;--------------------------------------------------------------------
    80 ; .ProcessMenuSystemKeystroke
     83; .ProcessMenuSystemKeystrokeFromAX
    8184;   Parameters
    8285;       AL:     ASCII character
     
    9295;--------------------------------------------------------------------
    9396ALIGN JUMP_ALIGN
    94 .ProcessMenuSystemKeystroke:
     97.ProcessMenuSystemKeystrokeFromAX:
    9598    cmp     ah, MENU_KEY_ESC
    9699    je      SHORT .LeaveMenuWithoutSelectingItem
     
    194197.MoveHighlightedItemByAX:
    195198    call    MenuScrollbars_MoveHighlightedItemByAX
    196     call    MenuTime_RestartSelectionTimeout
    197199    stc
    198200    ret
Note: See TracChangeset for help on using the changeset viewer.