Changeset 202 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src
- Timestamp:
- Nov 22, 2011, 2:08:32 PM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuEvent.asm
r194 r202 18 18 ALIGN JUMP_ALIGN 19 19 BootMenuEvent_Handler: 20 20 21 21 %ifdef MENUEVENT_INLINE_OFFSETS 22 22 23 23 add bx, BootMenuEvent_Handler 24 24 jmp bx … … 32 32 MENUEVENT_RefreshInformation equ (BootMenuEvent_Handler.RefreshInformation - BootMenuEvent_Handler) 33 33 MENUEVENT_RefreshItemFromCX equ (BootMenuEvent_Handler.RefreshItemFromCX - BootMenuEvent_Handler) 34 ; 35 ; Note that there is no entry for MENUEVENT_IdleProcessing. If MENUEVENT_IDLEPROCESSING_ENABLE is not %defined, 34 ; 35 ; Note that there is no entry for MENUEVENT_IdleProcessing. If MENUEVENT_IDLEPROCESSING_ENABLE is not %defined, 36 36 ; then the entry point will not be called (saving memory on this end and at the CALL point). 37 37 ; 38 38 39 39 %else 40 40 41 41 cmp bx, BYTE MENUEVENT.RefreshItemFromCX ; Above last supported item? 42 42 ja SHORT .EventNotHandled … … 46 46 clc 47 47 ret 48 48 49 49 ALIGN WORD_ALIGN 50 50 .rgfnEventSpecificHandlers: … … 58 58 dw .RefreshInformation ; MENUEVENT.RefreshInformation 59 59 dw .RefreshItemFromCX ; MENUEVENT.RefreshItemFromCX 60 60 61 61 %endif 62 62 … … 153 153 ALIGN JUMP_ALIGN 154 154 .RefreshItemFromCX: 155 mov bl,00h; will result in SF being clear in .RefreshItemOrInformation...155 xor bl, bl ; will result in SF being clear in .RefreshItemOrInformation... 156 156 SKIP2B dx ; dx corrupted below by BootMenu_GetDriveToDXforMenuitemInCX 157 157 ; Fall to .RefreshInformation 158 158 159 159 ; Parameters: 160 160 ; CX: Index of highlighted item … … 183 183 jc SHORT BootMenuPrint_HardDiskMenuitem 184 184 ; fall through to BootMenuEvent_FallThroughToFloppyMenuitem 185 186 ;;; 185 186 ;;; 187 187 ;;; Fall-through (to BootMenuPrint_FloppyMenuitem) 188 188 ;;; (checked at assembler time with the code after BootMenuPrint_FloppyMenuitem) 189 189 ;;; 190 190 ALIGN JUMP_ALIGN 191 BootMenuEvent_FallThroughToFloppyMenuitem: 191 BootMenuEvent_FallThroughToFloppyMenuitem: 192 192 ; fall through to BootMenuPrint_FloppyMenuitem
Note:
See TracChangeset
for help on using the changeset viewer.