<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Emulate an EPROM - How Hard Could it Be? -- Episode 517</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Emulate an EPROM - How Hard Could it Be? -- Episode 517</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517</link><pubDate>Fri, 24 Sep 2021 07:24:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:87d04849-931a-4a7d-932c-f88255058d66</guid><dc:creator>Matt</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517#comments</comments><description>Current Revision posted to Documents by Matt on 9/24/2021 7:24:00 AM&lt;br /&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=XyMrzPP4KBk"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="background-color:#e9f6fc;border:1px solid #b8d7e5;margin:0;max-width:744px;padding:8px;"&gt;&lt;span style="color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;text-align:justify;"&gt;The Apple IIe uses a custom microcontroller and ROM chip to put ASCII values into the computer&amp;rsquo;s memory. How hard could it be to replace that dual-chip setup with a microcontroller to emulate another kind of keyboard? Bald Engineer tries using an Arduino Mega 2560, Teensy 4.0, and a Pi Pico to replace a vintage ROM chip. See what works AND what does not!&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;In the attached zip file are:&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;KiCad files for the ROM Interposer Board&lt;/li&gt;
&lt;li&gt;Arduino code for ROM test&lt;/li&gt;
&lt;li&gt;Teensy code to test interrupt latency&lt;/li&gt;
&lt;li&gt;Python code that can respond to an Output Enable signal&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;A couple of notes that keep coming up:&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: Why do you need to emulate a ROM chip anyway?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: Like most 8-bit computers, the keyboard interface eventually talks directly to the memory bus. In an Apple IIe (and IIc), that is done through a ROM chip.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: Why not just replace the keyboard matrix?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: The final design will not use the original keyboard microcontroller or ROM. Ideally, I want to have an interface for a USB keyboard (and possibly Apple Desktop Bus: ADB.)&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: The Teensy was only 200 nanoseconds, why not just use that?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: The Mini-Apple IIe is based on the MEGA-II ASIC from an Apple IIgs. Its timing is tighter and slightly different from the Apple IIe&amp;rsquo;s MMU. The Teensy is slightly too slow.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: What is &amp;ldquo;Golden Delicious&amp;rdquo;?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: Originally, I was naming this project &amp;ldquo;Golden Delicious.&amp;rdquo; So, let&amp;rsquo;s call it a code name. Now, I call it &amp;ldquo;Mini Apple IIe.&amp;rdquo; But, the final project has a different name.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim0"&gt;&lt;span style="color:#3334ca;"&gt;Supplemental Content:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4650/workbench-wednesday-18-digilent-analog-discovery-review" data-e14adj="t"&gt;Workbench Wednesday 18: Digilent Analog Discovery Review&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4608/workbench-wednesday-16-instrument-basics-logic-analyzer" data-e14adj="t"&gt;Workbench Wednesday 16: Instrument Basics: Logic Analyzer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Keyboard ROM (26-pin) Interposer Board: &lt;a class="jive-link-external-small" title="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board" href="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim1"&gt;&lt;span style="color:#3334ca;"&gt;Bill of Material:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;table class="jiveBorder" style="border:1px solid #C6C6C6;" border="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Product Name&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Manufacturer&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Quantity&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;&lt;a id="e14-product-link-3e22b" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3643332,2212779,3003251,2726213&amp;nsku=22AJ1097,45W6205,97AC8061,40AH1651&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('3e22b'));" data-farnell="3643332,2212779,3003251,2726213" data-newark="22AJ1097,45W6205,97AC8061,40AH1651" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea=",,,undefined~16,,undefined~4,,undefined~2" data-avnetema=",,,undefined~16,,undefined~4,,undefined~2" data-avnetasia=",,,undefined~16,,undefined~4,,undefined~2" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Pi Pico (RP2040)&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Raspberry Pi Foundation&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-c15b0" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=3643332&amp;nsku=22AJ1097&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('c15b0'));" data-farnell="3643332" data-newark="22AJ1097" data-comoverride="" data-cmpoverride="" data-cpc="SC17106" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Mega 2560&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Arduino&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-a60b8" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=2212779&amp;nsku=45W6205&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('a60b8'));" data-farnell="2212779" data-newark="45W6205" data-comoverride="" data-cmpoverride="" data-cpc="SC13721" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Analog Discovery 2&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-606c1" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=3003251&amp;nsku=97AC8061&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('606c1'));" data-farnell="3003251" data-newark="97AC8061" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digital Discovery&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-d3ce9" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=2726213&amp;nsku=40AH1651&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('d3ce9'));" data-farnell="2726213" data-newark="40AH1651" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim2"&gt;&lt;span style="color:#3334ca;"&gt;Additional Parts:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;table class="jiveBorder" style="border:1px solid #000000;width:100%;" border="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="background-color:#6690bc;border:1px solid #000000;color:#ffffff;padding:2px;text-align:left;" valign="middle"&gt;&lt;strong&gt;Product Name&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #000000;padding:2px;"&gt;Teensy 4.0 from PJRC&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div class="migration-injected-attachments"&gt;
&lt;div style="font-weight:bold;margin:15px 0 5px 0;"&gt;Attachments:&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;table style="border:0;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan="2"&gt;&lt;span id="attid_https://www.element14.com/community/api/core/v3/attachments/321977" class="_se_attachment"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-03-81/emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip"&gt;community.element14.com/.../emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;div style="background:#ffffff;border:1px solid #dadada;margin:0;padding:14px 16px 16px 18px;vertical-align:top;"&gt;
&lt;div style="display:inline-block;float:left;padding:0px 25px 8px 0px;"&gt;&lt;a href="/challengesprojects/element14-presents/" data-e14adj="t"&gt;&lt;img alt="element14 presents" src="/e14/assets/legacy/2018/e14PresentsJune818.png" width="180px" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="display:inline-block;vertical-align:top;width:70%;"&gt;&lt;br /&gt;
&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/" data-e14adj="t"&gt;element14 Presents&lt;/a&gt;&lt;/span&gt;&amp;nbsp; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/vcp-program/w/documents/3704/vcp-biography-james" data-e14adj="t"&gt;About James&lt;/a&gt;&lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;Project Videos&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: emulating rom, baldengineer, raspberry pi pico, e14p_JBE, apple, apple iie, eprom, e14presents_baldengineer, masked rom, raspberry pi, digilent, element14 presents, how hard can it be, james, teensy, arduino, friday_release, pi pico&lt;/div&gt;
</description></item><item><title>Episode 517: Emulate an EPROM - How Hard Could it Be?</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517/revision/9</link><pubDate>Thu, 07 Jul 2022 20:38:34 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:87d04849-931a-4a7d-932c-f88255058d66</guid><dc:creator>saradetwiler</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517#comments</comments><description>Revision 9 posted to Documents by saradetwiler on 7/7/2022 8:38:34 PM&lt;br /&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=XyMrzPP4KBk"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="background-color:#e9f6fc;border:1px solid #b8d7e5;margin:0;max-width:744px;padding:8px;"&gt;&lt;span style="color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;text-align:justify;"&gt;The Apple IIe uses a custom microcontroller and ROM chip to put ASCII values into the computer&amp;rsquo;s memory. How hard could it be to replace that dual-chip setup with a microcontroller to emulate another kind of keyboard? Bald Engineer tries using an Arduino Mega 2560, Teensy 4.0, and a Pi Pico to replace a vintage ROM chip. See what works AND what does not!&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;In the attached zip file are:&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;KiCad files for the ROM Interposer Board&lt;/li&gt;
&lt;li&gt;Arduino code for ROM test&lt;/li&gt;
&lt;li&gt;Teensy code to test interrupt latency&lt;/li&gt;
&lt;li&gt;Python code that can respond to an Output Enable signal&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;A couple of notes that keep coming up:&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: Why do you need to emulate a ROM chip anyway?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: Like most 8-bit computers, the keyboard interface eventually talks directly to the memory bus. In an Apple IIe (and IIc), that is done through a ROM chip.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: Why not just replace the keyboard matrix?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: The final design will not use the original keyboard microcontroller or ROM. Ideally, I want to have an interface for a USB keyboard (and possibly Apple Desktop Bus: ADB.)&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: The Teensy was only 200 nanoseconds, why not just use that?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: The Mini-Apple IIe is based on the MEGA-II ASIC from an Apple IIgs. Its timing is tighter and slightly different from the Apple IIe&amp;rsquo;s MMU. The Teensy is slightly too slow.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: What is &amp;ldquo;Golden Delicious&amp;rdquo;?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: Originally, I was naming this project &amp;ldquo;Golden Delicious.&amp;rdquo; So, let&amp;rsquo;s call it a code name. Now, I call it &amp;ldquo;Mini Apple IIe.&amp;rdquo; But, the final project has a different name.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim0"&gt;&lt;span style="color:#3334ca;"&gt;Supplemental Content:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4650/workbench-wednesday-18-digilent-analog-discovery-review"&gt;Workbench Wednesday 18: Digilent Analog Discovery Review&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4608/workbench-wednesday-16-instrument-basics-logic-analyzer"&gt;Workbench Wednesday 16: Instrument Basics: Logic Analyzer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Keyboard ROM (26-pin) Interposer Board: &lt;a class="jive-link-external-small" title="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board" href="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board" rel="nofollow ugc noopener noreferrer" target="_blank"&gt;https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim1"&gt;&lt;span style="color:#3334ca;"&gt;Bill of Material:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;table class="jiveBorder" style="border:1px solid #C6C6C6;" border="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Product Name&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Manufacturer&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Quantity&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;&lt;a id="e14-product-link-36dc2" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3643332,2212779,3003251,2726213&amp;nsku=22AJ1097,45W6205,97AC8061,40AH1651&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('36dc2'));" data-farnell="3643332,2212779,3003251,2726213" data-newark="22AJ1097,45W6205,97AC8061,40AH1651" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea=",,,undefined~16,,undefined~4,,undefined~2" data-avnetema=",,,undefined~16,,undefined~4,,undefined~2" data-avnetasia=",,,undefined~16,,undefined~4,,undefined~2" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Pi Pico (RP2040)&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Raspberry Pi Foundation&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-1b6ed" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=3643332&amp;nsku=22AJ1097&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('1b6ed'));" data-farnell="3643332" data-newark="22AJ1097" data-comoverride="" data-cmpoverride="" data-cpc="SC17106" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Mega 2560&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Arduino&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-55b62" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=2212779&amp;nsku=45W6205&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('55b62'));" data-farnell="2212779" data-newark="45W6205" data-comoverride="" data-cmpoverride="" data-cpc="SC13721" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Analog Discovery 2&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-ebe2b" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=3003251&amp;nsku=97AC8061&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('ebe2b'));" data-farnell="3003251" data-newark="97AC8061" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digital Discovery&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-96a1d" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=2726213&amp;nsku=40AH1651&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('96a1d'));" data-farnell="2726213" data-newark="40AH1651" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim2"&gt;&lt;span style="color:#3334ca;"&gt;Additional Parts:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;table class="jiveBorder" style="border:1px solid #000000;width:100%;" border="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="background-color:#6690bc;border:1px solid #000000;color:#ffffff;padding:2px;text-align:left;" valign="middle"&gt;&lt;strong&gt;Product Name&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #000000;padding:2px;"&gt;Teensy 4.0 from PJRC&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div class="migration-injected-attachments"&gt;
&lt;div style="font-weight:bold;margin:15px 0 5px 0;"&gt;Attachments:&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;table style="border:0;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan="2"&gt;&lt;span id="attid_https://www.element14.com/community/api/core/v3/attachments/321977" class="_se_attachment"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-03-81/emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip"&gt;community.element14.com/.../emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;div style="background:#ffffff;border:1px solid #dadada;margin:0;padding:14px 16px 16px 18px;vertical-align:top;"&gt;
&lt;div style="display:inline-block;float:left;padding:0px 25px 8px 0px;"&gt;&lt;a href="/challengesprojects/element14-presents/"&gt;&lt;img alt="element14 presents" src="/e14/assets/legacy/2018/e14PresentsJune818.png" width="180px" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="display:inline-block;vertical-align:top;width:70%;"&gt;&lt;br /&gt;
&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/"&gt;element14 Presents&lt;/a&gt;&lt;/span&gt;&amp;nbsp; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/vcp-program/w/documents/3704/vcp-biography-james"&gt;About James&lt;/a&gt;&lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/"&gt;Project Videos&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: emulating rom, baldengineer, raspberry pi pico, e14p_JBE, apple, apple iie, eprom, e14presents_baldengineer, masked rom, raspberry pi, digilent, element14 presents, how hard can it be, james, teensy, arduino, friday_release, pi pico&lt;/div&gt;
</description></item><item><title>Episode 517: Emulate an EPROM - How Hard Could it Be?</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517/revision/8</link><pubDate>Fri, 11 Mar 2022 15:22:38 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:87d04849-931a-4a7d-932c-f88255058d66</guid><dc:creator>jdumais</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517#comments</comments><description>Revision 8 posted to Documents by jdumais on 3/11/2022 3:22:38 PM&lt;br /&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=XyMrzPP4KBk"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="background-color:#e9f6fc;border:1px solid #b8d7e5;margin:0;max-width:744px;padding:8px;"&gt;&lt;span style="color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;text-align:justify;"&gt;The Apple IIe uses a custom microcontroller and ROM chip to put ASCII values into the computer&amp;rsquo;s memory. How hard could it be to replace that dual-chip setup with a microcontroller to emulate another kind of keyboard? Bald Engineer tries using an Arduino Mega 2560, Teensy 4.0, and a Pi Pico to replace a vintage ROM chip. See what works AND what does not!&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;In the attached zip file are:&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;KiCad files for the ROM Interposer Board&lt;/li&gt;
&lt;li&gt;Arduino code for ROM test&lt;/li&gt;
&lt;li&gt;Teensy code to test interrupt latency&lt;/li&gt;
&lt;li&gt;Python code that can respond to an Output Enable signal&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;A couple of notes that keep coming up:&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: Why do you need to emulate a ROM chip anyway?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: Like most 8-bit computers, the keyboard interface eventually talks directly to the memory bus. In an Apple IIe (and IIc), that is done through a ROM chip.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: Why not just replace the keyboard matrix?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: The final design will not use the original keyboard microcontroller or ROM. Ideally, I want to have an interface for a USB keyboard (and possibly Apple Desktop Bus: ADB.)&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: The Teensy was only 200 nanoseconds, why not just use that?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: The Mini-Apple IIe is based on the MEGA-II ASIC from an Apple IIgs. Its timing is tighter and slightly different from the Apple IIe&amp;rsquo;s MMU. The Teensy is slightly too slow.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: What is &amp;ldquo;Golden Delicious&amp;rdquo;?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: Originally, I was naming this project &amp;ldquo;Golden Delicious.&amp;rdquo; So, let&amp;rsquo;s call it a code name. Now, I call it &amp;ldquo;Mini Apple IIe.&amp;rdquo; But, the final project has a different name.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim0"&gt;&lt;span style="color:#3334ca;"&gt;Supplemental Content:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4650/workbench-wednesday-18-digilent-analog-discovery-review"&gt;Workbench Wednesday 18: Digilent Analog Discovery Review&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4608/workbench-wednesday-16-instrument-basics-logic-analyzer"&gt;Workbench Wednesday 16: Instrument Basics: Logic Analyzer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Keyboard ROM (26-pin) Interposer Board: &lt;a class="jive-link-external-small" title="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board" href="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board" rel="nofollow ugc noopener noreferrer" target="_blank"&gt;https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim1"&gt;&lt;span style="color:#3334ca;"&gt;Bill of Material:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;table class="jiveBorder" style="border:1px solid #C6C6C6;" border="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Product Name&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Manufacturer&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Quantity&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;&lt;a id="e14-product-link-099dd" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3643332,2212779,3003251,2726213&amp;nsku=22AJ1097,45W6205,97AC8061,40AH1651&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('099dd'));" data-farnell="3643332,2212779,3003251,2726213" data-newark="22AJ1097,45W6205,97AC8061,40AH1651" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea=",,,undefined~16,,undefined~4,,undefined~2" data-avnetema=",,,undefined~16,,undefined~4,,undefined~2" data-avnetasia=",,,undefined~16,,undefined~4,,undefined~2" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Pi Pico (RP2040)&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Raspberry Pi Foundation&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-dedf0" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=3643332&amp;nsku=22AJ1097&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('dedf0'));" data-farnell="3643332" data-newark="22AJ1097" data-comoverride="" data-cmpoverride="" data-cpc="SC17106" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Mega 2560&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Arduino&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-f02d4" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=2212779&amp;nsku=45W6205&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('f02d4'));" data-farnell="2212779" data-newark="45W6205" data-comoverride="" data-cmpoverride="" data-cpc="SC13721" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Analog Discovery 2&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-c93bb" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=3003251&amp;nsku=97AC8061&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('c93bb'));" data-farnell="3003251" data-newark="97AC8061" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digital Discovery&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-1eb04" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=2726213&amp;nsku=40AH1651&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('1eb04'));" data-farnell="2726213" data-newark="40AH1651" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim2"&gt;&lt;span style="color:#3334ca;"&gt;Additional Parts:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;table class="jiveBorder" style="border:1px solid #000000;width:100%;" border="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="background-color:#6690bc;border:1px solid #000000;color:#ffffff;padding:2px;text-align:left;" valign="middle"&gt;&lt;strong&gt;Product Name&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #000000;padding:2px;"&gt;Teensy 4.0 from PJRC&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div class="migration-injected-attachments"&gt;
&lt;div style="font-weight:bold;margin:15px 0 5px 0;"&gt;Attachments:&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;table style="border:0;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan="2"&gt;&lt;span id="attid_https://www.element14.com/community/api/core/v3/attachments/321977" class="_se_attachment"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-03-81/emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip"&gt;community.element14.com/.../emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;div style="background:#ffffff;border:1px solid #dadada;margin:0;padding:14px 16px 16px 18px;vertical-align:top;"&gt;
&lt;div style="display:inline-block;float:left;padding:0px 25px 8px 0px;"&gt;&lt;a href="/challengesprojects/element14-presents/"&gt;&lt;img alt="element14 presents" src="/e14/assets/legacy/2018/e14PresentsJune818.png" width="180px" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="display:inline-block;vertical-align:top;width:70%;"&gt;&lt;br /&gt;
&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/"&gt;element14 Presents&lt;/a&gt;&lt;/span&gt;&amp;nbsp; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/vcp-program/w/documents/3704/vcp-biography-james"&gt;About James&lt;/a&gt;&lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/"&gt;Project Videos&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: emulating rom, baldengineer, raspberry pi pico, apple, apple iie, eprom, e14presents_baldengineer, masked rom, raspberry pi, digilent, element14 presents, how hard can it be, james, teensy, arduino, friday_release, pi pico&lt;/div&gt;
</description></item><item><title>Episode 517: Emulate an EPROM - How Hard Could it Be?</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517/revision/7</link><pubDate>Wed, 23 Feb 2022 23:36:33 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:87d04849-931a-4a7d-932c-f88255058d66</guid><dc:creator>kellyhensen</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517#comments</comments><description>Revision 7 posted to Documents by kellyhensen on 2/23/2022 11:36:33 PM&lt;br /&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=XyMrzPP4KBk"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="background-color:#e9f6fc;border:1px solid #b8d7e5;margin:0;max-width:744px;padding:8px;"&gt;&lt;span style="color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;text-align:justify;"&gt;The Apple IIe uses a custom microcontroller and ROM chip to put ASCII values into the computer&amp;rsquo;s memory. How hard could it be to replace that dual-chip setup with a microcontroller to emulate another kind of keyboard? Bald Engineer tries using an Arduino Mega 2560, Teensy 4.0, and a Pi Pico to replace a vintage ROM chip. See what works AND what does not!&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;In the attached zip file are:&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;KiCad files for the ROM Interposer Board&lt;/li&gt;
&lt;li&gt;Arduino code for ROM test&lt;/li&gt;
&lt;li&gt;Teensy code to test interrupt latency&lt;/li&gt;
&lt;li&gt;Python code that can respond to an Output Enable signal&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;A couple of notes that keep coming up:&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: Why do you need to emulate a ROM chip anyway?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: Like most 8-bit computers, the keyboard interface eventually talks directly to the memory bus. In an Apple IIe (and IIc), that is done through a ROM chip.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: Why not just replace the keyboard matrix?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: The final design will not use the original keyboard microcontroller or ROM. Ideally, I want to have an interface for a USB keyboard (and possibly Apple Desktop Bus: ADB.)&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: The Teensy was only 200 nanoseconds, why not just use that?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: The Mini-Apple IIe is based on the MEGA-II ASIC from an Apple IIgs. Its timing is tighter and slightly different from the Apple IIe&amp;rsquo;s MMU. The Teensy is slightly too slow.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: What is &amp;ldquo;Golden Delicious&amp;rdquo;?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: Originally, I was naming this project &amp;ldquo;Golden Delicious.&amp;rdquo; So, let&amp;rsquo;s call it a code name. Now, I call it &amp;ldquo;Mini Apple IIe.&amp;rdquo; But, the final project has a different name.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim0"&gt;&lt;span style="color:#3334ca;"&gt;Supplemental Content:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4650/workbench-wednesday-18-digilent-analog-discovery-review"&gt;Workbench Wednesday 18: Digilent Analog Discovery Review&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4608/workbench-wednesday-16-instrument-basics-logic-analyzer"&gt;Workbench Wednesday 16: Instrument Basics: Logic Analyzer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Keyboard ROM (26-pin) Interposer Board: &lt;a class="jive-link-external-small" title="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board" href="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board" rel="nofollow ugc noopener noreferrer" target="_blank"&gt;https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim1"&gt;&lt;span style="color:#3334ca;"&gt;Bill of Material:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;table class="jiveBorder" style="border:1px solid #C6C6C6;" border="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Product Name&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Manufacturer&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Quantity&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;&lt;a id="e14-product-link-44349" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3643332,2212779,3003251,2726213&amp;nsku=22AJ1097,45W6205,97AC8061,40AH1651&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('44349'));" data-farnell="3643332,2212779,3003251,2726213" data-newark="22AJ1097,45W6205,97AC8061,40AH1651" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea=",,,undefined~16,,undefined~4,,undefined~2" data-avnetema=",,,undefined~16,,undefined~4,,undefined~2" data-avnetasia=",,,undefined~16,,undefined~4,,undefined~2" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Pi Pico (RP2040)&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Raspberry Pi Foundation&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-0177a" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=3643332&amp;nsku=22AJ1097&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('0177a'));" data-farnell="3643332" data-newark="22AJ1097" data-comoverride="" data-cmpoverride="" data-cpc="SC17106" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Mega 2560&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Arduino&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-583bd" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=2212779&amp;nsku=45W6205&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('583bd'));" data-farnell="2212779" data-newark="45W6205" data-comoverride="" data-cmpoverride="" data-cpc="SC13721" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Analog Discovery 2&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-ae469" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=3003251&amp;nsku=97AC8061&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('ae469'));" data-farnell="3003251" data-newark="97AC8061" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digital Discovery&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-6044d" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=2726213&amp;nsku=40AH1651&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('6044d'));" data-farnell="2726213" data-newark="40AH1651" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim2"&gt;&lt;span style="color:#3334ca;"&gt;Additional Parts:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;table class="jiveBorder" style="border:1px solid #000000;width:100%;" border="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="background-color:#6690bc;border:1px solid #000000;color:#ffffff;padding:2px;text-align:left;" valign="middle"&gt;&lt;strong&gt;Product Name&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #000000;padding:2px;"&gt;Teensy 4.0 from PJRC&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div class="migration-injected-attachments"&gt;
&lt;div style="font-weight:bold;margin:15px 0 5px 0;"&gt;Attachments:&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;table style="border:0;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan="2"&gt;&lt;span id="attid_https://www.element14.com/community/api/core/v3/attachments/321977" class="_se_attachment"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-03-81/emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip"&gt;community.element14.com/.../emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;div style="background:#ffffff;border:1px solid #dadada;margin:0;padding:14px 16px 16px 18px;vertical-align:top;"&gt;
&lt;div style="display:inline-block;float:left;padding:0px 25px 8px 0px;"&gt;&lt;a href="/challengesprojects/element14-presents/"&gt;&lt;img alt="element14 presents" src="/e14/assets/legacy/2018/e14PresentsJune818.png" width="180px" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="display:inline-block;vertical-align:top;width:70%;"&gt;&lt;br /&gt;
&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/"&gt;element14 Presents&lt;/a&gt;&lt;/span&gt;&amp;nbsp; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/vcp-program/w/documents/3704/vcp-biography-james"&gt;About James&lt;/a&gt;&lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/"&gt;Project Videos&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: emulating rom, baldengineer, raspberry pi pico, apple, apple iie, eprom, e14presents_baldengineer, masked rom, raspberry pi, digilent, element14 presents, how hard can it be, james, teensy, arduino, friday_release, pi pico&lt;/div&gt;
</description></item><item><title>Episode 517: Emulate an EPROM - How Hard Could it Be?</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517/revision/6</link><pubDate>Wed, 23 Feb 2022 22:56:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:87d04849-931a-4a7d-932c-f88255058d66</guid><dc:creator>kellyhensen</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517#comments</comments><description>Revision 6 posted to Documents by kellyhensen on 2/23/2022 10:56:55 PM&lt;br /&gt;

&lt;p&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=XyMrzPP4KBk"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="background-color:#e9f6fc;border:1px solid #b8d7e5;margin:0;max-width:744px;padding:8px;"&gt;&lt;span style="color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;text-align:justify;"&gt;The Apple IIe uses a custom microcontroller and ROM chip to put ASCII values into the computer&amp;rsquo;s memory. How hard could it be to replace that dual-chip setup with a microcontroller to emulate another kind of keyboard? Bald Engineer tries using an Arduino Mega 2560, Teensy 4.0, and a Pi Pico to replace a vintage ROM chip. See what works AND what does not!&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;In the attached zip file are:&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;KiCad files for the ROM Interposer Board&lt;/li&gt;
&lt;li&gt;Arduino code for ROM test&lt;/li&gt;
&lt;li&gt;Teensy code to test interrupt latency&lt;/li&gt;
&lt;li&gt;Python code that can respond to an Output Enable signal&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;A couple of notes that keep coming up:&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: Why do you need to emulate a ROM chip anyway?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: Like most 8-bit computers, the keyboard interface eventually talks directly to the memory bus. In an Apple IIe (and IIc), that is done through a ROM chip.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: Why not just replace the keyboard matrix?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: The final design will not use the original keyboard microcontroller or ROM. Ideally, I want to have an interface for a USB keyboard (and possibly Apple Desktop Bus: ADB.)&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: The Teensy was only 200 nanoseconds, why not just use that?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: The Mini-Apple IIe is based on the MEGA-II ASIC from an Apple IIgs. Its timing is tighter and slightly different from the Apple IIe&amp;rsquo;s MMU. The Teensy is slightly too slow.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: What is &amp;ldquo;Golden Delicious&amp;rdquo;?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: Originally, I was naming this project &amp;ldquo;Golden Delicious.&amp;rdquo; So, let&amp;rsquo;s call it a code name. Now, I call it &amp;ldquo;Mini Apple IIe.&amp;rdquo; But, the final project has a different name.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim0"&gt;&lt;span style="color:#3334ca;"&gt;Supplemental Content:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4650/workbench-wednesday-18-digilent-analog-discovery-review"&gt;Workbench Wednesday 18: Digilent Analog Discovery Review&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4608/workbench-wednesday-16-instrument-basics-logic-analyzer"&gt;Workbench Wednesday 16: Instrument Basics: Logic Analyzer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Keyboard ROM (26-pin) Interposer Board: &lt;a class="jive-link-external-small" title="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board" href="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board" rel="nofollow ugc noopener noreferrer" target="_blank"&gt;https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim1"&gt;&lt;span style="color:#3334ca;"&gt;Bill of Material:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;table class="jiveBorder" style="border:1px solid #C6C6C6;" border="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Product Name&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Manufacturer&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Quantity&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;&lt;a id="e14-product-link-b704d" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3643332,2212779,3003251,2726213&amp;nsku=22AJ1097,45W6205,97AC8061,40AH1651&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('b704d'));" data-farnell="3643332,2212779,3003251,2726213" data-newark="22AJ1097,45W6205,97AC8061,40AH1651" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea=",,,undefined~16,,undefined~4,,undefined~2" data-avnetema=",,,undefined~16,,undefined~4,,undefined~2" data-avnetasia=",,,undefined~16,,undefined~4,,undefined~2" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Pi Pico (RP2040)&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Raspberry Pi Foundation&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-96853" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=3643332&amp;nsku=22AJ1097&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('96853'));" data-farnell="3643332" data-newark="22AJ1097" data-comoverride="" data-cmpoverride="" data-cpc="SC17106" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Mega 2560&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Arduino&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-349af" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=2212779&amp;nsku=45W6205&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('349af'));" data-farnell="2212779" data-newark="45W6205" data-comoverride="" data-cmpoverride="" data-cpc="SC13721" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Analog Discovery 2&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-be08c" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=3003251&amp;nsku=97AC8061&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('be08c'));" data-farnell="3003251" data-newark="97AC8061" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digital Discovery&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-3648a" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=2726213&amp;nsku=40AH1651&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('3648a'));" data-farnell="2726213" data-newark="40AH1651" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim2"&gt;&lt;span style="color:#3334ca;"&gt;Additional Parts:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;table class="jiveBorder" style="border:1px solid #000000;width:100%;" border="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="background-color:#6690bc;border:1px solid #000000;color:#ffffff;padding:2px;text-align:left;" valign="middle"&gt;&lt;strong&gt;Product Name&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #000000;padding:2px;"&gt;Teensy 4.0 from PJRC&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div class="migration-injected-attachments"&gt;
&lt;div style="font-weight:bold;margin:15px 0 5px 0;"&gt;Attachments:&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;table style="border:0;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan="2"&gt;&lt;span id="attid_https://www.element14.com/community/api/core/v3/attachments/321977" class="_se_attachment"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-03-81/emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip"&gt;community.element14.com/.../emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;div style="background:#ffffff;border:1px solid #dadada;margin:0;padding:14px 16px 16px 18px;vertical-align:top;"&gt;
&lt;div style="display:inline-block;float:left;padding:0px 25px 8px 0px;"&gt;&lt;a href="/challengesprojects/element14-presents/"&gt;&lt;img alt="element14 presents" src="/e14/assets/legacy/2018/e14PresentsJune818.png" width="180px" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="display:inline-block;vertical-align:top;width:70%;"&gt;&lt;br /&gt;
&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/"&gt;element14 Presents&lt;/a&gt;&lt;/span&gt;&amp;nbsp; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/vcp-program/w/documents/3704/vcp-biography-james"&gt;About James&lt;/a&gt;&lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/"&gt;Project Videos&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: emulating rom, baldengineer, raspberry pi pico, apple, apple iie, eprom, e14presents_baldengineer, masked rom, raspberry pi, digilent, element14 presents, james, teensy, arduino, friday_release, pi pico&lt;/div&gt;
</description></item><item><title>Episode 517: Emulate an EPROM - How Hard Could it Be?</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517/revision/5</link><pubDate>Thu, 13 Jan 2022 15:46:08 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:87d04849-931a-4a7d-932c-f88255058d66</guid><dc:creator>kellyhensen</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517#comments</comments><description>Revision 5 posted to Documents by kellyhensen on 1/13/2022 3:46:08 PM&lt;br /&gt;

&lt;p style="margin:0;"&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=XyMrzPP4KBk"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="background-color:#e9f6fc;border:1px solid #b8d7e5;margin:0;max-width:744px;padding:8px;"&gt;&lt;span style="color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;text-align:justify;"&gt;The Apple IIe uses a custom microcontroller and ROM chip to put ASCII values into the computer&amp;rsquo;s memory. How hard could it be to replace that dual-chip setup with a microcontroller to emulate another kind of keyboard? Bald Engineer tries using an Arduino Mega 2560, Teensy 4.0, and a Pi Pico to replace a vintage ROM chip. See what works AND what does not!&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;In the attached zip file are:&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;KiCad files for the ROM Interposer Board&lt;/li&gt;
&lt;li&gt;Arduino code for ROM test&lt;/li&gt;
&lt;li&gt;Teensy code to test interrupt latency&lt;/li&gt;
&lt;li&gt;Python code that can respond to an Output Enable signal&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;A couple of notes that keep coming up:&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: Why do you need to emulate a ROM chip anyway?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: Like most 8-bit computers, the keyboard interface eventually talks directly to the memory bus. In an Apple IIe (and IIc), that is done through a ROM chip.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: Why not just replace the keyboard matrix?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: The final design will not use the original keyboard microcontroller or ROM. Ideally, I want to have an interface for a USB keyboard (and possibly Apple Desktop Bus: ADB.)&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: The Teensy was only 200 nanoseconds, why not just use that?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: The Mini-Apple IIe is based on the MEGA-II ASIC from an Apple IIgs. Its timing is tighter and slightly different from the Apple IIe&amp;rsquo;s MMU. The Teensy is slightly too slow.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: What is &amp;ldquo;Golden Delicious&amp;rdquo;?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: Originally, I was naming this project &amp;ldquo;Golden Delicious.&amp;rdquo; So, let&amp;rsquo;s call it a code name. Now, I call it &amp;ldquo;Mini Apple IIe.&amp;rdquo; But, the final project has a different name.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim0"&gt;&lt;span style="color:#3334ca;"&gt;Supplemental Content:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4650/workbench-wednesday-18-digilent-analog-discovery-review"&gt;Workbench Wednesday 18: Digilent Analog Discovery Review&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4608/workbench-wednesday-16-instrument-basics-logic-analyzer"&gt;Workbench Wednesday 16: Instrument Basics: Logic Analyzer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Keyboard ROM (26-pin) Interposer Board: &lt;a class="jive-link-external-small" title="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board" href="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board" rel="nofollow ugc noopener noreferrer" target="_blank"&gt;https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim1"&gt;&lt;span style="color:#3334ca;"&gt;Bill of Material:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;table class="jiveBorder" style="border:1px solid #C6C6C6;" border="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Product Name&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Manufacturer&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Quantity&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;&lt;a id="e14-product-link-a7b5c" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3643332,2212779,3003251,2726213&amp;nsku=22AJ1097,45W6205,97AC8061,40AH1651&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('a7b5c'));" data-farnell="3643332,2212779,3003251,2726213" data-newark="22AJ1097,45W6205,97AC8061,40AH1651" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea=",,,undefined~16,,undefined~4,,undefined~2" data-avnetema=",,,undefined~16,,undefined~4,,undefined~2" data-avnetasia=",,,undefined~16,,undefined~4,,undefined~2" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Pi Pico (RP2040)&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Raspberry Pi Foundation&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-eb7b2" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=3643332&amp;nsku=22AJ1097&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('eb7b2'));" data-farnell="3643332" data-newark="22AJ1097" data-comoverride="" data-cmpoverride="" data-cpc="SC17106" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Mega 2560&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Arduino&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-c9dfd" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=2212779&amp;nsku=45W6205&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('c9dfd'));" data-farnell="2212779" data-newark="45W6205" data-comoverride="" data-cmpoverride="" data-cpc="SC13721" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Analog Discovery 2&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-8a460" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=3003251&amp;nsku=97AC8061&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('8a460'));" data-farnell="3003251" data-newark="97AC8061" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digital Discovery&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-6cde5" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=2726213&amp;nsku=40AH1651&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('6cde5'));" data-farnell="2726213" data-newark="40AH1651" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim2"&gt;&lt;span style="color:#3334ca;"&gt;Additional Parts:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;table class="jiveBorder" style="border:1px solid #000000;width:100%;" border="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="background-color:#6690bc;border:1px solid #000000;color:#ffffff;padding:2px;text-align:left;" valign="middle"&gt;&lt;strong&gt;Product Name&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #000000;padding:2px;"&gt;Teensy 4.0 from PJRC&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div class="migration-injected-attachments"&gt;
&lt;div style="font-weight:bold;margin:15px 0 5px 0;"&gt;Attachments:&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;table style="border:0;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan="2"&gt;&lt;span id="attid_https://www.element14.com/community/api/core/v3/attachments/321977" class="_se_attachment"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-03-81/emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip"&gt;community.element14.com/.../emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;div style="background:#ffffff;border:1px solid #dadada;margin:0;padding:14px 16px 16px 18px;vertical-align:top;"&gt;
&lt;div style="display:inline-block;float:left;padding:0px 25px 8px 0px;"&gt;&lt;a href="/challengesprojects/element14-presents/"&gt;&lt;img alt="element14 presents" src="/e14/assets/legacy/2018/e14PresentsJune818.png" width="180px" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="display:inline-block;vertical-align:top;width:70%;"&gt;&lt;br /&gt;
&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/"&gt;element14 Presents&lt;/a&gt;&lt;/span&gt;&amp;nbsp; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/vcp-program/w/documents/3704/vcp-biography-james"&gt;About James&lt;/a&gt;&lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/"&gt;Project Videos&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: emulating rom, raspberry pi pico, apple, apple iie, eprom, e14presents_baldengineer, masked rom, raspberry pi, arduino, friday_release, pi pico&lt;/div&gt;
</description></item><item><title>Episode 517: Emulate an EPROM - How Hard Could it Be?</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517/revision/4</link><pubDate>Mon, 29 Nov 2021 23:09:15 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:87d04849-931a-4a7d-932c-f88255058d66</guid><dc:creator>dychen</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517#comments</comments><description>Revision 4 posted to Documents by dychen on 11/29/2021 11:09:15 PM&lt;br /&gt;
&lt;div style="background:#ffffff;border:1px solid #dadada;margin:0;padding:14px 16px 16px 18px;vertical-align:top;"&gt;
&lt;div style="display:inline-block;float:left;padding:0px 25px 8px 0px;"&gt;&lt;a href="/challengesprojects/element14-presents/"&gt;&lt;img alt="element14 presents" src="/e14/assets/legacy/2018/e14PresentsJune818.png" width="180px" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="display:inline-block;vertical-align:top;width:70%;"&gt;&lt;span style="font-size:18px;font-weight:bold;"&gt;Emulate an EPROM - How Hard Could it Be?&lt;/span&gt;
&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/"&gt;element14 Presents&lt;/a&gt;&lt;/span&gt;&amp;nbsp; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/vcp-program/w/documents/3704/vcp-biography-james"&gt;Bald Engineer: James Lewis&amp;#39; VCP Profile &lt;/a&gt; &lt;span style="padding-right:5px;"&gt; &lt;/span&gt;&lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/"&gt;Project Videos&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=XyMrzPP4KBk"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="background-color:#e9f6fc;border:1px solid #b8d7e5;margin:0;max-width:744px;padding:8px;"&gt;&lt;span style="color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;text-align:justify;"&gt;The Apple IIe uses a custom microcontroller and ROM chip to put ASCII values into the computer&amp;rsquo;s memory. How hard could it be to replace that dual-chip setup with a microcontroller to emulate another kind of keyboard? Bald Engineer tries using an Arduino Mega 2560, Teensy 4.0, and a Pi Pico to replace a vintage ROM chip. See what works AND what does not!&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;In the attached zip file are:&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;KiCad files for the ROM Interposer Board&lt;/li&gt;
&lt;li&gt;Arduino code for ROM test&lt;/li&gt;
&lt;li&gt;Teensy code to test interrupt latency&lt;/li&gt;
&lt;li&gt;Python code that can respond to an Output Enable signal&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;A couple of notes that keep coming up:&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: Why do you need to emulate a ROM chip anyway?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: Like most 8-bit computers, the keyboard interface eventually talks directly to the memory bus. In an Apple IIe (and IIc), that is done through a ROM chip.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: Why not just replace the keyboard matrix?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: The final design will not use the original keyboard microcontroller or ROM. Ideally, I want to have an interface for a USB keyboard (and possibly Apple Desktop Bus: ADB.)&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: The Teensy was only 200 nanoseconds, why not just use that?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: The Mini-Apple IIe is based on the MEGA-II ASIC from an Apple IIgs. Its timing is tighter and slightly different from the Apple IIe&amp;rsquo;s MMU. The Teensy is slightly too slow.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: What is &amp;ldquo;Golden Delicious&amp;rdquo;?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: Originally, I was naming this project &amp;ldquo;Golden Delicious.&amp;rdquo; So, let&amp;rsquo;s call it a code name. Now, I call it &amp;ldquo;Mini Apple IIe.&amp;rdquo; But, the final project has a different name.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim0"&gt;&lt;span style="color:#3334ca;"&gt;Supplemental Content:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4650/workbench-wednesday-18-digilent-analog-discovery-review"&gt;Workbench Wednesday 18: Digilent Analog Discovery Review&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4608/workbench-wednesday-16-instrument-basics-logic-analyzer"&gt;Workbench Wednesday 16: Instrument Basics: Logic Analyzer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Keyboard ROM (26-pin) Interposer Board: &lt;a class="jive-link-external-small" title="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board" href="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board" rel="nofollow ugc noopener noreferrer" target="_blank"&gt;https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim1"&gt;&lt;span style="color:#3334ca;"&gt;Bill of Material:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;table class="jiveBorder" style="border:1px solid #C6C6C6;" border="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Product Name&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Manufacturer&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Quantity&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;&lt;a id="e14-product-link-8b187" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3643332,2212779,3003251,2726213&amp;nsku=22AJ1097,45W6205,97AC8061,40AH1651&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('8b187'));" data-farnell="3643332,2212779,3003251,2726213" data-newark="22AJ1097,45W6205,97AC8061,40AH1651" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea=",,,undefined~16,,undefined~4,,undefined~2" data-avnetema=",,,undefined~16,,undefined~4,,undefined~2" data-avnetasia=",,,undefined~16,,undefined~4,,undefined~2" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Pi Pico (RP2040)&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Raspberry Pi Foundation&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-0465e" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=3643332&amp;nsku=22AJ1097&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('0465e'));" data-farnell="3643332" data-newark="22AJ1097" data-comoverride="" data-cmpoverride="" data-cpc="SC17106" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Mega 2560&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Arduino&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-fe36e" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=2212779&amp;nsku=45W6205&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('fe36e'));" data-farnell="2212779" data-newark="45W6205" data-comoverride="" data-cmpoverride="" data-cpc="SC13721" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Analog Discovery 2&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-d8850" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=3003251&amp;nsku=97AC8061&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('d8850'));" data-farnell="3003251" data-newark="97AC8061" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digital Discovery&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-36333" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=2726213&amp;nsku=40AH1651&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('36333'));" data-farnell="2726213" data-newark="40AH1651" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim2"&gt;&lt;span style="color:#3334ca;"&gt;Additional Parts:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;table class="jiveBorder" style="border:1px solid #000000;width:100%;" border="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="background-color:#6690bc;border:1px solid #000000;color:#ffffff;padding:2px;text-align:left;" valign="middle"&gt;&lt;strong&gt;Product Name&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #000000;padding:2px;"&gt;Teensy 4.0 from PJRC&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div class="migration-injected-attachments"&gt;
&lt;div style="font-weight:bold;margin:15px 0 5px 0;"&gt;Attachments:&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;table style="border:0;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan="2"&gt;&lt;span id="attid_https://www.element14.com/community/api/core/v3/attachments/321977" class="_se_attachment"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-03-81/emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip"&gt;community.element14.com/.../emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: emulating rom, raspberry pi pico, apple, apple iie, eprom, e14presents_baldengineer, masked rom, raspberry pi, arduino, friday_release, pi pico&lt;/div&gt;
</description></item><item><title>Episode 517: Emulate an EPROM - How Hard Could it Be?</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517/revision/3</link><pubDate>Mon, 29 Nov 2021 23:06:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:87d04849-931a-4a7d-932c-f88255058d66</guid><dc:creator>dychen</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517#comments</comments><description>Revision 3 posted to Documents by dychen on 11/29/2021 11:06:05 PM&lt;br /&gt;
&lt;div style="background:#ffffff;border:1px solid #dadada;margin:0;padding:14px 16px 16px 18px;vertical-align:top;"&gt;
&lt;div style="display:inline-block;float:left;padding:0px 25px 8px 0px;"&gt;&lt;a href="/challengesprojects/element14-presents/"&gt;&lt;img alt="element14 presents" src="/e14/assets/legacy/2018/e14PresentsJune818.png" width="180px" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="display:inline-block;vertical-align:top;width:70%;"&gt;&lt;span style="font-size:18px;font-weight:bold;"&gt;Emulate an EPROM - How Hard Could it Be?&lt;/span&gt;
&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/"&gt;element14 Presents&lt;/a&gt;&lt;/span&gt;&amp;nbsp; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/vcp-program/w/documents/3704/vcp-biography-james"&gt;Bald Engineer: James Lewis&amp;#39; VCP Profile &lt;/a&gt; &lt;span style="padding-right:5px;"&gt; &lt;/span&gt;&lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/"&gt;Project Videos&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=XyMrzPP4KBk"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="background-color:#e9f6fc;border:1px solid #b8d7e5;margin:0;max-width:744px;padding:8px;"&gt;&lt;span style="color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;text-align:justify;"&gt;The Apple IIe uses a custom microcontroller and ROM chip to put ASCII values into the computer&amp;rsquo;s memory. How hard could it be to replace that dual-chip setup with a microcontroller to emulate another kind of keyboard? Bald Engineer tries using an Arduino Mega 2560, Teensy 4.0, and a Pi Pico to replace a vintage ROM chip. See what works AND what does not!&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;In the attached zip file are:&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;KiCad files for the ROM Interposer Board&lt;/li&gt;
&lt;li&gt;Arduino code for ROM test&lt;/li&gt;
&lt;li&gt;Teensy code to test interrupt latency&lt;/li&gt;
&lt;li&gt;Python code that can respond to an Output Enable signal&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;A couple of notes that keep coming up:&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: Why do you need to emulate a ROM chip anyway?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: Like most 8-bit computers, the keyboard interface eventually talks directly to the memory bus. In an Apple IIe (and IIc), that is done through a ROM chip.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: Why not just replace the keyboard matrix?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: The final design will not use the original keyboard microcontroller or ROM. Ideally, I want to have an interface for a USB keyboard (and possibly Apple Desktop Bus: ADB.)&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: The Teensy was only 200 nanoseconds, why not just use that?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: The Mini-Apple IIe is based on the MEGA-II ASIC from an Apple IIgs. Its timing is tighter and slightly different from the Apple IIe&amp;rsquo;s MMU. The Teensy is slightly too slow.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Q: What is &amp;ldquo;Golden Delicious&amp;rdquo;?&lt;/p&gt;
&lt;p style="margin:0;"&gt;A: Originally, I was naming this project &amp;ldquo;Golden Delicious.&amp;rdquo; So, let&amp;rsquo;s call it a code name. Now, I call it &amp;ldquo;Mini Apple IIe.&amp;rdquo; But, the final project has a different name.&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim0"&gt;&lt;span style="color:#3334ca;"&gt;Supplemental Content:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4650/workbench-wednesday-18-digilent-analog-discovery-review"&gt;Workbench Wednesday 18: Digilent Analog Discovery Review&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4608/workbench-wednesday-16-instrument-basics-logic-analyzer"&gt;Workbench Wednesday 16: Instrument Basics: Logic Analyzer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Keyboard ROM (26-pin) Interposer Board: &lt;a class="jive-link-external-small" title="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board" href="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board" rel="nofollow ugc noopener noreferrer" target="_blank"&gt;https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim1"&gt;&lt;span style="color:#3334ca;"&gt;Bill of Material:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;table class="jiveBorder" style="border:1px solid #C6C6C6;" border="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Product Name&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Manufacturer&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;Quantity&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #C6C6C6;color:#505050;padding:6px;text-align:left;"&gt;&lt;span&gt;&lt;span id="addProduct-LZ0kRoAt-linked" class="e14-init-shown e14-product-link-buynow" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=3643332~1,2212779~1,3003251~1,2726213~1&amp;amp;nsku=22AJ1097~1,45W6205~1,97AC8061~1,40AH1651~1&amp;amp;COM=noscript" rel="noopener noreferrer" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=3643332~1,2212779~1,3003251~1,2726213~1&amp;amp;nsku=22AJ1097~1,45W6205~1,97AC8061~1,40AH1651~1&amp;amp;COM=noscript" rel="noopener noreferrer" target="_blank"&gt;Buy Kit&lt;/a&gt;&lt;/span&gt;&lt;span id="addProduct-LZ0kRoAt-unlinked" class="e14-init-hidden"&gt;Buy Kit&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Pi Pico (RP2040)&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Raspberry Pi Foundation&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-2f718" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=3643332&amp;nsku=22AJ1097&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('2f718'));" data-farnell="3643332" data-newark="22AJ1097" data-comoverride="" data-cmpoverride="" data-cpc="SC17106" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Mega 2560&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Arduino&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-10b22" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=2212779&amp;nsku=45W6205&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('10b22'));" data-farnell="2212779" data-newark="45W6205" data-comoverride="" data-cmpoverride="" data-cpc="SC13721" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Analog Discovery 2&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-143d7" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=3003251&amp;nsku=97AC8061&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('143d7'));" data-farnell="3003251" data-newark="97AC8061" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digital Discovery&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;
&lt;td style="border:1px solid #C6C6C6;padding:6px;"&gt;&lt;a id="e14-product-link-9e49e" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=2726213&amp;nsku=40AH1651&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('9e49e'));" data-farnell="2726213" data-newark="40AH1651" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 id="mcetoc_1flmuukim2"&gt;&lt;span style="color:#3334ca;"&gt;Additional Parts:&lt;/span&gt;&lt;/h2&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;table class="jiveBorder" style="border:1px solid #000000;width:100%;" border="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="background-color:#6690bc;border:1px solid #000000;color:#ffffff;padding:2px;text-align:left;" valign="middle"&gt;&lt;strong&gt;Product Name&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #000000;padding:2px;"&gt;Teensy 4.0 from PJRC&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div class="migration-injected-attachments"&gt;
&lt;div style="font-weight:bold;margin:15px 0 5px 0;"&gt;Attachments:&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;table style="border:0;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan="2"&gt;&lt;span id="attid_https://www.element14.com/community/api/core/v3/attachments/321977" class="_se_attachment"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-03-81/emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip"&gt;community.element14.com/.../emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: emulating rom, raspberry pi pico, apple, apple iie, eprom, e14presents_baldengineer, masked rom, raspberry pi, arduino, friday_release, pi pico&lt;/div&gt;
</description></item><item><title>Episode 517: Emulate an EPROM - How Hard Could it Be?</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517/revision/1</link><pubDate>Fri, 15 Oct 2021 14:02:14 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:87d04849-931a-4a7d-932c-f88255058d66</guid><dc:creator>kellyhensen</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517#comments</comments><description>Revision 1 posted to Documents by kellyhensen on 10/15/2021 2:02:14 PM&lt;br /&gt;
&lt;div style="background:#ffffff;padding:14px 16px 16px 18px;margin:0;vertical-align:top;border:1px solid #dadada;"&gt;&lt;div style="float:left;display:inline-block;padding:0px 25px 8px 0px;"&gt;&lt;a href="/challengesprojects/element14-presents/"&gt;&lt;img alt="element14 presents" src="/e14/assets/legacy/2018/e14PresentsJune818.png" width="180px" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="display:inline-block;vertical-align:top;width:70%;"&gt;&lt;span style="font-size:18px;font-weight:bold;"&gt;Emulate an EPROM - How Hard Could it Be?&lt;/span&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/"&gt;element14 Presents&lt;/a&gt;&lt;/span&gt;&amp;nbsp; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/vcp-program/w/documents/3704/vcp-biography-james"&gt;Bald Engineer: James Lewis&amp;#39; VCP Profile &lt;/a&gt; &lt;span style="padding-right:5px;"&gt; &lt;/span&gt;&lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/"&gt;Project Videos&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;/p&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=XyMrzPP4KBk"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;p style="margin:0;"&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;border:1px solid #b8d7e5;background-color:#e9f6fc;padding:8px;max-width:744px;"&gt;&lt;span style="color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;text-align:justify;"&gt;The Apple IIe uses a custom microcontroller and ROM chip to put ASCII values into the computer’s memory. How hard could it be to replace that dual-chip setup with a microcontroller to emulate another kind of keyboard? Bald Engineer tries using an Arduino Mega 2560, Teensy 4.0, and a Pi Pico to replace a vintage ROM chip. See what works AND what does not!&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;In the attached zip file are:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;KiCad files for the ROM Interposer Board&lt;/li&gt;&lt;li&gt;Arduino code for ROM test&lt;/li&gt;&lt;li&gt;Teensy code to test interrupt latency&lt;/li&gt;&lt;li&gt;Python code that can respond to an Output Enable signal&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;A couple of notes that keep coming up:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Q: Why do you need to emulate a ROM chip anyway?&lt;/p&gt;&lt;p style="margin:0;"&gt;A: Like most 8-bit computers, the keyboard interface eventually talks directly to the memory bus. In an Apple IIe (and IIc), that is done through a ROM chip.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Q: Why not just replace the keyboard matrix?&lt;/p&gt;&lt;p style="margin:0;"&gt;A: The final design will not use the original keyboard microcontroller or ROM. Ideally, I want to have an interface for a USB keyboard (and possibly Apple Desktop Bus: ADB.)&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Q: The Teensy was only 200 nanoseconds, why not just use that?&lt;/p&gt;&lt;p style="margin:0;"&gt;A: The Mini-Apple IIe is based on the MEGA-II ASIC from an Apple IIgs. Its timing is tighter and slightly different from the Apple IIe’s MMU. The Teensy is slightly too slow.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Q: What is “Golden Delicious”?&lt;/p&gt;&lt;p style="margin:0;"&gt;A: Originally, I was naming this project “Golden Delicious.” So, let’s call it a code name. Now, I call it “Mini Apple IIe.” But, the final project has a different name.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;span style="color:#3334ca;"&gt;Supplemental Content:&lt;/span&gt;&lt;/h2&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4650/workbench-wednesday-18-digilent-analog-discovery-review"&gt;Workbench Wednesday 18: Digilent Analog Discovery Review&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4608/workbench-wednesday-16-instrument-basics-logic-analyzer"&gt;Workbench Wednesday 16: Instrument Basics: Logic Analyzer&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Keyboard ROM (26-pin) Interposer Board: &lt;a class="jive-link-external-small" href="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board" rel="nofollow ugc noopener" target="_blank" title="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board"&gt;https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;span style="color:#3334ca;"&gt;Bill of Material:&lt;/span&gt;&lt;/h2&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder mce-item-table" style="border:1px solid #C6C6C6;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;color:#505050;background-color:#f2f2f2;text-align:left;"&gt;Product Name&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;color:#505050;background-color:#f2f2f2;text-align:left;"&gt;Manufacturer&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;color:#505050;background-color:#f2f2f2;text-align:left;"&gt;Quantity&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;color:#505050;background-color:#f2f2f2;text-align:left;"&gt;&lt;span&gt;&lt;span class="e14-init-shown e14-product-link-buynow" id="addProduct-LZ0kRoAt-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=3643332~1,2212779~1,3003251~1,2726213~1&amp;amp;nsku=22AJ1097~1,45W6205~1,97AC8061~1,40AH1651~1&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=3643332~1,2212779~1,3003251~1,2726213~1&amp;amp;nsku=22AJ1097~1,45W6205~1,97AC8061~1,40AH1651~1&amp;amp;COM=noscript" target="_blank"&gt;Buy Kit&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-LZ0kRoAt-unlinked"&gt;Buy Kit&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;Pi Pico (RP2040)&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;Raspberry Pi Foundation&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown e14-product-link-buynow" id="addProduct-ojfkFUd4-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=3643332~1&amp;amp;nsku=22AJ1097~1&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=3643332~1&amp;amp;nsku=22AJ1097~1&amp;amp;COM=noscript" target="_blank"&gt;Buy Now&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-ojfkFUd4-unlinked"&gt;Buy Now&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;Mega 2560&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;Arduino&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown e14-product-link-buynow" id="addProduct-CaAy6rxZ-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2212779~1&amp;amp;nsku=45W6205~1&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2212779~1&amp;amp;nsku=45W6205~1&amp;amp;COM=noscript" target="_blank"&gt;Buy Now&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-CaAy6rxZ-unlinked"&gt;Buy Now&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;Analog Discovery 2&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown e14-product-link-buynow" id="addProduct-1ix3tqiX-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=3003251~1&amp;amp;nsku=97AC8061~1&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=3003251~1&amp;amp;nsku=97AC8061~1&amp;amp;COM=noscript" target="_blank"&gt;Buy Now&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-1ix3tqiX-unlinked"&gt;Buy Now&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;Digital Discovery&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown e14-product-link-buynow" id="addProduct-Nz994B9M-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2726213~1&amp;amp;nsku=40AH1651~1&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2726213~1&amp;amp;nsku=40AH1651~1&amp;amp;COM=noscript" target="_blank"&gt;Buy Now&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-Nz994B9M-unlinked"&gt;Buy Now&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;span style="color:#3334ca;"&gt;Additional Parts:&lt;/span&gt;&lt;/h2&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder" style="border:1px solid #000000;width:100%;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:left;" valign="middle"&gt;&lt;strong&gt;Product Name&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;Teensy 4.0 from PJRC&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div class="migration-injected-attachments"&gt;&lt;div style="font-weight:bold;margin:15px 0 5px 0;"&gt;Attachments:&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;table style="border:0;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td colspan="2"&gt;&lt;span class="_se_attachment" id="attid_https://www.element14.com/community/api/core/v3/attachments/321977"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-04-35/emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip"&gt;community.element14.com/.../emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: emulating rom, raspberry pi pico, apple, apple iie, eprom, e14presents_baldengineer, masked rom, raspberry pi, arduino, friday_release, pi pico&lt;/div&gt;
</description></item><item><title>Episode 517: Emulate an EPROM - How Hard Could it Be?</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517/revision/2</link><pubDate>Fri, 15 Oct 2021 14:02:14 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:87d04849-931a-4a7d-932c-f88255058d66</guid><dc:creator>kellyhensen</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4141/emulate-an-eprom---how-hard-could-it-be----episode-517#comments</comments><description>Revision 2 posted to Documents by kellyhensen on 10/15/2021 2:02:14 PM&lt;br /&gt;
&lt;div style="background:#ffffff;padding:14px 16px 16px 18px;margin:0;vertical-align:top;border:1px solid #dadada;"&gt;&lt;div style="float:left;display:inline-block;padding:0px 25px 8px 0px;"&gt;&lt;a href="/challengesprojects/element14-presents/"&gt;&lt;img alt="element14 presents" src="/e14/assets/legacy/2018/e14PresentsJune818.png" width="180px" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="display:inline-block;vertical-align:top;width:70%;"&gt;&lt;span style="font-size:18px;font-weight:bold;"&gt;Emulate an EPROM - How Hard Could it Be?&lt;/span&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/"&gt;element14 Presents&lt;/a&gt;&lt;/span&gt;&amp;nbsp; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/vcp-program/w/documents/3704/vcp-biography-james"&gt;Bald Engineer: James Lewis&amp;#39; VCP Profile &lt;/a&gt; &lt;span style="padding-right:5px;"&gt; &lt;/span&gt;&lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/"&gt;Project Videos&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;/p&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=XyMrzPP4KBk"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;p style="margin:0;"&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;border:1px solid #b8d7e5;background-color:#e9f6fc;padding:8px;max-width:744px;"&gt;&lt;span style="color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;text-align:justify;"&gt;The Apple IIe uses a custom microcontroller and ROM chip to put ASCII values into the computer’s memory. How hard could it be to replace that dual-chip setup with a microcontroller to emulate another kind of keyboard? Bald Engineer tries using an Arduino Mega 2560, Teensy 4.0, and a Pi Pico to replace a vintage ROM chip. See what works AND what does not!&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;In the attached zip file are:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;KiCad files for the ROM Interposer Board&lt;/li&gt;&lt;li&gt;Arduino code for ROM test&lt;/li&gt;&lt;li&gt;Teensy code to test interrupt latency&lt;/li&gt;&lt;li&gt;Python code that can respond to an Output Enable signal&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;A couple of notes that keep coming up:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Q: Why do you need to emulate a ROM chip anyway?&lt;/p&gt;&lt;p style="margin:0;"&gt;A: Like most 8-bit computers, the keyboard interface eventually talks directly to the memory bus. In an Apple IIe (and IIc), that is done through a ROM chip.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Q: Why not just replace the keyboard matrix?&lt;/p&gt;&lt;p style="margin:0;"&gt;A: The final design will not use the original keyboard microcontroller or ROM. Ideally, I want to have an interface for a USB keyboard (and possibly Apple Desktop Bus: ADB.)&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Q: The Teensy was only 200 nanoseconds, why not just use that?&lt;/p&gt;&lt;p style="margin:0;"&gt;A: The Mini-Apple IIe is based on the MEGA-II ASIC from an Apple IIgs. Its timing is tighter and slightly different from the Apple IIe’s MMU. The Teensy is slightly too slow.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Q: What is “Golden Delicious”?&lt;/p&gt;&lt;p style="margin:0;"&gt;A: Originally, I was naming this project “Golden Delicious.” So, let’s call it a code name. Now, I call it “Mini Apple IIe.” But, the final project has a different name.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;span style="color:#3334ca;"&gt;Supplemental Content:&lt;/span&gt;&lt;/h2&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4650/workbench-wednesday-18-digilent-analog-discovery-review"&gt;Workbench Wednesday 18: Digilent Analog Discovery Review&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/workbenchwednesdays/w/documents/4608/workbench-wednesday-16-instrument-basics-logic-analyzer"&gt;Workbench Wednesday 16: Instrument Basics: Logic Analyzer&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Keyboard ROM (26-pin) Interposer Board: &lt;a class="jive-link-external-small" href="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board" rel="nofollow ugc noopener" target="_blank" title="https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board"&gt;https://github.com/baldengineer/Golden-Delicious/tree/master/kicad%20files/ROM%20Interposer%20board&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;span style="color:#3334ca;"&gt;Bill of Material:&lt;/span&gt;&lt;/h2&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder mce-item-table" style="border:1px solid #C6C6C6;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;color:#505050;background-color:#f2f2f2;text-align:left;"&gt;Product Name&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;color:#505050;background-color:#f2f2f2;text-align:left;"&gt;Manufacturer&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;color:#505050;background-color:#f2f2f2;text-align:left;"&gt;Quantity&lt;/th&gt;&lt;th style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;color:#505050;background-color:#f2f2f2;text-align:left;"&gt;&lt;span&gt;&lt;span class="e14-init-shown e14-product-link-buynow" id="addProduct-LZ0kRoAt-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=3643332~1,2212779~1,3003251~1,2726213~1&amp;amp;nsku=22AJ1097~1,45W6205~1,97AC8061~1,40AH1651~1&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=3643332~1,2212779~1,3003251~1,2726213~1&amp;amp;nsku=22AJ1097~1,45W6205~1,97AC8061~1,40AH1651~1&amp;amp;COM=noscript" target="_blank"&gt;Buy Kit&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-LZ0kRoAt-unlinked"&gt;Buy Kit&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;Pi Pico (RP2040)&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;Raspberry Pi Foundation&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown e14-product-link-buynow" id="addProduct-ojfkFUd4-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=3643332~1&amp;amp;nsku=22AJ1097~1&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=3643332~1&amp;amp;nsku=22AJ1097~1&amp;amp;COM=noscript" target="_blank"&gt;Buy Now&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-ojfkFUd4-unlinked"&gt;Buy Now&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;Mega 2560&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;Arduino&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown e14-product-link-buynow" id="addProduct-CaAy6rxZ-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2212779~1&amp;amp;nsku=45W6205~1&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2212779~1&amp;amp;nsku=45W6205~1&amp;amp;COM=noscript" target="_blank"&gt;Buy Now&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-CaAy6rxZ-unlinked"&gt;Buy Now&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;Analog Discovery 2&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown e14-product-link-buynow" id="addProduct-1ix3tqiX-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=3003251~1&amp;amp;nsku=97AC8061~1&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=3003251~1&amp;amp;nsku=97AC8061~1&amp;amp;COM=noscript" target="_blank"&gt;Buy Now&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-1ix3tqiX-unlinked"&gt;Buy Now&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;Digital Discovery&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;Digilent&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #C6C6C6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown e14-product-link-buynow" id="addProduct-Nz994B9M-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2726213~1&amp;amp;nsku=40AH1651~1&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2726213~1&amp;amp;nsku=40AH1651~1&amp;amp;COM=noscript" target="_blank"&gt;Buy Now&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-Nz994B9M-unlinked"&gt;Buy Now&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;span style="color:#3334ca;"&gt;Additional Parts:&lt;/span&gt;&lt;/h2&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" class="jiveBorder" style="border:1px solid #000000;width:100%;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th style="border:1px solid black;border:1px solid #000000;padding:2px;color:#ffffff;background-color:#6690bc;text-align:left;" valign="middle"&gt;&lt;strong&gt;Product Name&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #000000;padding:2px;"&gt;Teensy 4.0 from PJRC&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div class="migration-injected-attachments"&gt;&lt;div style="font-weight:bold;margin:15px 0 5px 0;"&gt;Attachments:&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;table style="border:0;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td colspan="2"&gt;&lt;span class="_se_attachment" id="attid_https://www.element14.com/community/api/core/v3/attachments/321977"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-03-81/emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip"&gt;community.element14.com/.../emulating_5F00_rom_5F00_with_5F00_mcu_5F00_v2.zip&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: emulating rom, raspberry pi pico, apple, apple iie, eprom, e14presents_baldengineer, masked rom, raspberry pi, arduino, friday_release, pi pico&lt;/div&gt;
</description></item></channel></rss>