Changeset 130 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrint.asm
- Timestamp:
- Mar 4, 2011, 5:54:41 PM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrint.asm
r128 r130 4 4 ; Section containing code 5 5 SECTION .text 6 7 ;-------------------------------------------------------------------- 8 ; BootMenuPrint_ClearScreen 9 ; Parameters: 10 ; Nothing 11 ; Returns: 12 ; Nothing 13 ; Corrupts registers: 14 ; AX, DI 15 ;-------------------------------------------------------------------- 16 ALIGN JUMP_ALIGN 17 BootMenuPrint_ClearScreen: 18 call BootMenuPrint_InitializeDisplayContext 19 xor ax, ax 20 CALL_DISPLAY_LIBRARY SetCursorCoordinatesFromAX 21 mov ax, ' ' | (MONO_NORMAL<<8) 22 CALL_DISPLAY_LIBRARY ClearScreenWithCharInALandAttrInAH 23 ret 24 25 26 ;-------------------------------------------------------------------- 27 ; BootMenuPrint_InitializeDisplayContext 28 ; Parameters: 29 ; Nothing 30 ; Returns: 31 ; Nothing 32 ; Corrupts registers: 33 ; AX, DI 34 ;-------------------------------------------------------------------- 35 ALIGN JUMP_ALIGN 36 BootMenuPrint_InitializeDisplayContext: 37 CALL_DISPLAY_LIBRARY InitializeDisplayContext 38 ret 39 6 40 7 41 ;-------------------------------------------------------------------- … … 40 74 pop di 41 75 stc 42 ret43 44 45 ;--------------------------------------------------------------------46 ; BootMenuPrint_ClearScreen47 ; Parameters:48 ; Nothing49 ; Returns:50 ; Nothing51 ; Corrupts registers:52 ; AX, DI53 ;--------------------------------------------------------------------54 ALIGN JUMP_ALIGN55 BootMenuPrint_ClearScreen:56 mov ax, ' ' | (MONO_NORMAL<<8)57 CALL_DISPLAY_LIBRARY ClearScreenWithCharInALandAttrInAH58 76 ret 59 77
Note:
See TracChangeset
for help on using the changeset viewer.