{"id":25015572,"url":"https://github.com/hkzlab/ega-2-rgbs","last_synced_at":"2025-10-14T09:33:59.093Z","repository":{"id":140511191,"uuid":"328346733","full_name":"hkzlab/EGA-2-RGBS","owner":"hkzlab","description":"EPROM based EGA/CGA to analog RGBS converter","archived":false,"fork":false,"pushed_at":"2021-11-09T06:50:04.000Z","size":881,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-24T03:28:25.823Z","etag":null,"topics":["cga","circuit","ega","retrocomputing","scaler","video"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-sa-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hkzlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-10T09:31:19.000Z","updated_at":"2023-12-12T14:56:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"882f0451-fa0e-40bf-9c8c-efc4319e6fa3","html_url":"https://github.com/hkzlab/EGA-2-RGBS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hkzlab/EGA-2-RGBS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkzlab%2FEGA-2-RGBS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkzlab%2FEGA-2-RGBS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkzlab%2FEGA-2-RGBS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkzlab%2FEGA-2-RGBS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hkzlab","download_url":"https://codeload.github.com/hkzlab/EGA-2-RGBS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkzlab%2FEGA-2-RGBS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018630,"owners_count":26086404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cga","circuit","ega","retrocomputing","scaler","video"],"created_at":"2025-02-05T08:30:30.743Z","updated_at":"2025-10-14T09:33:59.031Z","avatar_url":"https://github.com/hkzlab.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EGA-2-RGBS\n\nMonths ago I ran into [this](https://www.youtube.com/watch?v=vwKA1z8tg1g\u0026t=527) video on YouTube that described how to implement an EGA/CGA to analog RGBS signal using just a ROM and a few passive components.\nThinking it was a nice idea, I decided to implement my variant of it (including the tool that generates the values to program the EPROM), also including an optional buffer on the outputs of the ROM.\n\n![Rev. 1.1 PCB](pics/EGA2RGBC_rev1.1.png)\n\n**CAVEAT EMPTOR:** For now I tested this board only in DOS with a CGA card. Will update this note when I test EGA and colours.\n\nNote that this **will not convert EGA/CGA to VGA**, it will just make the signal analog and compatible with either a SCART input or a scaler like the GBS8200 (tested with [gbs-control](https://github.com/ramapcsx2/gbs-control) firmware).\n\n## Jumpers\n\n- JP1: Bridge if you are using this with an EGA card, remove bridge for CGA\n- JP2: Disable Brown colour fix for CGA. No effect on EGA\n- JP3: Bridge 1-2 to output a CSYNC signal, bridge 2-3 for /CSYNC\n\n## Building the board\n\n### BOM\n\n- 1x 20pin socket (on U2)\n- 1x 32pin wide socket (on U1)\n- 2x 100nF ceramic caps (C5 and C4)\n- 1x Right angle DB9 female PCB connector (J1)\n- 1x 6 or 5 pin screw terminal (J5)\n- 1x 2 pin screw terminal (J4)\n- 1x 1206 SMD fuse rated around ~100mA (F1), **100mA is already very high for the power consumption of the board, but I had these at hand** \n- 1x 3 pin 2.54mm male pcb header, plus jumper (J3)\n- 2x 2 pin 2.54mm male pcb header, plus jumpers (JP1 and JP2)\n- 1x First random led you have at hand, optional (D2)\n- 1x 1N4733A 5.1v zener diode (D1)\n- 1x 74HC244 DIP, optional (U2)\n- 1x 27C010 DIP (U1)\n- 4x 470 1/4w resistors (R2, R4, R6, R10)\n- 3x 1.5k 1/4w resistors (R3, R5, R7)\n- 1x 1k 1/4w resistor (R11)\n- 2x 4.7k 1/4w resistors (R8, R9)\n\nRemember to program the EPROM with the bin file provided in the repository.\n\n### Building on the cheap\n\nYou can omit the following components:\n\n#### Power\n\nOmit F1 and D1, bridge the two connections points of F1. Do this if you trust your power supply and yourself not to make shorts.\n\nYou can also omit the power indicator led D2 and its resistor R11\n\n#### Sockets\n\nYou can omit both U1 and U2 sockets. Remember to mount C4, C5, R8 and R9 on the underside of the board if you do this.\n\n#### Output buffer\n\nYou can omit U2 entirely. Just bridge the following points on the footprint:\n\n- 2-\u003e18\n- 4-\u003e16\n- 6-\u003e14\n- 8-\u003e12\n- 11-\u003e9\n- 13-\u003e7\n- 15-\u003e5\n- 17-\u003e3\n\nAlso omit C4 in this case.\n\n## Credits\n\n- [TheRasteri](https://www.youtube.com/channel/UCO1ifHwXHkEyCLFk2b7Z8xA) on YouTube for the original idea","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhkzlab%2Fega-2-rgbs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhkzlab%2Fega-2-rgbs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhkzlab%2Fega-2-rgbs/lists"}