CGA to VGA scaling with GBS-8220 board

Connecting an old PC machine with a CGA video output to a modern VGA monitor requires changing the horizontal display frequency from 15kHz to 30kHz. Professional video scalers are very expensive devices, but fortunately there are popular Chinese alternatives, which cost only around 20$. The problem with them is that they rarely work out of the box.

I will describe here how I forced GBS-8220 video scaler to display my Schneider Euro PC CGA screen on a Sony VGA monitor.

CGA output and board inputs

A CGA video output consists of separate RGB signals, horizontal and vertical frequencies and ground (here facing the connector in a computer).


On the other hand, there are three input connectors on GBS-8220:

  • 15-pin VGA (marked RGBHV signal input)
    It conforms to the standard VGA pinout with GND, R, G, B, HS, and VS pins used.
  • 8-pin white connector (marked 8-pin RGBS input)
    Pins are: GND, GND, VS, HS, S, B, G, R.
    The S pin is connected to the HS pin – they are the same.
  • 5-individual-pin connector (marked CGA/EGA signal input)
    Pins are: R, G, B, GND, S.
    The S pin is the same as HS pin on other connectors.

The pins on these three connectors are exactly the same – the are all wired together on the board. Some people experiencing sync issues attempt to try different connectors. If they notice a difference in the stability of the synchronization, this is most probably due to changes in the capacitance of the sync wires, that reduces the crosstalk between the signals. Nevertheless, it should not dramatically change the result. My suggestion is to use the VGA connector wherever possible, because the VGA cable attached is usually shielded.

Similarly, the two power connectors available on the board are exactly the same – it should not really matter which one you want to use.

Using RGBHV mode

GBS-8220 has a special RGBHV mode, in which (in the absence of any decent user manual) as I deduct from the name, it should interpret the separate horizontal and vertical syncs.

However, connecting the CGA signals directly to my GBS-8220 does nothing – the board can’t detect any signal. Search in the Internet reveals many people have this issue and it is suspected that it depends on the firmware version you have installed on the board. Unfortunately, there are no firmware updates available.

This makes RGBHV mode useless for me.

Using RGBS mode

In RGBS mode, GBS-8220 board expects a Composite Sync (CS) signal on its S or HS input. VS input seems to be not used in this mode at all. This is written nowhere in the instruction.  Marking the 5-pin connector as “EGA/CGA input” is also pretty misleading, because there is no composite sync on EGA/CGA connectors.

Combining HS and VS signals into Composite Sync (CS)

CS = not (HS xor VS)

This operation can be achieved with two chips:


They can be powered from the GBS-8220 board, using one of the two power connectors.

This is my bench for the experiment:



How the horizontal and vertical sync signals look on the Euro PC:


The results of HS xor VS using 7486 chip:


And finally the Composite Sync, which is a signal from the previous picture negated on 7404 chip:


Reducing the crosstalk

Producing the CS signal from HS and VS and connecting it to the S input of GBS-8220 in RGBS mode may be not enough though. It occurs, the HS and VS inputs may be disturbed by the interference from RGB signals. I am not sure, if this is due to the Euro PC, GBS-8220 or the cables between them – probably a combination of all. When the interference is strong, the scaler will not be able to properly sync to the video signal.


I did the following things to reduce the crosstalk effects:

  1. Used VGA input on GBS-8220 and attached half of a VGA shielded cable to it
  2. On the other (computer) end used a half of RS-232 shielded cable
  3. Soldered R, G, B, GND wires and shields from both cables together close to the computer connector (RS-232 cable was of a poorer quality than VGA cable).
  4. The HS and VS wires from both cables moved outside of the cable in order to connect it to the CS composition circuit
    • VS, HS from the computer side as inputs
    • HS from GBS-8220 side as output
    • VS from GBS-8220 side connected to the ground
  5. In the CS composition circuit, added a 150 pF capacitor between VS and GND and 220 pF capacitor between CS and GND – the values need to be found experimentally.



This reduced the visible crosstalk effects to a level that allowed the GBS-8220 to finally display the picture.








25 thoughts on “CGA to VGA scaling with GBS-8220 board

  1. I have a kind a same issue.Only “green” screen and / NO signal on the screen. I have the same Siglent scope 🙂
    I am trying to replace a CNC machine CRT to an LCD (15″)… probably will need the 2 logical ICs to work…


  2. Hello:
    Do you have a schematics for your above use of the 7486 and 7404 IC’s?
    Are you taking the HS and VS and inputting into the 7486 and then taking the output into the 7404 then to the GBS 8220?
    Thanks for your help!


      1. Thank you for the drawing
        My issue is I have already ran my HS and VS thru the 7486 and then into the GBS 8200 which gaves me a stable picture but has overlayed information and every other scan line is blank
        When I removed the vertical wire from the 7486 I get a perfect picture but it has a horizontal roll like and old CRT and I sometimes get a no signal out of the 8200
        Your shows that you invert the csync out of the 7486 will this work or do I need the inverted only the vertical signal before the 7486?
        Any help will be appreciated


      2. I inverted only the xor output cs signal. But if you can’t look at the signals what they look like it may be that your machine produces something else than mine. You may experiment inverting each of inputs one at a time or an output and try without invertion at all. Inverting one of inputs and an output at the same time is equal to not inverting anything. Inverting both inputs at the same time does not change the output of xor.


      3. Hello:
        I inverted the CS signal and only got color dot and lines. I then inverted the vertical before the 7486 and got nothing. I then shorted out the GBS 8200, will order another and try again.
        Thanks again for your help


  3. Replacing an old CRT in a 1980’s coin operated Video game. I have found that on the video game control board there are jumpers to make the Vert and Horz signals either positive of negative. For the old CRT they were jumped positive and I understand the GBS 8200 wants negative, might be why I got close using the 7486. Once I get a new GBS 8200 I will change the jumpers to negative and hook up the connection to the GBS with out the IC interface.
    Will report back


  4. Cool project. It would be very helpful if you could get hold of an oscilloscope. These old machines could output weird things which were fine as long as worked with their proprietary hardware. For example in the other post I show what the old Robotron output on composite sync which could never work with normal monitors and needed a different circuit to adapt.


  5. Hi,

    So it means that I have no chance of using GBS-8220 with the EGA output of my Amstrad 1640? There are 2 times green, red and blue with the EGA standard so where should I put them on GBS-8220?

    Would you be interested in making me an EGA to VGA adapter based on GBS-8220 for which I will pay?


    1. Hi Anton. It would be pretty difficult to do it without the machine itself. I think first there is a chance your GBS will work fine in RGBHV mode where you need to connect the EGA HSYNC and VSYNC signals as the separate signals to the GBS. Mine did not work at all in this mode though, so I had to combine the sync signals into composite sync. If your Amstrad produces compliant EGA signal, it should work with the small board I described above. Where are you located? If I can find the one I made I could send it to you for the cost of parts + shipping, as I have an EGA monitor since then and don’t need one. No 100% guarantee to work, though, with your machine. If you can get hold of an oscilloscope and inspect the sync signals on the output of your Amstrad, we could be much more confident.


  6. Hi,

    So it means that I have no chance of using GBS-8220 with the EGA output of my Amstrad 1640? There are 2 times green, red and blue with the EGA standard so where should I put them on GBS-8220?

    Would you be interested in making me an EGA to VGA adapter based on GBS-8220 for which I will pay?


  7. Hi,

    Thanks for the reply. I located in France. I do not understand one basic thing. The EGA output is 6 colors and 2 HVs (a total of 9). This is different to the CGA where it is 3 colors + HV. So I should connect to the 8 pin input of the GBS?

    Yes, maybe I can try your board. Please send me an email to my user and gmail.


  8. Just a message to say thanks for posting your efforts. I have built your circuit and added another from different site to give me a working image with an 8220 on an old CNC milling machine that had a dead 15KHz CRT screen. All for less than GBP£20.


    1. Good Day Les Riley

      Thank you everyone for your efforts and input, Riley i would like to know what other circuit did you use to convert your CNC milling machine display.

      I have an old Maho with Phillips 432 control and a GBS 8220 and i am also trying to get it working. Please share your circuit if possible.

      Best Regards


      1. Did u check the type of the video signal ? cabel going to the screen is a Coax (so a shielded 1 wire only)… or multiple wires ?

        I replaced some CNC screens … 🙂 –


  9. I think it is worth to mention that these logic gates do their job and it is possible to get screen on gbs8220 without capacitors on the proto board. I tried it myself to see if my Schneider works but I ordered wrong capacitors. I was worried I won’t be able to see anything on the screen without them. I saw it though.


    1. Yes, it depends on the level of noise there is in the line. Possibly most of cases will have no noise and capacitors will be not needed to compensate it. In my case the signal was pretty dirty and it did not want to work without them.


  10. hello thank you foir your explication, but for me i have too cnc machine with crt display and i use the gbs8220 for convert the CGA signale to VGA but the lcd screen work 2 second (not very clear ) and gon, i don’t build your circuit yet but if you have some answer to help me that will be good thank you


  11. Try to do like this on 7486:
    2k2 resistor from leg 1 to leg 2
    +Leg 2 – 2u2 to GND

    2k2 resistor from leg 4 to leg 5
    +Leg 5 – 2u2 to GND

    connect legs: 3+9, 6+10, 8+12.
    Leg 11 is Csync,
    Legs 13,14 is +5V
    Leg 7 is GND
    I think 7404 is not needed.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s