Changeset 369 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuEvent.asm
- Timestamp:
- Mar 29, 2012, 9:29:28 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuEvent.asm
r258 r369 16 16 ; All 17 17 ;-------------------------------------------------------------------- 18 ALIGN JUMP_ALIGN19 18 BootMenuEvent_Handler: 20 19 … … 66 65 ; Returns: 67 66 ; DS:SI: Ptr to initialized MENUINIT struct 68 ALIGN JUMP_ALIGN69 67 .FirstEvent: 70 68 .InitializeMenuinitFromDSSI: … … 85 83 ret 86 84 87 ALIGN JUMP_ALIGN88 85 .GetDefaultMenuitemToDX: 89 86 mov dl, [cs:ROMVARS.bBootDrv] ; Default boot drive … … 92 89 call DriveXlate_SetDriveToSwap 93 90 jmp BootMenu_GetMenuitemToDXforDriveInDL 94 ALIGN JUMP_ALIGN 91 95 92 .DoNotSetDefaultMenuitem: 96 93 xor dx, dx ; Whatever appears first on boot menu … … 101 98 ; CX: Index of new highlighted item 102 99 ; DX: Index of previously highlighted item or NO_ITEM_HIGHLIGHTED 103 ALIGN JUMP_ALIGN104 100 .ItemHighlightedFromCX: 105 101 push cx … … 124 120 ; AL: ASCII character for the key 125 121 ; AH: Keyboard library scan code for the key 126 ALIGN JUMP_ALIGN127 122 .KeyStrokeInAX: 128 123 cmp ah, ROM_BOOT_HOTKEY_SCANCODE … … 130 125 ;; NOTE: carry flag will be clear after compare above that resulted in zero 131 126 jmp Int19hMenu_JumpToBootSector_or_RomBoot 132 ALIGN JUMP_ALIGN 127 133 128 .CheckDriveHotkeys: 134 129 call BootMenu_GetMenuitemToAXforAsciiHotkeyInAL … … 147 142 ; Parameters: 148 143 ; CX: Index of selected item 149 ALIGN JUMP_ALIGN150 144 .ItemSelectedFromCX: 151 145 CALL_MENU_LIBRARY Close
Note:
See TracChangeset
for help on using the changeset viewer.