Changeset 27 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization


Ignore:
Timestamp:
Jul 28, 2010, 6:53:32 PM (14 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:
  • v1.1.1 broke booting from foreign drives, it is now fixed.
  • Fixed a bug where Disk Parameter Table was accessed with wrong pointer register after writing last block.
  • Cleaned AH=00h, Disk Controller Reset a bit.
  • Timeout errors might now get translated for better error codes on certain situations.
Location:
trunk/XTIDE_Universal_BIOS/Src/Initialization
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Initialization/FloppyDrive.asm

    r3 r27  
    22; Project name  :   IDE BIOS
    33; Created date  :   25.3.2010
    4 ; Last update   :   2.5.2010
     4; Last update   :   28.7.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Various floppy drive related functions that
     
    2525FloppyDrive_IsInt40hInstalled:
    2626    cmp     WORD [es:INTV_FLOPPY_FUNC*4+2], 0C000h  ; Any ROM segment?
    27     jae     SHORT .Int40hIsAlreadyInstalled
    28     clc
    29     ret
    30 ALIGN JUMP_ALIGN
    31 .Int40hIsAlreadyInstalled:
    32     stc
     27    cmc
    3328    ret
    3429
  • trunk/XTIDE_Universal_BIOS/Src/Initialization/Initialize.asm

    r23 r27  
    22; Project name  :   IDE BIOS
    33; Created date  :   23.3.2010
    4 ; Last update   :   1.7.2010
     4; Last update   :   28.7.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Functions for initializing the BIOS.
     
    418418ALIGN JUMP_ALIGN
    419419Initialize_ResetDetectedDrives:
    420     xor     ah, ah              ; Disk Controller Reset
    421     mov     dl, 80h             ; Reset all floppy drives and hard disks
    422     int     INTV_DISK_FUNC
    423     ret
     420    xor     bx, bx
     421    call    ResetFloppyDrivesWithInt40h
     422    mov     bl, 80h
     423    call    ResetForeignHardDisks
     424    jmp     AH0h_ResetHardDisksHandledByOurBIOS
Note: See TracChangeset for help on using the changeset viewer.