Egghead.page Logo

What Is the Maximum Baud Rate on the Commodore 128?

The Commodore 128 features built-in RS-232 capabilities accessible through the User Port, allowing for modem and terminal connections. While the system is versatile, the maximum reliable baud rate for standard serial communication is generally capped at 2400 baud. This article details the hardware constraints, the role of the CIA chip, and the practical speed limits users encounter when configuring serial connections on the Commodore 128.

Understanding the Hardware Interface

To understand the speed limitations, it is necessary to distinguish between the two types of serial communication supported by the machine. The Commodore 128 utilizes a proprietary IEC serial bus for connecting disk drives and printers, which operates at a much slower data transfer rate measured in bytes per second. However, when users refer to baud rate, they are typically asking about the RS-232 interface used for telecommunications. This interface is housed within the User Port on the back of the computer, which provides the necessary handshaking and data lines for connecting external modems or other serial devices.

The Role of the CIA Chip

The serial communication capabilities of the Commodore 128 are managed by the Complex Interface Adapter (CIA) chips. Specifically, CIA #2 is responsible for handling the User Port functions. These chips rely on timer circuits to generate the timing signals required for serial data transmission. The clock speed of the CIA timers dictates the precision with which baud rates can be generated. While the Commodore 128 CPU can operate at 1 MHz or 2 MHz depending on the mode, the CIA timers are generally synchronized in a way that limits the granularity of high-speed signal generation.

Standard Speed Limits

Due to the timing resolution of the CIA chips and the overhead of the Kernal ROM routines that manage data transfer, the maximum stable baud rate for the built-in User Port is 2400 baud. While some users have successfully pushed connections to 4800 baud using custom software and precise timing loops, these configurations are often unstable and prone to data loss. The standard Kernal support and most commercial terminal programs of the era were optimized for 300, 1200, and 2400 baud. Consequently, 2400 baud is widely accepted as the practical maximum for stock hardware.

Expanding Beyond Built-in Limits

For users requiring higher speeds, the cartridge port offers an alternative path. Third-party RS-232 cartridges, such as the SwiftLink or Funnel Web, bypass the limitations of the User Port and the CIA chips. These cartridges include their own dedicated UART hardware capable of handling speeds up to 9600 baud or higher. However, when discussing the intrinsic capabilities of the Commodore 128 without expansion hardware, the 2400 baud limit of the User Port remains the defining specification for serial communication.