Changeset 45 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/MenuBorders.asm
- Timestamp:
- Sep 29, 2010, 5:59:07 PM (15 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Menu/MenuBorders.asm
r44 r45 2 2 ; Project name : Assembly Library 3 3 ; Created date : 14.7.2010 4 ; Last update : 2 7.9.20104 ; Last update : 28.9.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Functions for drawing menu borders. … … 45 45 ; Nothing 46 46 ; Corrupts registers: 47 ; AX, DX, SI, DI47 ; AX, BX, SI, DI 48 48 ;-------------------------------------------------------------------- 49 49 ALIGN JUMP_ALIGN 50 50 MenuBorders_AdjustDisplayContextForDrawingBorders: 51 mov dl, ATTRIBUTES_ARE_USED51 mov bl, ATTRIBUTES_ARE_USED 52 52 mov ax, MenuCharOut_MenuBorderTeletypeOutputWithAttribute 53 CALL_DISPLAY_LIBRARY SetCharOutputFunctionFromAXwithAttribFlagIn DL53 CALL_DISPLAY_LIBRARY SetCharOutputFunctionFromAXwithAttribFlagInBL 54 54 55 55 mov ax, bp … … 269 269 call MenuAttribute_SetToDisplayContextFromTypeInSI 270 270 271 push dx272 mov dl, ATTRIBUTES_ARE_USED271 push bx 272 mov bl, ATTRIBUTES_ARE_USED 273 273 mov ax, FAST_OUTPUT_WITH_ATTRIBUTE_ONLY 274 CALL_DISPLAY_LIBRARY SetCharOutputFunctionFromAXwithAttribFlagIn DL275 pop dx274 CALL_DISPLAY_LIBRARY SetCharOutputFunctionFromAXwithAttribFlagInBL 275 pop bx 276 276 277 277 call PrintMultipleBorderCharactersFromAL ; AL does not matter
Note:
See TracChangeset
for help on using the changeset viewer.