Ignore:
Timestamp:
Feb 23, 2012, 7:14:06 AM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

For function int13/0h, restored the code to only reset the floppy drives if a floppy drive was passed in for reset. Other minor optimizations. Better create new floppy support in Serial Server.

File:
1 edited

Legend:

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

    r258 r259  
    7272.StoreDptPointersToIntVectors:
    7373    mov     dl, 80h
    74     call    RamVars_IsDriveHandledByThisBIOS
     74    call    RamVars_IsDriveHandledByThisBIOS_And_FindDPT_ForDriveNumber   ; DPT to DS:DI
    7575    jc      SHORT .FindForDrive81h  ; Store nothing if not our drive
    76     call    FindDPT_ForDriveNumber  ; DPT to DS:DI
    7776    mov     [es:HD0_DPT_POINTER_41h*4], di
    7877    mov     [es:HD0_DPT_POINTER_41h*4+2], ds
    7978.FindForDrive81h:
    8079    inc     dx
    81     call    RamVars_IsDriveHandledByThisBIOS
     80    call    RamVars_IsDriveHandledByThisBIOS_And_FindDPT_ForDriveNumber
    8281    jc      SHORT .ResetDetectedDrives
    83     call    FindDPT_ForDriveNumber
    8482    mov     [es:HD1_DPT_POINTER_46h*4], di
    8583    mov     [es:HD1_DPT_POINTER_46h*4+2], ds
Note: See TracChangeset for help on using the changeset viewer.