Changeset 593 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Main.asm
- Timestamp:
- Jun 30, 2018, 8:27:04 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Main.asm
r592 r593 85 85 ret 86 86 .DosVersionIsOK: 87 mov [bDosVersionMajor], al ; bDosVersionMajor must be initialized by the application (library code depends on it) 88 cmp al, 5 89 jb SHORT .DoNotInstallInt2FhHandler 90 ; Since we are installing our Int2Fh handler we must also hook interrupt 23h to ensure a clean exit on ctrl-c/ctrl-break 91 call HookInterrupt23h 92 call HookInterrupt2Fh 93 .DoNotInstallInt2FhHandler: 87 94 88 95 mov ax, SCREEN_BACKGROUND_CHARACTER_AND_ATTRIBUTE … … 93 100 mov ax, DOS_BACKGROUND_CHARACTER_AND_ATTRIBUTE 94 101 call InitializeScreenWithBackgroundCharAndAttrInAX 102 103 call UnhookInterrupt2Fh 95 104 96 105 ; Exit to DOS … … 156 165 ; Section containing uninitialized data 157 166 SECTION .bss 167 168 bDosVersionMajor: resb 1 169
Note:
See TracChangeset
for help on using the changeset viewer.