{"id":6779,"date":"2023-05-03T09:09:49","date_gmt":"2023-05-03T07:09:49","guid":{"rendered":"https:\/\/retrofixer.it\/?p=6779"},"modified":"2023-05-03T17:14:12","modified_gmt":"2023-05-03T15:14:12","slug":"costruiamo-un-videogioco","status":"publish","type":"post","link":"https:\/\/retrofixer.it\/en\/costruiamo-un-videogioco\/","title":{"rendered":"Let's build a video game"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"6779\" class=\"elementor elementor-6779\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5afaba5 e-flex e-con-boxed e-con e-parent\" data-id=\"5afaba5\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-bc13f78 elementor-widget elementor-widget-heading\" data-id=\"bc13f78\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">The Retro Lost Pong<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-791161c e-flex e-con-boxed e-con e-parent\" data-id=\"791161c\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4a756a4 elementor-widget__width-initial elementor-widget elementor-widget-text-editor\" data-id=\"4a756a4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Have you seen the video? No?! <br \/>Well, if you missed it, take a look here alongside,<br \/><span style=\"text-align: var(--text-align); letter-spacing: 0px;\">we&#8217;ll tell you the story of how it all began.<\/span><\/p><p>It all started with a small board given to me by The Lost C, Luigi&#8217;s YouTube channel; he had two boards and wanted to make a video game out of them.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d731213 elementor-widget elementor-widget-video\" data-id=\"d731213\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;youtube_url&quot;:&quot;https:\\\/\\\/youtu.be\\\/eAI5Z90yAV4&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-wrapper elementor-open-inline\">\n\t\t\t<div class=\"elementor-video\"><\/div>\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0cc5b83 elementor-widget elementor-widget-heading\" data-id=\"0cc5b83\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">The mystery board<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-985a376 e-flex e-con-boxed e-con e-parent\" data-id=\"985a376\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-df79cbc elementor-widget__width-initial elementor-widget elementor-widget-text-editor\" data-id=\"df79cbc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>As soon as I got this board I started searching online for what it might be, since I&#8217;d never seen one before, and it turns out it&#8217;s a car racing game and that this chip (AY-3-8603) is very similar to others that run the classic game found in pong consoles (AY-3-8610 and 8500). The key difference from the 8500 was that this one doesn&#8217;t have a composite output, but has several layers and signals that have to be mixed to get a composite signal. There are few schematics for this chip, so further tests are needed to see whether it can be made to work.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3768ce9 elementor-widget elementor-widget-image\" data-id=\"3768ce9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/schedarace.webp\" class=\"attachment-large size-large wp-image-6806\" alt=\"schedarace - Costruiamo un videogioco\" srcset=\"https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/schedarace.webp 1024w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/schedarace-300x225.webp 300w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/schedarace-768x576.webp 768w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/schedarace-16x12.webp 16w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/schedarace-195x146.webp 195w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/schedarace-50x38.webp 50w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/schedarace-100x75.webp 100w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/schedarace-960x720.webp 960w\" sizes=\"(max-width:767px) 480px, (max-width:1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cdc8f35 elementor-widget elementor-widget-text-editor\" data-id=\"cdc8f35\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"text-align: var(--text-align); letter-spacing: 0px;\">Having separate backgrounds (player car, opponent cars, road, border, sync etc.) is useful for handling different colours instead of the classic black and white. In fact, while looking for schematics for this chip I came across some consoles that use another colour chip (AY-3-8615), which handles the clock and generates a colour composite signal from all these separate signals.<\/span><\/p><p>Here&#8217;s the first problem: if we wanted a colour composite signal, this chip was necessary. Unfortunately only very few pong consoles have this colour IC; the most &#8220;famous&#8221; ones (those most easily found online) are the Magnavox Odyssey 4000 and the Unisonic 2600. While hunting for this rare chip I came across two other pong consoles, one of which wasn&#8217;t useful for the project, but the second one was! I found a Hanimex SD070, which I hoped would have this colour chip but it didn&#8217;t; however, it was useful because it has a cartridge slot, and that&#8217;s exactly what can take the mystery cartridge!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-ea311e1 e-flex e-con-boxed e-con e-parent\" data-id=\"ea311e1\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-bbc1846 elementor-widget__width-initial elementor-widget elementor-widget-text-editor\" data-id=\"bbc1846\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>While hunting for this rare chip I came across two other pong consoles, one of which wasn&#8217;t useful for the project, but the second one was! I found a Hanimex SD070, which I hoped would have this colour chip but it didn&#8217;t; however, it was useful because it has a cartridge slot, and that&#8217;s exactly what can take the mystery cartridge!<\/p><p>That was our starting point for building the circuit.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3484191 elementor-widget elementor-widget-image\" data-id=\"3484191\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"423\" height=\"237\" src=\"https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/sd070.webp\" class=\"attachment-large size-large wp-image-6788\" alt=\"Costruiamo un videogioco\" srcset=\"https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/sd070.webp 423w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/sd070-300x168.webp 300w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/sd070-18x10.webp 18w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/sd070-260x146.webp 260w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/sd070-50x28.webp 50w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/sd070-134x75.webp 134w\" sizes=\"(max-width:767px) 423px, 423px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3f24f4b elementor-widget elementor-widget-heading\" data-id=\"3f24f4b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Schematic and build<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-36f941b elementor-widget elementor-widget-text-editor\" data-id=\"36f941b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Now that we know a bit of this cartridge&#8217;s history, let&#8217;s see how we can use it.<\/p><p>As I said before, there&#8217;s little to be found online, and I tried to make a first version that could either support the 8603 chip alone or work together with the 8615 to give a colour game.<br \/>This is the first version, made and printed by PCBWay!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-aa0bab0 elementor-widget elementor-widget-image\" data-id=\"aa0bab0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1024\" height=\"724\" src=\"https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/schema_v1-1024x724.webp\" class=\"attachment-large size-large wp-image-6792\" alt=\"schema v1 - Costruiamo un videogioco\" srcset=\"https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/schema_v1-1024x724.webp 1024w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/schema_v1-300x212.webp 300w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/schema_v1-768x543.webp 768w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/schema_v1-18x12.webp 18w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/schema_v1-206x146.webp 206w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/schema_v1-50x35.webp 50w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/schema_v1-106x75.webp 106w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/schema_v1.webp 1169w\" sizes=\"(max-width:767px) 480px, (max-width:1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cc72cf2 elementor-widget elementor-widget-text-editor\" data-id=\"cc72cf2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Let&#8217;s take a detailed look at what works and what doesn&#8217;t \ud83d\ude00<br \/>At the bottom we have the power section, which generates two voltages. The board can be powered from 9V to 15V.<br \/>Why two voltages? The board runs at 8V, but to generate the clock (only if you use the B\/W section without the 8615 chip) I used an active crystal oscillator that runs at 5V, so I also had to add a 7805 regulator to avoid frying it.<br \/>If we have the colour chip we can leave out the 7805, because the clock will be handled by this colour IC.<\/p><p>The first mistake is in the clock circuit with the active crystal oscillator: with transistor Q3 the clock doesn&#8217;t work. Simply take the output of OSC1 (pin 5) straight to the input of the 8603, without resistors, transistors or anything else.<\/p><p>The rest worked fairly well. When used on its own, the 8603 IC has its video outputs mixed together and they go to Q1 and then out on the video cable. This part works, but the video signal is rather dim; I&#8217;m looking into how to adjust it properly in the next revision. For now I&#8217;ve added a capacitor on the output and the quality has improved, but the brightness will need more time spent on it.<\/p><p>The paddles respond well. The schematic shows them as 100k, but I fitted 50k ones and they&#8217;re perfect. The paddle centre adjustment is done with trimmer TR1, and there are also two switches for 1-2 player mode and difficulty, plus the reset button used to restart the race.<\/p><p>The colour section with the 8615 works well, with colour adjustment via trimmer TR2 and video signal adjustment via TR3.<br \/>If we fit this chip we shouldn&#8217;t fit the B\/W section; it actually works with it too, but we&#8217;ll get a noisier video signal.<\/p><p>The audio is handled by the 4001 logic gate and it&#8217;s very loud! In the next revision I&#8217;ll add a trimmer for this too.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0120e12 elementor-widget elementor-widget-image\" data-id=\"0120e12\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"514\" src=\"https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/scheda-1024x514.webp\" class=\"attachment-large size-large wp-image-6799\" alt=\"scheda - Costruiamo un videogioco\" srcset=\"https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/scheda-1024x514.webp 1024w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/scheda-300x151.webp 300w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/scheda-768x386.webp 768w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/scheda-18x9.webp 18w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/scheda-260x131.webp 260w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/scheda-50x25.webp 50w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/scheda-150x75.webp 150w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/05\/scheda.webp 1151w\" sizes=\"(max-width:767px) 480px, (max-width:1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ae0c694 elementor-widget elementor-widget-text-editor\" data-id=\"ae0c694\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Not bad for a first version! It worked first time, with a few small changes to the B\/W clock section. Now let&#8217;s see how to improve it and get to a final version.<br \/>Stay tuned for further developments: subscribe to our YouTube channel and hit the bell so you don&#8217;t miss the next videos.<\/p><p>Get to work, Fixer!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>The Retro Lost Pong Avete visto il video? no?! beh, se ve lo siete persi date un occhio qui di fianco,vi racconteremo la storia di come<span class=\"excerpt-hellip\"> [\u2026]<\/span><\/p>\n","protected":false},"author":1,"featured_media":6805,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[423,422,433,432,428,421,310,424,431,434,427,429,425,419,402,289,180,435,430,426],"class_list":["post-6779","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-console","tag-423","tag-422","tag-bianco-e-nero","tag-black-and-white","tag-build","tag-car","tag-cartridge","tag-chip","tag-color","tag-colori","tag-costruzione","tag-game","tag-gioco","tag-macchine","tag-paddle","tag-pcbway","tag-pong","tag-the-lost-c","tag-videogame","tag-videogioco"],"_links":{"self":[{"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/posts\/6779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/comments?post=6779"}],"version-history":[{"count":0,"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/posts\/6779\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/media\/6805"}],"wp:attachment":[{"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/media?parent=6779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/categories?post=6779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/tags?post=6779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}