Changeset 196 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device
- Timestamp:
- Nov 19, 2011, 11:18:39 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/Serial/SerialCommand.asm
r181 r196 40 40 SerialCommand_UART_scratch EQU 7 41 41 42 ; note that the actual StaringPoint port address is not achievable (results in 0 which triggers auto detect) 42 43 SerialCommand_PackedPortAndBaud_StartingPort EQU 240h 44 43 45 SerialCommand_PackedPortAndBaud_PortMask EQU 0fch ; upper 6 bits - 240h through 438h 44 46 SerialCommand_PackedPortAndBaud_BaudMask EQU 3 ; lower 2 bits - 4 baud rates … … 125 127 and dl, SerialCommand_PackedPortAndBaud_PortMask 126 128 mov dh, 0 127 shl dx, 1 129 shl dx, 1 ; port offset already x4, needs one more shift to be x8 128 130 add dx, SerialCommand_PackedPortAndBaud_StartingPort 129 131 … … 499 501 SerialCommand_IdentifyDeviceToBufferInESSIwithDriveSelectByteInBH: 500 502 501 mov dx,[cs:bp+IDEVARS.wPortCtrl] 502 inc dx 503 dec dx 503 mov dl,[cs:bp+IDEVARS.bSerialPackedPortAndBaud] 504 test dl,dl 504 505 jz SerialCommand_AutoSerial 505 506 … … 542 543 ; 543 544 544 SerialCommand_ScanPortAddresses: db 0b8h, 0f8h, 0bch, 0bah, 0fah, 0beh, 0feh, 0 545 ; Corresponds to I/O port: 3f8, 2f8, 3e8, 2e8, 2f0, 3e0, 2e0, 260, 368, 268, 360, 270 546 ; COM Assignments: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 545 SerialCommand_ScanPortAddresses: db 0b8h, 0f8h, 0bch, 0bah, 0fah, 0beh, 0feh, 0 546 ; Corresponds to I/O port: 3f8, 2f8, 3e8, 2e8, 2f0, 3e0, 2e0, 260, 368, 268, 360, 270 547 ; COM Assignments: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 548 ; Corresponds to Packed I/O port (hex): 37, 17, 35, 15, 16, 34, 14, 4, 25, 5, 24, 6 547 549 548 550 ALIGN JUMP_ALIGN
Note:
See TracChangeset
for help on using the changeset viewer.