Changeset 614 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/IdeAutodetect.asm
- Timestamp:
- Jun 10, 2021, 4:56:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/IdeAutodetect.asm
r609 r614 139 139 eSHL_IM bx, 1 ; SHL 1 register offsets for XT-CF 140 140 call DetectIdeDeviceFromPortsDXandSIwithOffsetsInBLandBH 141 jc SHORT .ContinueDetection 142 mov al, DEVICE_8BIT_XTCF_PIO8_WITH_BIU_OFFLOAD 143 cmp BYTE [cs:IsOlivettiM24], 1 144 jne SHORT .IdeDeviceFound 141 145 mov al, DEVICE_8BIT_XTCF_PIO8 142 jnc SHORT .IdeDeviceFound 146 jmp SHORT .IdeDeviceFound 147 .ContinueDetection: 143 148 shr bx, 1 144 149 .SkipXTCF: … … 166 171 pop dx 167 172 cmp al, DEVICE_8BIT_XTIDE_REV2 168 je SHORT .IdeDeviceFound 173 jne SHORT .XtideRev1 174 cmp BYTE [cs:IsOlivettiM24], 1 175 jne SHORT .IdeDeviceFound 176 mov al, DEVICE_8BIT_XTIDE_REV2_OLIVETTI 177 ret ; With CF cleared 178 .XtideRev1: 169 179 mov al, DEVICE_8BIT_XTIDE_REV1 ; We must have rev 1 170 180 .IdeDeviceFound:
Note:
See TracChangeset
for help on using the changeset viewer.