bill rowe wrote:
Josh: does your serial code do autobaud - i forget? If so it would probably be fine.
No; it doesn't autobaud.
But there are two serial ports; one on the Z80-CPU board, and another on the Z80-SIO board.
The one on the CPU board uses the 4 MHz resonator; so it will still work. It is fixed at 9600 baud; but would be 4800 baud if you used a 2 MHz resonator, or 19200 if you used 8 MHz etc.
The 8250 UART on the Z80-SIO board uses the 1.8 MHz resonator. 18.432 MHz and 3.072 MHz happen to give you all the standard baud rates from 50-38.4Kbaud with negligible error. See the 8250/82C50/16C450 datasheet for details on how to calculate the baud rate constant for various frequencies.
Lee
--
A designer knows he has achieved perfection not when there is
nothing left to add, but when there is nothing left to take away.
-- Antoine de Saint Exupery
--
Lee Hart, 814 8th Ave N, Sartell MN 56377, www.sunrise-ev.com
--
This email has been checked for viruses by Avast antivirus software.