Changeset 567 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectPrint.asm
- Timestamp:
- May 26, 2014, 1:25:15 PM (10 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectPrint.asm
r547 r567 60 60 ;-------------------------------------------------------------------- 61 61 DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP: 62 mov ax, [cs:bp+IDEVARS.wBasePort] ; for IDE: AX=port address, DH=.bDevice63 ; fall throughto DetectPrint_StartDetectWithAutodetectedBasePortInAXandIdeVarsInCSBP62 mov ax, [cs:bp+IDEVARS.wBasePort] ; For IDE: AX=port address, DH=.bDevice 63 ; Fall to DetectPrint_StartDetectWithAutodetectedBasePortInAXandIdeVarsInCSBP 64 64 65 65 ;-------------------------------------------------------------------- … … 75 75 ;-------------------------------------------------------------------- 76 76 DetectPrint_StartDetectWithAutodetectedBasePortInAXandIdeVarsInCSBP: 77 mov dx, [cs:bp+IDEVARS.bDevice-1] ; for Serial: AL=port address>>2, AH=baud rate77 mov dx, [cs:bp+IDEVARS.bDevice-1] ; For Serial: AL=port address>>2, AH=baud rate 78 78 ; DL=COM number character, DH=.bDevice 79 push bp ; setup stack for call to79 push bp ; Setup stack for call to 80 80 mov bp, sp ; BootMenuPrint_FormatCSSIfromParamsInSSBP 81 81 … … 89 89 90 90 %ifdef MODULE_SERIAL 91 cmp dh, DEVICE_SERIAL_PORT 91 cmp dh, DEVICE_SERIAL_PORT ; Check if this is a serial device 92 92 93 93 jnz .pushAndPrint ; CX = string to print, AX = port address, DX won't be used
Note: See TracChangeset
for help on using the changeset viewer.