Changeset 205 in xtideuniversalbios
- Timestamp:
- Dec 5, 2011, 3:14:21 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/Assembly_Library
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Inc/Menu.inc
r178 r205 19 19 ;-------------------------------------------------------------------- 20 20 %macro CALL_MENU_LIBRARY 1 21 %ifidn %1, Close 21 %ifidn %1, CloseMenuIfExitEventAllows 22 call MenuInit_CloseMenuIfExitEventAllows 23 24 %elifidn %1, Close 22 25 call MenuInit_CloseMenuWindow 23 26 … … 57 60 struc MENU_LIB 58 61 .DisplayWithHandlerInBXandUserDataInDXAX resb 2 62 .SendExitMenuEvent: 59 63 .Close: 60 64 .RefreshWindow resb 2 -
trunk/Assembly_Library/Src/Menu/MenuInit.asm
r133 r205 84 84 85 85 ;-------------------------------------------------------------------- 86 ; MenuInit_CloseMenuIfExitEventAllows 87 ; Parameters 88 ; SS:BP: Ptr to MENU 89 ; Returns: 90 ; Nothing 91 ; Corrupts registers: 92 ; AX, BX, DX 93 ;-------------------------------------------------------------------- 94 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 95 ALIGN JUMP_ALIGN 96 MenuInit_CloseMenuIfExitEventAllows: 97 call MenuEvent_ExitMenu 98 jc SHORT MenuInit_CloseMenuWindow 99 ret 100 %endif 101 102 103 ;-------------------------------------------------------------------- 86 104 ; MenuInit_CloseMenuWindow 87 105 ; Parameters
Note:
See TracChangeset
for help on using the changeset viewer.