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


Ignore:
Timestamp:
Mar 1, 2013, 5:12:33 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Reduced minimum time to display hotkeys. Now it is 2 seconds.
  • Brought back IDE controller reset.
  • Space savings by merging AH=Dh to AH=0h. AH=Dh is now redirected to AH=9h.
Location:
trunk/XTIDE_Universal_BIOS/Src/Initialization
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Initialization/AdvancedAta/AdvAtaInit.asm

    r399 r507  
    6969;       DS:DI:  Ptr to DPT for Single or Slave Drive
    7070;   Returns:
     71;       AH:     Int 13h return status
    7172;       CF:     Cleared if success or no controller to initialize
    7273;               Set if error
    7374;   Corrupts registers:
    74 ;       AX, BX, CX, DX
     75;       AL, BX, CX, DX
    7576;--------------------------------------------------------------------
    7677AdvAtaInit_InitializeControllerForDPTinDSDI:
     
    9192
    9293.NoAdvancedController:
     94    xor     ax, ax                      ; Success
    9395    ret
    9496
  • trunk/XTIDE_Universal_BIOS/Src/Initialization/Initialize.asm

    r443 r507  
    8080    call    DetectDrives_FromAllIDEControllers
    8181    call    Interrupts_InitializeInterruptVectors
    82     ; Fall to .StoreDptPointersToIntVectors
    83 
    84 ;--------------------------------------------------------------------
    85 ; .StoreDptPointersToIntVectors
    86 ;   Parameters:
    87 ;       DS:     RAMVARS segment
    88 ;       ES:     BDA and interrupt vector segment (zero)
    89 ;   Returns:
    90 ;       Nothing
    91 ;   Corrupts registers:
    92 ;       DX, DI
    93 ;--------------------------------------------------------------------
    94 .StoreDptPointersToIntVectors:
    95     mov     dl, 80h
    96     call    FindDPT_ForDriveNumberInDL   ; DPT to DS:DI
    97     jc      SHORT .FindForDrive81h  ; Store nothing if not our drive
    98     mov     [es:HD0_DPT_POINTER_41h*4], di
    99     mov     [es:HD0_DPT_POINTER_41h*4+2], ds
    100 .FindForDrive81h:
    101     inc     dx
    102     call    FindDPT_ForDriveNumberInDL
    103     jc      SHORT .ResetDetectedDrives
    104     mov     [es:HD1_DPT_POINTER_46h*4], di
    105     mov     [es:HD1_DPT_POINTER_46h*4+2], ds
    10682    ; Fall to .ResetDetectedDrives
    10783
Note: See TracChangeset for help on using the changeset viewer.