Connect two monitors to the Commodore 128: we use the RGBI output

In today's video, let's see how to connect two color monitors to the Commodore 128, using the exit RGBI, in addition to the video output. The Commodore 128 is in fact equipped with a second graphics chip, the VDC, whose signals come out on the rear RGBI port.

Subscribe my YouTube channel ValorosoIT. Retro technology, vintage audio, retro computers, experiments and tests. Retroprogramming, Basic. Commodore, IBM, Atari, Apple, Texas Instruments, Amstrad, MSX.

The RGBi port can be connected to an RGBI or CGA color monitor, plus it has a pin with a black and white composite video signal.

RGBI (CGA) to VGA 15kHz adapter, mounting

The first step in connecting two color monitors to the Commodore 128 is to build an adapter to connect the RGBI port to a VGA color monitor (which supports 15KHz signals). Ivan Sergio created the printed circuit on the basis of Travis Durf's scheme, available on the net and shown below.

Connect two monitors to Commodore 128, RGBI CGA to VGA 15kHz DIY assembly kit interface converter adapter diagram, Travis Durf

The adapter is not compatible with all VGA monitors. It is necessary that the monitor supports the horizontal sync frequency of 15KHz, instead of the standard ones, which start at 31KHz.

Connect two monitors to Commodore 128, RGBI CGA to VGA assembly diy kit interface converter adapter

We begin to mount the resistors, which are the lowest components. A little at a time, we insert them in their correct position, mounting them adhering to the printed circuit. Finally we cut off the surplus of the leads.

I had made a tin soldering tutorial, whoever is interested can find it by following this link.

We continue the assembly of the printed circuit with the sockets of the integrated circuits. We begin to weld 2 pawns for each plinth, at opposite corners, so that we can straighten the plinth by heating the two feet just soldered. Be careful to insert them in the correct direction, identified by a notch. When the sockets are straight, we can solder the other feet.

Let's move on to the 100nF filter capacitors. We solder them straight and adherent to the printed circuit board. Then we cut off the surplus of the leads.

Connect two monitors to Commodore 128, RGBI CGA to VGA DIY kit interface converter adapter

It is the turn of the pin strips. One at a time, to mount it straight and adherent to the printed matter, we begin to weld only one pin. Then we straighten it and finally we weld the other feet.

Follow me on Instagram channel. Retro technology, Commodore, vintage audio, retro computers, experiments and tests. Retroprogramming, Basic. Commodore, IBM, Atari, Apple, Texas Instruments, Amstrad, MSX.

Connect two monitors to Commodore 128, RGBI CGA to VGA interface converter adapter diy kit

We mount the two connectors, the 9-pin and the 15-pin one. In addition to the feet, we also weld the side supports, which serve to strengthen the installation.

Connect two monitors to Commodore 128, RGBI CGA to VGA interface converter adapter diy kit, db9 dsub 9-pin connector

We also solder the power connector. The adapter needs an external 5V power source.

To complete, I wanted to add an electrolytic capacitor on the 5V power line, as an additional filter.

C128, RGBI CGA to VGA port interface converter adapter diy kit, dsub 15 poles high density

After having welded all the components, we can clean the printed with a toothbrush, a cloth that does not leave lint and alcohol.

Connect two monitors to Commodore 128, interface converter adapter kit diy PCB cleaning RGBI CGA to VGA, alcohol toothbrush rag

We then mount the three integrated circuits on their respective sockets, paying attention to the correct direction.

Since, with the connector that I bought, the power supply voltage did not pass on the predisposed pin, I had to mount a jumper. Details of the jumper can be found in the video.

Connect two monitors to Commodore 128, RGBI CGA to VGA 15kHz interface converter adapter diy kit assembled

At this point we can mount the jumpers on the CINVERTSV1 and HSYNCSC2 connectors. Although I have not found any differences by reversing the polarity of the pulses, I suggest starting to mount the jumpers in the position indicated in the photo.

Connect two monitors to Commodore 128, RGBI interface converter adapter kit CGA to VGA 15kHz jumpers, CINVERTSV1 HSYNCSV2, reverse sync

Before powering up, I suggest testing any short circuits on the power supply line with the tester. With regard to the polarity of the 5V power connector, the positive is located outside the connector, while the central pin is the negative. The converter to connect two monitors to the Commodore 128 consumes about 50mA.

C128 double color monitor, RGBI CGA to VGA converter, 5V power supply connector, stabilized 50mA absorption

Connect two monitors to the Commodore 128, cables

Let's start connecting the SVideo cable for the number one monitor signals. The SVideo cable starts from the 8-pole DIN Video connector behind the Commodore 128 and arrives behind the TV. A composite video cable with a 5-pin DIN connector can also be used instead of the S-Video cable.

Connect two monitors to the Commodore 128, monitor one SVideo Video cable, DIN 8 poles

We connect the cable with two male-male DB9 connectors between the Commodore 128 and the RGBI (CGA) – VGA adapter. Pay attention to the pinout! It is not possible to mount a connector on the adapter to insert it directly into the RGBI port. The pin arrangement is not mirrored, but rather pin to pin.

We also connect the VGA cable between the adapter and the second monitor.

Connect two monitors to the Commodore 128, RGBI CGA to VGA 15kHz interface converter adapter cables

Finally, we connect the external 5 Volt power supply, which must deliver a current greater than that absorbed by the converter, which is about 50mA.

Connect two monitors to the Commodore 128, the Basic test program

After turning everything on, let's load the example program, which you can find at the bottom of this page. On each monitor are displayed different writings, in color.

Connect two monitors to the Commodore 128, Graphic Color Vice emulator Basic test program, dual monitor, dual display

After typing your name, the first monitor displays “HELLO”, followed by the name, in different colors. The second monitor displays “GOOD MORNING”, followed by the name.

Connect two monitors to Commodore 128, C128 dual color monitor, RGBI CGA to VGA 15kHz Basic program, dual monitor port

As I wrote before, not all VGA monitors support 15KHz horizontal sync signals. There are lists of compatible monitors online. By connecting an incompatible monitor, the image will not be formed at all or will be incomprehensible. It is also possible that the monitor gives an error message such as "OUT OF RANGE", "OUT OF RANGE" or similar.

Basic commands to use two monitors with the Commodore 128

To learn more, let's see the commands in Basic with the VICE emulator for using two monitors with the Commodore 128. As soon as it is turned on, if the 40/80 column button is not pressed (40/80 display), the Commodore 128 is positioned on monitor 1, the standard 40 column one. We can also change the color of the writing using the command:

COLOR 5,numero_del_colore

To switch to the second monitor, connected to the RGBI port, use the command:

GRAPHIC 5,0
Connect two monitors to the Commodore 128, C128 dual color monitor, Vice emulator Basic program

Also on the second monitor you can change the color of the writing, using the same command COLOR just seen. To return to monitor 1, use the command:

GRAPHIC 0,0
Connect two monitors to Commodore 128, C128 dual color monitor, Basic program emulator Vice Graphic 5.0 Graphic 0.0 Color WinVice

The example program found at the bottom of the page is based on this principle.

Basic example program to manage the double monitor on the C128

Commodore-128-dual-monitor.zip, to be expanded, inside there is the Basic program in PRG and D64 format.

Follow me on Instagram channel. Retro technology, Commodore, vintage audio, retro computers, experiments and tests. Retroprogramming, Basic. Commodore, IBM, Atari, Apple, Texas Instruments, Amstrad, MSX.

Credits: In the video tutorial, SID music is ACE II by Rob Hubbard.

To be notified when I publish more tutorials, experiments and reviews related to retro computers and vintage electronics, I invite you to subscribe to the YouTube channel and activate the notification bell!

Subscribe my YouTube channel ValorosoIT. Retro technology, vintage audio, retro computers, experiments and tests. Retroprogramming, Basic. Commodore, IBM, Atari, Apple, Texas Instruments, Amstrad, MSX.

Do you like this page? Share it:

Posted in Retro Computer, Retro Technology and Vintage Electronics, All articles.

6 Comments

  1. Hi, everything is nice and explained very well, but I would like to ask you a couple of questions... The first is where Ivan Sergio's printed circuit board can be found, the second is which model did you use for the 80 column display. I see that it is an LG but I can't figure out what the exact model is.
    Thank you…

  2. Hello! Thank you. For the printed circuit board, you can contact Ivan Sergio directly on Facebook. If you can't, let me know that I'll put you in touch. Regarding the LG monitor, the model is this: Flatron M1917A.

  3. Amedeo, the topic of your video was really interesting, especially because it explains after many years that the Commodore with the 128 was innovative but that unfortunately as you well know you also did not have much consensus, when then this mode of using two motiro connected to the computer, is now widely used for desktop publishing, video editing, for site creation and for 3D modeling in the industrial field. Can't find it?

  4. Amedeo, after following the retrofixer link, suggested by you in an answer, to I do not know which video of yours, intrigued me, I repeat a retrofixer video, on the creation of a generic cartridge for diagnostics and dead test for the C64, with the use of EEPROM, and a "Minipro" programmer, in this case a TL866II of XGECU.
    Now, Retrofixer, has also mounted a display with voltmeter function, not hoof, on the PCB, but steering wheel. If you will be able to see the video too. Trivial question, but what is the use of us already mounting in memory of EEPROM, the software for diagniostica?

  5. I have to find the video you're talking about. The diagnostic software may reside inside the EEPROM, alternatively, if the computer starts, you can load the diagnostic software from other media. There are various types of software for different diagnostic needs.

Leave a Reply

Your email address will not be published. Required fields are marked *