{"id":735,"date":"2018-12-26T17:10:10","date_gmt":"2018-12-26T17:10:10","guid":{"rendered":"http:\/\/wordpress.hertell.nu\/?p=735"},"modified":"2022-06-14T13:06:07","modified_gmt":"2022-06-14T13:06:07","slug":"building-the-reamiga-from-scratch-part2","status":"publish","type":"post","link":"https:\/\/wordpress.hertell.nu\/?p=735","title":{"rendered":"Building the ReAmiga from scratch. Part2"},"content":{"rendered":"<p>Time to get some code running on this.<\/p>\n<p>Time to get this board to a state that I call &#8220;minimum startup&#8221;\u00a0 it means this is the minimum population of components needed to get Diagrom to start.<\/p>\n<p>First add the Keyboard MPU:<\/p>\n<p><a href=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0270.jpg\" data-ss1655211813=\"1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-736\" src=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0270-300x225.jpg\" alt=\"IMG_0270\" width=\"300\" height=\"225\" srcset=\"https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0270-300x225.jpg 300w, https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0270-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>And then the 3Mhz resonator\/oscillator (NO it is not a cap that some believes it is)<br \/>\nand the Low voltage detector.\u00a0 both are extremly important as the machine will not start without those.<\/p>\n<p><a href=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0271.jpg\" data-ss1655211813=\"1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-737\" src=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0271-300x225.jpg\" alt=\"IMG_0271\" width=\"300\" height=\"225\" srcset=\"https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0271-300x225.jpg 300w, https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0271-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>as our goal is to get the &#8220;LED&#8221; flashing. ODD CIA is needed.\u00a0 TECHNICALLY this is not needed to run the code. but to make it visible.<br \/>\nSo lets add it:<\/p>\n<p><a href=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0272.jpg\" data-ss1655211813=\"1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-738\" src=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0272-300x225.jpg\" alt=\"IMG_0272\" width=\"300\" height=\"225\" srcset=\"https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0272-300x225.jpg 300w, https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0272-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Now to get ROM to be enabled. we need the GAL:<\/p>\n<p><a href=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0273.jpg\" data-ss1655211813=\"1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-739\" src=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0273-300x225.jpg\" alt=\"IMG_0273\" width=\"300\" height=\"225\" srcset=\"https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0273-300x225.jpg 300w, https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0273-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>IF you are moving components from a Rev 2B PCB you CANNOT use the GAL from that board.\u00a0 it is for XU1, this is XU9.\u00a0 in the ReAmiga archive you will find the JED file for XU9. you need to have that programmed.\u00a0 or machine will NOT start.<\/p>\n<p>And add sockets for the kickstart EPROM:<\/p>\n<p><a href=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0274.jpg\" data-ss1655211813=\"1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-740\" src=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0274-300x225.jpg\" alt=\"IMG_0274\" width=\"300\" height=\"225\" srcset=\"https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0274-300x225.jpg 300w, https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0274-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>And time to add the led and the PNP Transistor needed:<\/p>\n<p><a href=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0275.jpg\" data-ss1655211813=\"1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-741\" src=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0275-300x225.jpg\" alt=\"IMG_0275\" width=\"300\" height=\"225\" srcset=\"https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0275-300x225.jpg 300w, https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0275-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Put 2 roms With <a title=\"DiagROM\" href=\"http:\/\/www.diagrom.com\" rel=\"noreferrer\" data-ss1655211813=\"1\">DiagROM <\/a>\u00a0into the sockets (any version will do. but I do this post using DiagROM V1.1)<\/p>\n<p>If you now put in a CPU card, the machine will start and you will see the LED flashing quickly:<\/p>\n<div style=\"width: 600px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-735-1\" width=\"600\" height=\"338\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/VID_20181226_163139.mp4?_=1\" \/><a href=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/VID_20181226_163139.mp4\">http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/VID_20181226_163139.mp4<\/a><\/video><\/div>\n<p>EDIT: I have found that it might be needed to also add the 74HCT244 at U32 at this point to get it to work better.<br \/>\nSo do it as a habit to install it at this point aswell.<\/p>\n<p>if you have no fastmem on the board you will get a slower flash similiar to a guru.\u00a0 either way it should flash.\u00a0 if it doesn&#8217;t check your solderings. (most common issue is a bridge somewhere usually the budgie)<\/p>\n<p>NOW add the CPU.\u00a0 the reason we did test without cpu is that the cpu is the hardest solder in this project. now with flashing led. we know that the minimal setup is working.\u00a0 if it doesn&#8217;t work with cpu. we can concentrate on that ut must be a issue with cpu or (most likely) a bad solder on the cpu.<\/p>\n<p><a href=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0279.jpg\" data-ss1655211813=\"1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-744\" src=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0279-300x225.jpg\" alt=\"IMG_0279\" width=\"300\" height=\"225\" srcset=\"https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0279-300x225.jpg 300w, https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0279-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Now turn on the machine.\u00a0 You will get a &#8220;guru&#8221; similiar LED flash. this as DiagROM will detect the paula as defective\/missing. so it will skip serial output and chipmem detection will be done extremly fast. Putting the machine into &#8220;No mem found&#8221; mode, flashing the LED.<\/p>\n<p>Now we will need a serial output to help us in the future.\u00a0 So to do that, lets add the PAULA and the Serial DSub. (25Pin Male):<\/p>\n<p><a href=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0280.jpg\" data-ss1655211813=\"1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-745\" src=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0280-300x225.jpg\" alt=\"IMG_0280\" width=\"300\" height=\"225\" srcset=\"https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0280-300x225.jpg 300w, https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0280-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>This will however not be enough, we need to put in the 1488 Chip at U28 to be able to atleast SEND data to the serialport:<br \/>\n<a href=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0281.jpg\" data-ss1655211813=\"1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-746\" src=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0281-300x225.jpg\" alt=\"IMG_0281\" width=\"300\" height=\"225\" srcset=\"https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0281-300x225.jpg 300w, https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/IMG_0281-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Now you need to connect a <a title=\"Null-Modem\" href=\"https:\/\/www.lammertbies.nl\/comm\/info\/RS-232_null_modem.html\" rel=\"noreferrer\" data-ss1655211813=\"1\">Null-Modem<\/a>\u00a0(DiagRom doesn&#8217;t use handshaking so TXT, RXD and GND is only really needed pins) to either another Amiga using NComm or so set to 9600BPS 8N1. or as I do, to my Windows PC using PuTTY.\u00a0 (via a USB Serialport):<\/p>\n<p><a href=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/Putty1.png\" data-ss1655211813=\"1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-747\" src=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/Putty1-300x290.png\" alt=\"Putty1\" width=\"300\" height=\"290\" srcset=\"https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/Putty1-300x290.png 300w, https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/Putty1.png 457w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>COM4 is my USB Adapter.\u00a0 set to 9600 BPS (and connectiontype Serial). and press Open.<br \/>\na black screen will popup.\u00a0 and when you turn on your Amiga you should get:<\/p>\n<p><a href=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/Putty2.png\" data-ss1655211813=\"1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-748\" src=\"http:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/Putty2-300x223.png\" alt=\"Putty2\" width=\"300\" height=\"223\" srcset=\"https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/Putty2-300x223.png 300w, https:\/\/wordpress.hertell.nu\/wp-content\/uploads\/2018\/12\/Putty2.png 696w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>(and a memtest (that will fail) will be scrolling down the screen)<\/p>\n<p>Your machine now starts diagrom. this is the point we will get things to start smoothly in next part.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Time to get some code running on this. Time to get this board to a state that I call &#8220;minimum&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-735","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/wordpress.hertell.nu\/index.php?rest_route=\/wp\/v2\/posts\/735","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.hertell.nu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.hertell.nu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.hertell.nu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.hertell.nu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=735"}],"version-history":[{"count":4,"href":"https:\/\/wordpress.hertell.nu\/index.php?rest_route=\/wp\/v2\/posts\/735\/revisions"}],"predecessor-version":[{"id":1261,"href":"https:\/\/wordpress.hertell.nu\/index.php?rest_route=\/wp\/v2\/posts\/735\/revisions\/1261"}],"wp:attachment":[{"href":"https:\/\/wordpress.hertell.nu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.hertell.nu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.hertell.nu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}