ibm PCjr — 2-133

Desired Divisor Used to Percent Error Per Bit Baud Generate 16x Clock Difference Between Rate (Decimal) (Hex) Desired and Actual 50 2237 8BO .006 75 1491 503 .017 110 1017 lAI .023 134.5 832 167 .054 150 746 12C .050 300 373 175 .050 600 186 BA .218 1200 93 50 .218 1800 62 3E .218 2000 56 38 .140 2400 47 2F .855 3600 31 IF .218 4800 23 17 1.291 Baud Rate at 1 .7895 MHz Note: These divisions are different than that used in the IBM Personal Computer. For portability, all initialization should be done through the system BIOS. Note: Receive rates should not exceed 1200 baud if the receive operation is overlapped with keyboard keystrokes.

The following Assembly language sample program initializes the 8250. The baud rate is set to 1200 baud. It's data word is defined: 8 bits long with 1 stop bit odd parity. Serial Port 2-133