Changeset 555 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm


Ignore:
Timestamp:
Jun 15, 2013, 1:39:33 PM (11 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Short timeouts for drive detection work again.
  • All drives are now reset before booting (instead of XTIDE Universal BIOS controlled drives only).
  • Windows 98 now works without tricks (Floppy Drive accesses are redirected from INT 13h to 40h).
File:
1 edited

Legend:

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

    r553 r555  
    7979;       DS:     RAMVARS segment
    8080;--------------------------------------------------------------------
     81.InitializeBiosAndDetectDrives:
    8182%ifdef MODULE_HOTKEYS
    8283    call    TimerTicks_ReadFromBdaToAX
     
    9798    jb      SHORT .WaitUntilTimeToCloseHotkeyBar
    9899%endif
     100    ; Fall to .ResetAllDrives
     101
     102
     103;--------------------------------------------------------------------
     104; .ResetAllDrives
     105;   Parameters:
     106;       DS:     RAMVARS segment
     107;       ES:     BDA and interrupt vector segment (zero)
     108;   Returns:
     109;       Nothing
     110;--------------------------------------------------------------------
     111.ResetAllDrives:
     112    ; Reset all drives in the system, not just our drives.
     113    xor     ax, ax      ; Disk Controller Reset
     114    mov     dl, 80h     ; Reset all hard drives and floppy drives
     115    int     BIOS_DISK_INTERRUPT_13h
     116    ;call   ResetHardDisksHandledByOurBIOS.ErrorCodeNotUsed ; Our drives only
    99117    ; Fall to SelectDriveToBootFrom
    100118
Note: See TracChangeset for help on using the changeset viewer.