Changeset 183 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src
- Timestamp:
- Nov 15, 2011, 4:35:14 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src
- Files:
-
- 2 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 -
trunk/XTIDE_Universal_BIOS/Src/Main.asm
r181 r183 15 15 ORG 000h ; Code start offset 0000h 16 16 17 17 %define MENUEVENT_INLINE_OFFSETS ; Only one menu required, save space and inline offsets 18 18 19 ; Included .inc files 19 20 %include "AssemblyLibrary.inc" ; Assembly Library. Must be included first! … … 150 151 iend 151 152 152 153 153 ; Libraries and data 154 154 %include "AssemblyLibrary.asm" … … 170 170 %include "BootMenu.asm" ; For Boot Menu operations 171 171 %include "BootMenuEvent.asm" ; For menu library event handling 172 %include "BootMenuPrint.asm" ; For printing Boot Menu strings (needs to come after BootMenuEvent.asm) 172 173 %include "FloppyDrive.asm" ; Floppy Drive related functions 173 174 %include "BootSector.asm" ; For loading boot sector 174 175 %include "BootPrint.asm" ; For printing boot information 175 %include "BootMenuPrint.asm" ; For printing Boot Menu strings176 176 %include "BootMenuPrintCfg.asm" ; For printing hard disk configuration 177 177
Note:
See TracChangeset
for help on using the changeset viewer.