Changeset 567 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectDrives.asm
- Timestamp:
- May 26, 2014, 1:25:15 PM (11 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectDrives.asm
r558 r567 62 62 ; if serial drive detected, do not scan (avoids duplicate drives and isn't needed - we already have a connection) 63 63 ; 64 call FindDPT_ToDSDIforSerialDevice ; does not modify AX64 call FindDPT_ToDSDIforSerialDevice ; Does not modify AX 65 65 jnc .AddHardDisks 66 66 … … 68 68 69 69 %ifdef MODULE_HOTKEYS 70 cmp al, COM_DETECT_HOTKEY_SCANCODE 70 cmp al, COM_DETECT_HOTKEY_SCANCODE ; Set by last call to HotkeyBar_UpdateDuringDriveDetection above 71 71 je .DriveDetectLoop 72 72 %endif … … 134 134 mov [RAMVARS.xlateVars+XLATEVARS.bFlopCntAndFirst], al 135 135 %endif 136 137 %ifdef MODULE_8BIT_IDE_ADVANCED138 NoSlaveDriveAvailable:139 %endif140 136 ret 141 137 … … 156 152 ; ES: Zero (BDA segment) 157 153 ; Returns: 158 ; 154 ; Nothing 159 155 ; Corrupts registers: 160 156 ; AX, BL, CX, DX, SI, DI 161 157 ;-------------------------------------------------------------------- 162 158 StartDetectionWithDriveSelectByteInBHandStringInCX: 163 %ifdef MODULE_8BIT_IDE_ADVANCED164 mov al, [cs:bp+IDEVARS.bDevice]165 cmp al, DEVICE_8BIT_XTCF_PIO8166 jb SHORT .DoNotSkipSlaveDriveDetection167 cmp al, DEVICE_8BIT_XTCF_DMA168 ja SHORT .DoNotSkipSlaveDriveDetection169 170 ; XT-CF do not support slave drives so skip detection171 test bh, FLG_DRVNHEAD_DRV172 jnz SHORT NoSlaveDriveAvailable173 .DoNotSkipSlaveDriveDetection:174 %endif ; MODULE_8BIT_IDE_ADVANCED175 176 159 call DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP 177 160 … … 221 204 ; Nothing 222 205 ; Returns: 223 ; CF: 206 ; CF: Set (from DetectPrint_NullTerminatedStringFromCSSIandSetCF) 224 207 ; Corrupts registers: 225 208 ; AX, SI … … 248 231 call AtaID_VerifyFromESSI 249 232 pop bx 250 j cSHORT DetectDrives_DriveNotFound233 jnz SHORT DetectDrives_DriveNotFound 251 234 call CreateDPT_FromAtaInformation 252 235 jc SHORT DetectDrives_DriveNotFound
Note:
See TracChangeset
for help on using the changeset viewer.