Changeset 133 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/MenuEvent.asm
- Timestamp:
- Mar 12, 2011, 1:48:48 PM (14 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Menu/MenuEvent.asm
r104 r133 21 21 pop ds 22 22 mov si, bp 23 mov b x, MENUEVENT.InitializeMenuinitFromDSSI23 mov bl, MENUEVENT.InitializeMenuinitFromDSSI 24 24 jmp SHORT MenuEvent_SendFromBX 25 25 … … 37 37 ALIGN JUMP_ALIGN 38 38 MenuEvent_ExitMenu: 39 mov b x, MENUEVENT.ExitMenu39 mov bl, MENUEVENT.ExitMenu 40 40 jmp SHORT MenuEvent_SendFromBX 41 41 … … 53 53 ALIGN JUMP_ALIGN 54 54 MenuEvent_IdleProcessing: 55 mov b x, MENUEVENT.IdleProcessing55 mov bl, MENUEVENT.IdleProcessing 56 56 jmp SHORT MenuEvent_SendFromBX 57 57 … … 71 71 ALIGN JUMP_ALIGN 72 72 MenuEvent_RefreshTitle: 73 mov b x, MENUEVENT.RefreshTitle74 jmp SHORT LoadHighlightedItemToCXandSendMessageFromBX73 mov bl, MENUEVENT.RefreshTitle 74 SKIP2B cx ; mov cx, <next instruction> 75 75 76 ALIGN JUMP_ALIGN77 76 MenuEvent_RefreshInformation: 78 mov bx, MENUEVENT.RefreshInformation 79 LoadHighlightedItemToCXandSendMessageFromBX: 77 mov bl, MENUEVENT.RefreshInformation 80 78 mov cx, [bp+MENUINIT.wHighlightedItem] 81 79 jmp SHORT MenuEvent_SendFromBX … … 96 94 ALIGN JUMP_ALIGN 97 95 MenuEvent_RefreshItemFromCX: 98 mov b x, MENUEVENT.RefreshItemFromCX96 mov bl, MENUEVENT.RefreshItemFromCX 99 97 jmp SHORT MenuEvent_SendFromBX 100 98 … … 116 114 push dx 117 115 118 mov b x, MENUEVENT.ItemHighlightedFromCX116 mov bl, MENUEVENT.ItemHighlightedFromCX 119 117 call MenuEvent_SendFromBX 120 118 … … 139 137 ALIGN JUMP_ALIGN 140 138 MenuEvent_KeyStrokeInAX: 141 mov b x, MENUEVENT.KeyStrokeInAX142 jmp SHORT MenuEvent_SendFromBX139 mov bl, MENUEVENT.KeyStrokeInAX 140 SKIP2B dx ; mov dx, <next instruction> 143 141 144 142 … … 154 152 ; AX, BX, DX 155 153 ;-------------------------------------------------------------------- 156 ALIGN JUMP_ALIGN157 154 MenuEvent_ItemSelectedFromCX: 158 mov b x, MENUEVENT.ItemSelectedFromCX159 jmp SHORTMenuEvent_SendFromBX155 mov bl, MENUEVENT.ItemSelectedFromCX 156 ; Fall to MenuEvent_SendFromBX 160 157 161 158 … … 163 160 ; MenuEvent_SendFromBX 164 161 ; Parameters 165 ; B X: Menu event to send162 ; BL: Menu event to send 166 163 ; SS:BP: Ptr to MENU 167 164 ; Other registers: Event specific parameters … … 180 177 push si 181 178 push cx 179 xor bh, bh 182 180 call [bp+MENU.fnEventHandler] 183 181 pop cx
Note:
See TracChangeset
for help on using the changeset viewer.