Changeset 262 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectPrint.asm
- Timestamp:
- Feb 24, 2012, 10:28:31 AM (12 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectPrint.asm
r254 r262 43 43 mov dx, [cs:bp+IDEVARS.bDevice-1] ; for Serial: AL=port address>>2, AH=baud rate 44 44 ; DL=COM number character, DH=.bDevice 45 45 46 mov si, g_szDetectOuter ; Load SI with default wrapper string "IDE %s at %s: " 47 46 48 push bp ; setup stack for call to 47 49 mov bp, sp ; BootMenuPrint_FormatCSSIfromParamsInSSBP … … 72 74 73 75 test dl, dl ; Check if serial port "Auto" 74 jz .pushAndPrint 76 jz .pushAndPrintSerial ; CX = string to print, AX and DX won't be used 75 77 76 78 mov cl, (g_szDetectCOMLarge-$$) & 0xff ; Setup secondary print string for "COMn/xx.yK" … … 88 90 89 91 cmp ax,si ; < 10: "2400", "9600", etc.; >= 10: "19.2K", "38.4K", etc. 90 jae .pushAndPrint 92 jae .pushAndPrintSerial 91 93 92 94 mov cl, (g_szDetectCOMSmall-$$) & 0xff ; Setup secondary print string for "COMn/XXy00" 95 96 .pushAndPrintSerial: 97 mov si, g_szDetectOuterSerial ; Finally load SI with wrapper string "Serial %s on %s: " 93 98 94 99 .pushAndPrint: … … 96 101 push ax ; Push high order digits, or port address, or N/A 97 102 push dx ; Push low order digit, or N/A 98 99 mov si, g_szDetectOuter ; Finally load SI with wrapper string "IDE %s at %s: "100 103 101 104 jmp short DetectPrint_BootMenuPrint_FormatCSSIfromParamsInSSBP_Relay
Note: See TracChangeset
for help on using the changeset viewer.