Changeset 369 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/MenuInit.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/Assembly_Library/Src/Menu/MenuInit.asm
r289 r369 15 15 ; All except segments 16 16 ;-------------------------------------------------------------------- 17 ALIGN JUMP_ALIGN17 ALIGN MENU_JUMP_ALIGN 18 18 MenuInit_DisplayMenuWithHandlerInBXandUserDataInDXAX: 19 19 push es … … 49 49 ; All, except SS:BP 50 50 ;-------------------------------------------------------------------- 51 ALIGN JUMP_ALIGN51 ALIGN MENU_JUMP_ALIGN 52 52 MenuInit_EnterMenuWithHandlerInBXandUserDataInDXAX: 53 53 mov [bp+MENU.fnEventHandler], bx … … 76 76 ; AX, BX, CX, DX, SI, DI 77 77 ;-------------------------------------------------------------------- 78 ALIGN JUMP_ALIGN78 ALIGN MENU_JUMP_ALIGN 79 79 MenuInit_RefreshMenuWindow: 80 80 call MenuBorders_RefreshAll ; Draw borders … … 94 94 ;-------------------------------------------------------------------- 95 95 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 96 ALIGN JUMP_ALIGN96 ALIGN MENU_JUMP_ALIGN 97 97 MenuInit_CloseMenuIfExitEventAllows: 98 98 call MenuEvent_ExitMenu … … 111 111 ; Nothing 112 112 ;-------------------------------------------------------------------- 113 ALIGN JUMP_ALIGN113 ALIGN MENU_JUMP_ALIGN 114 114 MenuInit_CloseMenuWindow: 115 115 or BYTE [bp+MENU.bFlags], FLG_MENU_EXIT … … 127 127 ; AX, BX, CX, DX, SI, DI 128 128 ;-------------------------------------------------------------------- 129 ALIGN JUMP_ALIGN129 ALIGN MENU_JUMP_ALIGN 130 130 MenuInit_HighlightItemFromAX: 131 131 sub ax, [bp+MENUINIT.wHighlightedItem] … … 142 142 ;-------------------------------------------------------------------- 143 143 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 144 ALIGN JUMP_ALIGN144 ALIGN MENU_JUMP_ALIGN 145 145 MenuInit_GetHighlightedItemToAX: 146 146 mov ax, [bp+MENUINIT.wHighlightedItem] … … 162 162 ;-------------------------------------------------------------------- 163 163 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 164 ALIGN JUMP_ALIGN164 ALIGN MENU_JUMP_ALIGN 165 165 MenuInit_SetTitleHeightFromAL: 166 166 mov [bp+MENUINIT.bTitleLines], al 167 167 ret 168 168 169 ALIGN JUMP_ALIGN169 ALIGN MENU_JUMP_ALIGN 170 170 MenuInit_SetInformationHeightFromAL: 171 171 mov [bp+MENUINIT.bInfoLines], al 172 172 ret 173 173 174 ALIGN JUMP_ALIGN174 ALIGN MENU_JUMP_ALIGN 175 175 MenuInit_SetTotalItemsFromAX: 176 176 mov [bp+MENUINIT.wItems], ax … … 191 191 ;-------------------------------------------------------------------- 192 192 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 193 ALIGN JUMP_ALIGN193 ALIGN MENU_JUMP_ALIGN 194 194 MenuInit_SetUserDataFromDSSI: 195 195 mov [bp+MENU.dwUserData], si … … 197 197 ret 198 198 199 ALIGN JUMP_ALIGN199 ALIGN MENU_JUMP_ALIGN 200 200 MenuInit_GetUserDataToDSSI: 201 201 lds si, [bp+MENU.dwUserData]
Note:
See TracChangeset
for help on using the changeset viewer.