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