Egghead.page Logo

How the Commodore Plus/4 Handles Double-Width Text Modes

This article explores the technical mechanisms behind the Commodore Plus/4’s double-width text functionality. It details the role of the TED chip, the specific memory registers involved, and the visual impact on the display output. Readers will gain an understanding of how pixel duplication is utilized to stretch characters and the practical implications for software development on the platform.

The Commodore Plus/4, part of the 264 series released in 1984, utilized a custom integrated circuit known as the TED (Text Editing Device). Unlike the VIC-II chip found in the Commodore 64, the TED chip integrated video display, dynamic RAM refresh, and sound generation into a single package. One of the distinctive features provided by the TED chip was a hardware-supported double-width text mode. This capability allowed developers to alter the appearance of standard text without consuming excessive processor cycles on software-based rendering tricks.

Standard text mode on the Plus/4 displays 40 columns by 25 rows of characters, with each character cell occupying an 8x8 pixel grid. When double-width mode is activated, the TED chip modifies how it fetches and displays bitmap data for each character. Instead of rendering each pixel once per horizontal scan line segment, the chip duplicates every pixel horizontally. This results in each character occupying a 16x8 pixel area on the screen. Consequently, while the memory layout still addresses 40 columns of data, the visual output effectively displays only 20 columns of widened text across the screen width.

Activation of this mode is controlled through the TED control registers mapped in the processor’s memory space. Specifically, bit 4 of the register at address $D011 governs the double-width setting. When a programmer writes a value to this register that sets bit 4 to high, the video output immediately shifts to the stretched format. This hardware-level change ensures that the timing of the video signal remains stable, preventing the screen roll or flicker that might occur if similar effects were attempted through software manipulation of the raster beam.

The visual result is a bold, blocky text style that was often utilized for title screens, menus, or situations where high readability was prioritized over information density. Because the characters are widened, fine details within the character set can become more apparent, though the overall resolution remains constrained by the original 8x8 matrix. This mode did not alter the height of the characters, meaning the 25-row structure of the display remained intact vertically.

For developers, this feature offered a convenient way to emphasize information without designing custom bitmap graphics. However, it also meant that standard screen editors had to account for the reduced visible column count when formatting data for display. While the Commodore Plus/4 did not achieve the commercial success of its predecessors, the TED chip’s inclusion of features like double-width text demonstrates the engineering focus on enhancing text processing capabilities for business and educational applications during that era.