Changeset 60 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/MenuLoop.asm
- Timestamp:
- Nov 25, 2010, 2:17:45 PM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Menu/MenuLoop.asm
r58 r60 2 2 ; Project name : Assembly Library 3 3 ; Created date : 22.7.2010 4 ; Last update : 18.10.20104 ; Last update : 25.11.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Menu loop for waiting keystrokes. … … 70 70 ALIGN JUMP_ALIGN 71 71 ProcessKeystrokeFromAX: 72 call .ProcessMenuSystemKeystroke 72 xchg cx, ax 73 call MenuTime_StopSelectionTimeout 74 xchg ax, cx 75 call .ProcessMenuSystemKeystrokeFromAX 73 76 jc SHORT .Return 74 77 jmp MenuEvent_KeyStrokeInAX … … 78 81 79 82 ;-------------------------------------------------------------------- 80 ; .ProcessMenuSystemKeystroke 83 ; .ProcessMenuSystemKeystrokeFromAX 81 84 ; Parameters 82 85 ; AL: ASCII character … … 92 95 ;-------------------------------------------------------------------- 93 96 ALIGN JUMP_ALIGN 94 .ProcessMenuSystemKeystroke :97 .ProcessMenuSystemKeystrokeFromAX: 95 98 cmp ah, MENU_KEY_ESC 96 99 je SHORT .LeaveMenuWithoutSelectingItem … … 194 197 .MoveHighlightedItemByAX: 195 198 call MenuScrollbars_MoveHighlightedItemByAX 196 call MenuTime_RestartSelectionTimeout197 199 stc 198 200 ret
Note:
See TracChangeset
for help on using the changeset viewer.