Changeset 507 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization
- Timestamp:
- Mar 1, 2013, 5:12:33 PM (12 years ago)
- google:author:
- aitotat@gmail.com
- 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 69 69 ; DS:DI: Ptr to DPT for Single or Slave Drive 70 70 ; Returns: 71 ; AH: Int 13h return status 71 72 ; CF: Cleared if success or no controller to initialize 72 73 ; Set if error 73 74 ; Corrupts registers: 74 ; A X, BX, CX, DX75 ; AL, BX, CX, DX 75 76 ;-------------------------------------------------------------------- 76 77 AdvAtaInit_InitializeControllerForDPTinDSDI: … … 91 92 92 93 .NoAdvancedController: 94 xor ax, ax ; Success 93 95 ret 94 96 -
trunk/XTIDE_Universal_BIOS/Src/Initialization/Initialize.asm
r443 r507 80 80 call DetectDrives_FromAllIDEControllers 81 81 call Interrupts_InitializeInterruptVectors 82 ; Fall to .StoreDptPointersToIntVectors83 84 ;--------------------------------------------------------------------85 ; .StoreDptPointersToIntVectors86 ; Parameters:87 ; DS: RAMVARS segment88 ; ES: BDA and interrupt vector segment (zero)89 ; Returns:90 ; Nothing91 ; Corrupts registers:92 ; DX, DI93 ;--------------------------------------------------------------------94 .StoreDptPointersToIntVectors:95 mov dl, 80h96 call FindDPT_ForDriveNumberInDL ; DPT to DS:DI97 jc SHORT .FindForDrive81h ; Store nothing if not our drive98 mov [es:HD0_DPT_POINTER_41h*4], di99 mov [es:HD0_DPT_POINTER_41h*4+2], ds100 .FindForDrive81h:101 inc dx102 call FindDPT_ForDriveNumberInDL103 jc SHORT .ResetDetectedDrives104 mov [es:HD1_DPT_POINTER_46h*4], di105 mov [es:HD1_DPT_POINTER_46h*4+2], ds106 82 ; Fall to .ResetDetectedDrives 107 83
Note:
See TracChangeset
for help on using the changeset viewer.