Changeset 68 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Main.asm
- Timestamp:
- Dec 9, 2010, 6:36:00 PM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Main.asm
r65 r68 2 2 ; Project name : XTIDE Univeral BIOS Configurator v2 3 3 ; Created date : 5.10.2010 4 ; Last update : 3.12.20104 ; Last update : 7.12.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Program start and exit. … … 54 54 ALIGN JUMP_ALIGN 55 55 Main_Start: 56 CALL_DISPLAY_LIBRARY InitializeDisplayContext57 CALL_DISPLAY_LIBRARY ClearScreen56 mov ax, SCREEN_BACKGROUND_CHARACTER_AND_ATTRIBUTE 57 call InitializeScreenWithBackgroudCharAndAttrInAX 58 58 59 59 call Main_InitializeCfgVars 60 60 call MenuEvents_DisplayMenu 61 mov ax, DOS_BACKGROUND_CHARACTER_AND_ATTRIBUTE 62 call InitializeScreenWithBackgroudCharAndAttrInAX 61 63 62 64 ; Exit to DOS 63 CALL_DISPLAY_LIBRARY SynchronizeDisplayContextToHardware64 65 mov ax, 4C00h ; Exit to DOS 65 66 int 21h 67 68 69 ;-------------------------------------------------------------------- 70 ; InitializeScreenWithBackgroudCharAndAttrInAX 71 ; Parameters: 72 ; AL: Background character 73 ; AH: Background attribute 74 ; Returns: 75 ; Nothing 76 ; Corrupts registers: 77 ; AX, DX, DI 78 ;-------------------------------------------------------------------- 79 ALIGN JUMP_ALIGN 80 InitializeScreenWithBackgroudCharAndAttrInAX: 81 xchg dx, ax 82 CALL_DISPLAY_LIBRARY InitializeDisplayContext ; Reset cursor etc 83 xchg ax, dx 84 CALL_DISPLAY_LIBRARY ClearScreenWithCharInALandAttrInAH 85 ret 66 86 67 87
Note:
See TracChangeset
for help on using the changeset viewer.