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/Initialization/Initialize.asm

    r553 r555  
    8888    call    Interrupts_InitializeInterruptVectors   ; HotkeyBar requires INT 40h so install handlers before drive detection
    8989    call    DetectDrives_FromAllIDEControllers
     90    mov     [RAMVARS.wDrvDetectSignature], es       ; No longer in drive detection mode (set normal timeouts)
    9091    ; Fall to .StoreDptPointersToIntVectors
    9192
    92 
    93 %ifdef MODULE_COMPATIBLE_TABLES
    9493;--------------------------------------------------------------------
    9594; .StoreDptPointersToIntVectors
     
    102101;       AX, CX, DX, SI, DI
    103102;--------------------------------------------------------------------
     103%ifdef MODULE_COMPATIBLE_TABLES
    104104.StoreDptPointersToIntVectors:
    105105%ifndef USE_AT
     
    125125    mov     [es:HD1_DPT_POINTER_46h*4+2], ax
    126126.CompatibleDPTsCreated:
    127     ; Fall to .ResetDetectedDrives
    128127%endif ; MODULE_COMPATIBLE_TABLES
    129 
    130 
    131 ;--------------------------------------------------------------------
    132 ; .ResetDetectedDrives
    133 ;   Parameters:
    134 ;       DS:     RAMVARS segment
    135 ;       ES:     BDA and interrupt vector segment (zero)
    136 ;   Returns:
    137 ;       Nothing
    138 ;   Corrupts registers:
    139 ;       All, except DS and ES
    140 ;--------------------------------------------------------------------
    141 .ResetDetectedDrives:
    142     call    Idepack_FakeToSSBP
    143     call    AH0h_ResetAllOurHardDisksAtTheEndOfDriveInitialization
    144     add     sp, BYTE SIZE_OF_IDEPACK_WITHOUT_INTPACK
    145128    ret
Note: See TracChangeset for help on using the changeset viewer.