- Timestamp:
- Feb 10, 2012, 5:18:49 PM (13 years ago)
- google:author:
- gregli@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc
r243 r244 91 91 DEVICE_16BIT_ATA EQU (3<<1) 92 92 DEVICE_32BIT_ATA EQU (4<<1) 93 DEVICE_SERIAL_PORT EQU (5<<1) ; must be last entry, or remove optimization in DetectPrint93 DEVICE_SERIAL_PORT EQU (5<<1) 94 94 DEVICE_JRIDE_ISA EQU (6<<1) 95 95 -
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.