Changeset 597 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h


Ignore:
Timestamp:
Jul 11, 2018, 9:44:43 AM (6 years ago)
Author:
Tomi Tilli
Message:

Windows 95 CMOS hack now works with Award BIOSes.
Some small optimizations to INT 19h and INT 19h reset handlers.
Added menuitem to configurator for clearing BDA drive count.

Location:
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h/BootSector.asm

    r595 r597  
    5959    jne     SHORT .FirstHardDiskSectorNotBootable
    6060.AlwaysBootFromFloppyDriveForBooterGames:
    61     stc     ; Boot Sector loaded successfully
    62     jmp     SHORT Int19h_JumpToBootSectorOrRomBoot
     61    clc     ; Boot Sector loaded successfully
     62    jmp     SHORT Int19h_JumpToBootSectorInESBXOrRomBoot
    6363
    6464.FirstHardDiskSectorNotBootable:
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h/Int19hReset.asm

    r595 r597  
    3838    call    BootSector_LoadFirstSectorFromDriveDL
    3939    jc      SHORT .Reboot
    40 
    41     xor     ax, ax
    42     mov     ds, ax
    43 %ifdef USE_386
    44     mov     fs, ax
    45     mov     gs, ax
    46 %endif
    4740    cmp     WORD [bx+510], 0AA55h   ; Valid boot sector?
    48     jne     SHORT .Reboot
    49     push    es                      ; Zero
    50     push    bx
    51     retf
     41    je      SHORT Int19h_JumpToBootSectorInESBXOrRomBootWithoutStackChange
    5242
    5343    ; Do warm reset since boot from floppy drive failed
Note: See TracChangeset for help on using the changeset viewer.