{"id":609,"date":"2022-12-27T14:27:30","date_gmt":"2022-12-27T13:27:30","guid":{"rendered":"https:\/\/www.heinpragt.nl\/?p=609"},"modified":"2023-11-21T15:25:50","modified_gmt":"2023-11-21T14:25:50","slug":"intel-8052-basic-computer","status":"publish","type":"post","link":"https:\/\/www.heinpragt.nl\/?p=609","title":{"rendered":"DIY Intel 8052 Basic computer"},"content":{"rendered":"\n<p>A while ago I bought an old box with integrated circuits that had been stored for many years and contained a lot of tubes with very old IS\u2019s. As I like to build old processor boards and try to repair old computers and boards, these chips were very welcome. In one tube there were two original P8052-Basic chips and that brought back good memories of the time mid 80ties of last century when I was working as head R&amp;D embedded programmer and hardware designer for a small company and was using the 8031 processor a lot. I even extended a tiny Basic version at that time, but the real P8031-Basic was incredible and complete, but expensive and hard to get at that time. I put these chips in my computer chips and cpu collection and one I kept aside to make a board to get it working again.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"526\" src=\"https:\/\/www.heinpragt.nl\/wp-content\/uploads\/2023\/05\/8051_basic.jpg\" alt=\"\" class=\"wp-image-2874\" style=\"width:636px;height:417px\" srcset=\"https:\/\/www.heinpragt.nl\/wp-content\/uploads\/2023\/05\/8051_basic.jpg 800w, https:\/\/www.heinpragt.nl\/wp-content\/uploads\/2023\/05\/8051_basic-300x197.jpg 300w, https:\/\/www.heinpragt.nl\/wp-content\/uploads\/2023\/05\/8051_basic-768x505.jpg 768w, https:\/\/www.heinpragt.nl\/wp-content\/uploads\/2023\/05\/8051_basic-416x274.jpg 416w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n<\/div>\n\n\n<p> I had a latch and a memory chip in my workshop, a PCB was also there, I only needed to order a few 11.0592 crystals as these are not so common anymore. After two evenings of wiring it was finally ready and at my first attempt to run it I got a line number error all the time. I seemed that the external sram was not working and it was a small wiring error. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"481\" src=\"https:\/\/www.heinpragt.nl\/wp-content\/uploads\/2023\/05\/8051_basic2.jpg\" alt=\"\" class=\"wp-image-2876\" style=\"width:632px;height:379px\" srcset=\"https:\/\/www.heinpragt.nl\/wp-content\/uploads\/2023\/05\/8051_basic2.jpg 800w, https:\/\/www.heinpragt.nl\/wp-content\/uploads\/2023\/05\/8051_basic2-300x180.jpg 300w, https:\/\/www.heinpragt.nl\/wp-content\/uploads\/2023\/05\/8051_basic2-768x462.jpg 768w, https:\/\/www.heinpragt.nl\/wp-content\/uploads\/2023\/05\/8051_basic2-416x250.jpg 416w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n<\/div>\n\n\n<p>After I had fixed that it worked like a charm, I connected it to my VT100 terminal with the TTL serial input and after pressing the spacebar I got the prompt and I could write a small Basic program. On this page I will show you the schematic I made, some build instructions and some documentation and (source)code.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"586\" src=\"https:\/\/www.heinpragt.nl\/wp-content\/uploads\/2023\/05\/8051_basic3.jpg\" alt=\"\" class=\"wp-image-2877\" style=\"width:636px;height:465px\" srcset=\"https:\/\/www.heinpragt.nl\/wp-content\/uploads\/2023\/05\/8051_basic3.jpg 800w, https:\/\/www.heinpragt.nl\/wp-content\/uploads\/2023\/05\/8051_basic3-300x220.jpg 300w, https:\/\/www.heinpragt.nl\/wp-content\/uploads\/2023\/05\/8051_basic3-768x563.jpg 768w, https:\/\/www.heinpragt.nl\/wp-content\/uploads\/2023\/05\/8051_basic3-416x305.jpg 416w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n<\/div>\n\n\n<p><a href=\"https:\/\/www.heinpragt-software.com\/software_development\/8052_processor_ide.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.heinpragt-software.com\/software_development\/8052_processor_ide.html<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">AT89C52 &#8211; Basic<\/h2>\n\n\n\n<p>The INTEL 8052AH-BASIC is not available anymore and very rare, I have tried to put the code into a AT89C52 processor and after a few tries this worked fine. You can order a AT89C52 with the service that I will pre program the chip.     <a href=\"https:\/\/www.heinpragt.nl\/?product=at89c52-basic\">https:\/\/www.heinpragt.nl\/?product=at89c52-basic<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Links and downloads<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.heinpragt-software.com\/software_development\/Intel_8052_basic_computer.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.heinpragt-software.com\/software_development\/Intel_8052_basic_computer.html<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.heinpragt.com\/download1\/microcontroller_idea_book.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">The Microcontroller Idea Book &#8211; Circuits and programs for the 8052-BASIC Microcontroller &#8211; Jan Axelson.<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.heinpragt.com\/download1\/ideabook_examples.zip\">The Microcontroller Idea Book &#8211; examples Disk<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.heinpragt.com\/download1\/P8052_Basic%20datasheet.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">P8052_Basic datasheet.pdf<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.heinpragt.com\/download1\/STC89Cxx_datasheet.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">STC89Cxx_datasheet.pdf<\/a><\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.heinpragt.com\/download1\/uk_BAS52.PDF\" target=\"_blank\">BAS52 Manual<\/a>.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.heinpragt.com\/download1\/bas52all.zip\" target=\"_blank\" rel=\"noreferrer noopener\">The original Zip file with the sourcecode of the Basic52 interpreter from Intel.<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>A while ago I bought an old box with integrated circuits that had been stored for many years and contained a lot of tubes with very old IS\u2019s. As I like to build old processor boards and try to repair old computers and boards, these chips were very welcome. In one tube there were two [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":610,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48],"tags":[59,60,105,108,73],"class_list":["post-609","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-eng","tag-59","tag-basic","tag-board","tag-computer","tag-diy"],"_links":{"self":[{"href":"https:\/\/www.heinpragt.nl\/index.php?rest_route=\/wp\/v2\/posts\/609","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.heinpragt.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.heinpragt.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.heinpragt.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.heinpragt.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=609"}],"version-history":[{"count":10,"href":"https:\/\/www.heinpragt.nl\/index.php?rest_route=\/wp\/v2\/posts\/609\/revisions"}],"predecessor-version":[{"id":3931,"href":"https:\/\/www.heinpragt.nl\/index.php?rest_route=\/wp\/v2\/posts\/609\/revisions\/3931"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.heinpragt.nl\/index.php?rest_route=\/wp\/v2\/media\/610"}],"wp:attachment":[{"href":"https:\/\/www.heinpragt.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.heinpragt.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.heinpragt.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}