Open andrewnguyen opened 9 years ago
4.3.2 has the code listing:
void serial_configure_baud_rate(unsigned short com, unsigned short divisor) { outb(SERIAL_LINE_COMMAND_PORT(com), SERIAL_LINE_ENABLE_DLAB); outb(SERIAL_DATA_PORT(com), (divisor >> 8) & 0x00FF); outb(SERIAL_DATA_PORT(com), divisor & 0x00FF); }
but according to http://wiki.osdev.org/Serial_ports the high byte should go into the base+1 port.
I believe you are correct: UART registers Check Divisor Latch Low Byte and Divisor Latch High Byte.
4.3.2 has the code listing:
but according to http://wiki.osdev.org/Serial_ports the high byte should go into the base+1 port.