Changeset 593 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Main.asm


Ignore:
Timestamp:
Jun 30, 2018, 8:27:04 AM (6 years ago)
Author:
aitotat
Message:

Flashing now works again.
Hack to get Windows 95 to work properly (MODULE_WIN95_CMOS_HACK included for 386 builds by default).
Edited makefile to produce large 386 build.
Fixed recovery time for QDI Vision VLB-IDE controllers.
No more warnings with Nasm 2.13.xx and later.
File dialog now properly restores default drive when file selection is cancelled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Main.asm

    r592 r593  
    8585    ret
    8686.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:
    8794
    8895    mov     ax, SCREEN_BACKGROUND_CHARACTER_AND_ATTRIBUTE
     
    93100    mov     ax, DOS_BACKGROUND_CHARACTER_AND_ATTRIBUTE
    94101    call    InitializeScreenWithBackgroundCharAndAttrInAX
     102
     103    call    UnhookInterrupt2Fh
    95104
    96105    ; Exit to DOS
     
    156165; Section containing uninitialized data
    157166SECTION .bss
     167
     168bDosVersionMajor:   resb    1
     169
Note: See TracChangeset for help on using the changeset viewer.