Changeset 244 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization
- Timestamp:
- Feb 10, 2012, 5:18:49 PM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectPrint.asm
r242 r244 55 55 ; on the same 256 byte page, which is checked in strings.asm. 56 56 57 cmp dx, DEVICE_SERIAL_PORT << 8 ; Check if this is a serial device, 58 ; And also check if DL is zero, check with the jz below 59 ; This optimization requires that DEVICE_SERIAL_PORT be 60 ; the highest value in the DEVICE_* series, ensuring that 61 ; anything less in the high order bits is a different device. 57 cmp dh, DEVICE_SERIAL_PORT ; Check if this is a serial device 62 58 63 j b.pushAndPrint ; CX = string to print, AX = port address, DX won't be used59 jnz .pushAndPrint ; CX = string to print, AX = port address, DX won't be used 64 60 65 61 mov cl, (g_szDetectCOM-$$) & 0xff ; Setup print string for COM ports … … 75 71 mov cl, (g_szDetectCOMAuto-$$) & 0xff ; Setup secondary print string for "Auto" 76 72 73 test dl, dl ; Check if serial port "Auto" 77 74 jz .pushAndPrint ; CX = string to print, AX and DX won't be used 78 75
Note:
See TracChangeset
for help on using the changeset viewer.