Changeset 48 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/MenuEvent.asm
- Timestamp:
- Oct 8, 2010, 3:44:05 PM (15 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Menu/MenuEvent.asm
r41 r48 2 2 ; Project name : Assembly Library 3 3 ; Created date : 13.7.2010 4 ; Last update : 11.8.20104 ; Last update : 5.10.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Functions for initializing menu system. … … 65 65 ; MenuEvent_RefreshInformation 66 66 ; Parameters 67 ; SS:BP: Ptr to MENU 67 68 ; Cursor will be positioned to beginning of window 68 69 ; Returns: … … 70 71 ; Cleared if event not processed 71 72 ; Corrupts registers: 72 ; AX, BX, DX73 ; AX, CX, BX, DX 73 74 ;-------------------------------------------------------------------- 74 75 ALIGN JUMP_ALIGN 75 76 MenuEvent_RefreshTitle: 76 77 mov bx, MENUEVENT.RefreshTitle 77 jmp SHORT MenuEvent_SendFromBX 78 jmp SHORT LoadHighlightedItemToCXandSendMessageFromBX 79 78 80 ALIGN JUMP_ALIGN 79 81 MenuEvent_RefreshInformation: 80 82 mov bx, MENUEVENT.RefreshInformation 83 LoadHighlightedItemToCXandSendMessageFromBX: 84 mov cx, [bp+MENU.wHighlightedItem] 81 85 jmp SHORT MenuEvent_SendFromBX 82 86 … … 86 90 ; Parameters 87 91 ; CX: Index of item to refresh 92 ; SS:BP: Ptr to MENU 88 93 ; Cursor has been positioned to the beginning of item line 89 94 ; Returns: … … 103 108 ; Parameters 104 109 ; CX: Index of item to highlight 110 ; SS:BP: Ptr to MENU 105 111 ; Returns: 106 112 ; Nothing … … 128 134 ; AL: ASCII character for the key 129 135 ; AH: Keyboard library scan code for the key 136 ; SS:BP: Ptr to MENU 130 137 ; Returns: 131 138 ; CF: Set if event processed … … 144 151 ; Parameters 145 152 ; CX: Index of selected item 153 ; SS:BP: Ptr to MENU 146 154 ; Returns: 147 155 ; CF: Set if event processed
Note:
See TracChangeset
for help on using the changeset viewer.