Changeset 189 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization
- Timestamp:
- Nov 16, 2011, 6:29:32 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Initialization
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectDrives.asm
r179 r189 21 21 mov bp, ROMVARS.ideVars0 ; CS:BP now points to first IDEVARS 22 22 .DriveDetectLoop: 23 mov si,g_szDetect 23 24 call .DetectDrives_WithIDEVARS ; Detect Master and Slave 24 25 add bp, BYTE IDEVARS_size ; Point to next IDEVARS … … 29 30 jz .done 30 31 mov bp, ROMVARS.ideVarsSerialAuto 32 mov si,g_szSerial 31 33 ;;; fall-through 32 34 %else … … 42 44 ; DS: RAMVARS segment 43 45 ; ES: Zero (BDA segment) 46 ; SI: Ptr to template string 44 47 ; Returns: 45 48 ; Nothing … … 49 52 .DetectDrives_WithIDEVARS: 50 53 push cx 54 55 push si 51 56 mov ax, g_szMaster 52 57 mov bh, MASK_DRVNHEAD_SET ; Select Master drive 53 58 call StartDetectionWithDriveSelectByteInBHandStringInAX ; Detect and create DPT + BOOTNFO 54 59 pop si 60 55 61 mov ax, g_szSlave 56 62 mov bh, MASK_DRVNHEAD_SET | FLG_DRVNHEAD_DRV -
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectPrint.asm
r120 r189 30 30 ; CS:AX: Ptr to "Master" or "Slave" string 31 31 ; CS:BP: Ptr to IDEVARS 32 ; SI: Ptr to template string 32 33 ; Returns: 33 34 ; Nothing … … 37 38 DetectPrint_StartDetectWithMasterOrSlaveStringInAXandIdeVarsInCSBP: 38 39 push bp 39 mov si, [cs:bp+IDEVARS.wPort]40 mov di, [cs:bp+IDEVARS.wPort] 40 41 mov bp, sp 41 42 push ax ; Push "Master" or "Slave" 42 push si ; Push port number 43 mov si, g_szDetect 43 push di ; Push port number 44 44 jmp BootMenuPrint_FormatCSSIfromParamsInSSBP 45 45
Note:
See TracChangeset
for help on using the changeset viewer.