Changeset 175 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization
- Timestamp:
- Oct 22, 2011, 9:04:01 PM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectDrives.asm
r150 r175 21 21 mov bp, ROMVARS.ideVars0 ; CS:BP now points to first IDEVARS 22 22 .DriveDetectLoop: 23 call DetectDrives_WithIDEVARS ; Detect Master and Slave23 call .DetectDrives_WithIDEVARS ; Detect Master and Slave 24 24 add bp, BYTE IDEVARS_size ; Point to next IDEVARS 25 25 loop .DriveDetectLoop 26 27 %ifdef MODULE_SERIAL 28 test BYTE [es:BDA.bKBFlgs1], (1<<2) 29 ;; jz .done 30 mov bp, ROMVARS.ideVarsAutoSerial 31 ;;; fall-through 32 %else 26 33 ret 27 34 %endif 28 35 29 36 ;-------------------------------------------------------------------- … … 40 47 ; AX, BX, DX, SI, DI 41 48 ;-------------------------------------------------------------------- 42 DetectDrives_WithIDEVARS:49 .DetectDrives_WithIDEVARS: 43 50 push cx 44 51 mov ax, g_szMaster … … 50 57 call StartDetectionWithDriveSelectByteInBHandStringInAX 51 58 pop cx 59 .done: 52 60 ret 53 61 54 62 55 63 ;-------------------------------------------------------------------- 56 64 ; StartDetectionWithDriveSelectByteInBHandStringInAX
Note:
See TracChangeset
for help on using the changeset viewer.