Changeset 183 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot
- Timestamp:
- Nov 15, 2011, 4:35:14 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuEvent.asm
r140 r183 24 24 ALIGN JUMP_ALIGN 25 25 BootMenuEvent_Handler: 26 27 %ifdef MENUEVENT_INLINE_OFFSETS 28 29 add bx, BootMenuEvent_Handler 30 jmp bx 31 32 %else 33 26 34 cmp bx, BYTE MENUEVENT.RefreshItemFromCX ; Above last supported item? 27 35 ja SHORT .EventNotHandled 28 36 jmp [cs:bx+.rgfnEventSpecificHandlers] 37 38 %endif 39 29 40 .EventNotHandled: 30 41 clc 31 42 ret 32 43 44 %ifdef MENUEVENT_INLINE_OFFSETS 45 46 MENUEVENT_InitializeMenuinitFromDSSI equ (BootMenuEvent_Handler.InitializeMenuinitFromDSSI - BootMenuEvent_Handler) 47 MENUEVENT_ExitMenu equ (BootMenuEvent_Handler.EventCompleted - BootMenuEvent_Handler) 48 MENUEVENT_IdleProcessing equ (BootMenuEvent_Handler.EventNotHandled - BootMenuEvent_Handler) 49 MENUEVENT_ItemHighlightedFromCX equ (BootMenuEvent_Handler.ItemHighlightedFromCX - BootMenuEvent_Handler) 50 MENUEVENT_ItemSelectedFromCX equ (BootMenuEvent_Handler.ItemSelectedFromCX - BootMenuEvent_Handler) 51 MENUEVENT_KeyStrokeInAX equ (BootMenuEvent_Handler.KeyStrokeInAX - BootMenuEvent_Handler) 52 MENUEVENT_RefreshTitle equ (BootMenuPrint_TitleStrings - BootMenuEvent_Handler) 53 MENUEVENT_RefreshInformation equ (BootMenuEvent_Handler.RefreshInformation - BootMenuEvent_Handler) 54 MENUEVENT_RefreshItemFromCX equ (BootMenuEvent_Handler.RefreshItemFromCX - BootMenuEvent_Handler) 55 56 %else 57 33 58 ALIGN WORD_ALIGN 34 59 .rgfnEventSpecificHandlers: … … 42 67 dw .RefreshInformation ; MENUEVENT.RefreshInformation 43 68 dw .RefreshItemFromCX ; MENUEVENT.RefreshItemFromCX 69 70 %endif 44 71 45 72
Note:
See TracChangeset
for help on using the changeset viewer.