{"id":909,"date":"2020-05-03T10:23:00","date_gmt":"2020-05-03T17:23:00","guid":{"rendered":"https:\/\/www.weinstein.org\/blog\/?p=909"},"modified":"2020-05-03T08:15:19","modified_gmt":"2020-05-03T15:15:19","slug":"ye-olde-tyme-apple-hacking","status":"publish","type":"post","link":"https:\/\/www.weinstein.org\/blog\/index.php\/2020\/05\/ye-olde-tyme-apple-hacking.html","title":{"rendered":"Ye Olde Tyme Apple Hacking"},"content":{"rendered":"\n<p>&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Preface<\/h2>\n\n\n\n<p>First off, it would be remiss of me if I did not acknowledging that this is the first blog post in a very long time. Notwithstanding the <a href=\"https:\/\/www.weinstein.org\/blog\/index.php\/2018\/05\/what-is-old-is-new-again.html\">notice announcing a site redesign<\/a>, it has been 5 and a half years since <a href=\"https:\/\/www.weinstein.org\/blog\/index.php\/2014\/09\/what-is-a-strong-password.html\">my last post<\/a>. Even then, that was a <a href=\"https:\/\/www.orbitmedia.com\/blog\/what-is-a-strong-password\/\">repost of an article<\/a> written for my then employer, <a href=\"https:\/\/www.orbitmedia.com\">Orbit Media Studios<\/a>.<\/p>\n\n\n\n<p>I\u2019ll save the story of the last five years for later.<\/p>\n\n\n\n<p>For now, welcome back. Let\u2019s kick things off with some retro computing.<\/p>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prehistory<\/h2>\n\n\n\n<p>Due to various choices, my personal computer history is quite Apple centric.<\/p>\n\n\n\n<p>The first computer in my childhood home was an Apple \/\/e. That was followed by a \/\/gs which was quickly followed by a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Macintosh_LC\">Macintosh LC<\/a>. That LC, despite the continued designation as the family computer, sat in my bedroom during high school and then left with me when I was off to college.<\/p>\n\n\n\n<p>I still have that LC.<\/p>\n\n\n\n<p>Technically, it\u2019s a LC II, after a processor upgrade offered by Apple was applied. In fact, the LC\u2019s \u201cpizza box\u201d architecture went on to spawn <a href=\"https:\/\/en.wikipedia.org\/wiki\/Macintosh_LC_family\">a family of mid-range education\/consumer friendly Macs<\/a> for much of the 1990s.<\/p>\n\n\n\n<p>Why? Well despite design limitations that kept the machine \u201clow cost\u201d, the LC models offered aspace between the high-end, fully configurable professional models of the era and the closed-up, all-in-one models that provided Macs with their first iconic image. In fact, a defining part of the LC line was Apple&#8217;s continued support of the original LC&#8217;s <a href=\"https:\/\/en.wikipedia.org\/wiki\/Processor_Direct_Slot\">PDS<\/a> slot. This resulted in a market of expansion options that started with the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Apple_IIe_Card\">Apple IIe card<\/a> (more on that in a bit) and continued with CPU accelerators, video, graphics and networking cards among other options.<\/p>\n\n\n\n<p>So, even without my personal attachment, for a retro Macintosh setup beyond the quintessential, all-in-one <a href=\"https:\/\/en.wikipedia.org\/wiki\/Macintosh_128K\">128K<\/a>\/<a href=\"https:\/\/en.wikipedia.org\/wiki\/Macintosh_SE\">SE<\/a>\/<a href=\"https:\/\/en.wikipedia.org\/wiki\/Macintosh_Classic\">Classic<\/a>, I would suggest one of the many LC models as an excellent, hackable computing platform.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"768\" src=\"https:\/\/www.weinstein.org\/blog\/wp-content\/uploads\/2020\/04\/Mac-LC-1024x768.jpeg\" alt=\"\" class=\"wp-image-912\" srcset=\"https:\/\/www.weinstein.org\/blog\/wp-content\/uploads\/2020\/04\/Mac-LC-1024x768.jpeg 1024w, https:\/\/www.weinstein.org\/blog\/wp-content\/uploads\/2020\/04\/Mac-LC-300x225.jpeg 300w, https:\/\/www.weinstein.org\/blog\/wp-content\/uploads\/2020\/04\/Mac-LC-768x576.jpeg 768w, https:\/\/www.weinstein.org\/blog\/wp-content\/uploads\/2020\/04\/Mac-LC-1536x1152.jpeg 1536w, https:\/\/www.weinstein.org\/blog\/wp-content\/uploads\/2020\/04\/Mac-LC-2048x1536.jpeg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption><em>My repurposed Mac LC with Apple II disk drives and an Imagewriter II printer<\/em><\/figcaption><\/figure><\/div>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Getting an LC Up and Running<\/strong><\/h2>\n\n\n\n<p>First, a word a caution. While I tried to take care in storing my LC, in its original packaging and all, I made one fundamental mistake, I neglected to remove the battery that powers the <a href=\"https:\/\/techterms.com\/definition\/pram\">PRAM<\/a> from the motherboard. Anyone who has ever seen the outcome of a forgotten alkaline battery knows what happened, it exploded, resulting in battery acid and corrosion within the radius of the battery.<\/p>\n\n\n\n<p>Even if you get a clean machine from <a href=\"https:\/\/www.ebay.com\">eBay<\/a>, keep in mind the PRAM stores important system settings between startups. So, if your freshly dusted-off Mac appears to have issues with video display settings or forgetfulness of other settings, such as the system clock, try replacing the battery.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"768\" height=\"1024\" src=\"https:\/\/www.weinstein.org\/blog\/wp-content\/uploads\/2020\/04\/IMG_2175-768x1024.jpeg\" alt=\"\" class=\"wp-image-915\" srcset=\"https:\/\/www.weinstein.org\/blog\/wp-content\/uploads\/2020\/04\/IMG_2175-768x1024.jpeg 768w, https:\/\/www.weinstein.org\/blog\/wp-content\/uploads\/2020\/04\/IMG_2175-225x300.jpeg 225w, https:\/\/www.weinstein.org\/blog\/wp-content\/uploads\/2020\/04\/IMG_2175-1152x1536.jpeg 1152w, https:\/\/www.weinstein.org\/blog\/wp-content\/uploads\/2020\/04\/IMG_2175-1536x2048.jpeg 1536w, https:\/\/www.weinstein.org\/blog\/wp-content\/uploads\/2020\/04\/IMG_2175-scaled.jpeg 1920w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><figcaption><em>Internals of my Mac LC. Upper left corner is the Apple IIe card. The RAM can be found in the upper right-hand corner, next to the power supply. Lower left is the SCSI2SD board where the hard drive\/second floppy drive would reside <\/em><\/figcaption><\/figure><\/div>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>My Hardware Enhancements<\/strong><\/h2>\n\n\n\n<p>With luck, you\u2019ve secured a working system with little to no issues. Now what? As a helpful reference, here\u2019s a rundown of hardware modifications I made as a starting point.<\/p>\n\n\n\n<p><strong>RAM<\/strong><br>Maxing out the RAM is the obvious first step. For the LC the max is 10MB. This can be achieved by adding <a href=\"https:\/\/www.ebay.com\/sch\/i.html?_from=R40&amp;_trksid=m570.l1313&amp;_nkw=2x+4MB+30-Pin+SIMMs+Macintosh+LC+Memory+Apple+RAM&amp;_sacat=0\">2x4MB SIMMS<\/a> (8MB) to the 2MB of onboard RAM.<\/p>\n\n\n\n<p><strong>Apple IIe Card<\/strong><br>If you\u2019re interested in expanding the retro experience, the next step is installing the LC compatible IIe card.<\/p>\n\n\n\n<p>The IIe card contains everything needed to run Apple II software; RAM, CPU and logic chip on a card specifically made for the LC. The software that accompanies the card provides a control interface and exposes the LC\u2019s other resources to the IIe environment.<\/p>\n\n\n\n<p>In addition to locating a IIe card, you\u2019ll need at least one <a href=\"https:\/\/en.wikipedia.org\/wiki\/Disk_II\">Apple II disk drive<\/a> and a specialized Y-cable. The  disk drive(s) will plug into the Y-cable &#8211; which includes a second input for a joystick &#8211; which in turn is plugged into the IIe card.<\/p>\n\n\n\n<p><strong>SCSI2SD<\/strong><br>The first two upgrades I\u2019ve listed are pretty standard, expanding the system with era-relevant enhancements. The final hardware recommendation is of a more modern variety, replacing the hard drive with <a href=\"https:\/\/en.wikipedia.org\/wiki\/Flash_memory\">flash memory<\/a>.<\/p>\n\n\n\n<p>There are a number of reasons I would suggested making this alteration. Even if you can locate a &#8220;like new&#8221; system or a \u201clow mileage\u201d hard drive, if you plan of using your classic Mac for any length of time, you&#8217;ll want to minimize data loss issues due to &#8220;normal&#8221; wear and tear.<\/p>\n\n\n\n<p>There are also other advantages to using a flash drive, such as being able to <a href=\"https:\/\/en.wikipedia.org\/wiki\/Sneakernet\">sneakernet<\/a> large files from a modern system to the LC, making backups and disk images and being able to validate software against an emulator before deploying. <\/p>\n\n\n\n<p>A quick aside, modern flash memory comes in multiples of gigabytes, even terabytes of storage. But how many gigabytes your classic Mac can access at a time will depend on which version of operating system is in use. The Mac filesystem, <a href=\"https:\/\/lowendmac.com\/2016\/floppy-disk-compatibility-and-incompatibility-in-the-mac-world\/\">HFS<\/a>, has seen a number of capacity enhancements over the decades. System 7.5, for example, introduced support up to 4 GB. Prior to that, the maximum limit was 2 GB. The end results is, regardless of which System OS is selected, maximizing the use of flash memory will require setting up <a href=\"http:\/\/www.savagetaylor.com\/2019\/12\/19\/how-ive-setup-the-scsi2sd-that-i-use-in-my-lc-475\/\">multiple disk partitions<\/a> on any single memory card.<\/p>\n\n\n\n<p>So, how did I add hardware support for flash memory on my Mac LC? For this, I added an <a href=\"http:\/\/www.codesrc.com\/mediawiki\/index.php\/SCSI2SD\">SCSI2SD<\/a> adaptor. SCSI2SD is an open-sourced hardware &amp; software architecture that allows for replacing physical SCSI drives with a SD memory card. There are a number of vendors who manufacture and sell the necessary components. I purchased my goods from <a href=\"http:\/\/www.inertialcomputing.com\/\">Inertial Computing<\/a>.<\/p>\n\n\n\n<p>Specifically, I purchased the SCSI2SD <a href=\"https:\/\/store.inertialcomputing.com\/SCSI2SD-V5-1-p\/scsi2sd-v5.1.htm\">V5.1 board<\/a> with a <a href=\"https:\/\/store.inertialcomputing.com\/product-p\/scsi2sd-v5.1-v6-bracket-black.htm\">3.5&#8243; mounting bracket<\/a>, power adapter cable and SCSI ribbon cable. <\/p>\n\n\n\n<p>For the most part, replacing the hard drive with the SCSI2SD solution is as straight forward as replacing RAM or installing the IIe card. Having said that I will note it took me a few tries in get the board, mounting bracket, drive rack and screws all aligned properly on the LC.  <\/p>\n\n\n\n<p>By the way, the LC does support external SCSI devices, so you can add the flash drive externally. Just note that you\u2019ll need an enclosure for the SCSI2SD board as well as a <a href=\"https:\/\/store.inertialcomputing.com\/product-p\/idc50f-db25f.htm\">SCSI DB25 adaptor<\/a>. One advantage of going the external route is easier access to the SD card. While my LC case does have a punch out where a second floppy drive could be mounted, the opening was obviously designed for a 3.5 inch floppy, not a 32 mm SD card. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"768\" src=\"https:\/\/www.weinstein.org\/blog\/wp-content\/uploads\/2020\/04\/LC-Desktop-1024x768.jpeg\" alt=\"\" class=\"wp-image-935\" srcset=\"https:\/\/www.weinstein.org\/blog\/wp-content\/uploads\/2020\/04\/LC-Desktop-1024x768.jpeg 1024w, https:\/\/www.weinstein.org\/blog\/wp-content\/uploads\/2020\/04\/LC-Desktop-300x225.jpeg 300w, https:\/\/www.weinstein.org\/blog\/wp-content\/uploads\/2020\/04\/LC-Desktop-768x576.jpeg 768w, https:\/\/www.weinstein.org\/blog\/wp-content\/uploads\/2020\/04\/LC-Desktop.jpeg 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption><em>Up and running, post hardware modifications<\/em><\/figcaption><\/figure>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Useful Resources<\/h2>\n\n\n\n<p><a href=\"http:\/\/www.savagetaylor.com\">Dan and Steve&#8217;s Blog<\/a> has a great collection of posts addressing various aspects of implementing the SCSI2SD solution for a classic Mac. Of specific note:<\/p>\n\n\n\n<ul><li><a href=\"http:\/\/www.savagetaylor.com\/2018\/01\/05\/setting-up-your-vintage-classic-68k-macintosh-using-a-scsi2sd-adapter\/\">Setting up your vintage (classic) 68k Macintosh \u2013 Using a SCSI2SD adapter<\/a><\/li><li><a href=\"http:\/\/www.savagetaylor.com\/2018\/05\/28\/setting-up-your-vintage-classic-68k-macintosh-creating-your-own-boot-able-disk-image\/\">Setting up your vintage (classic) 68k Macintosh \u2013 Creating a bootable hard drive starting with a image file and an emulator<\/a><\/li><li><a href=\"http:\/\/www.savagetaylor.com\/2019\/12\/19\/how-ive-setup-the-scsi2sd-that-i-use-in-my-lc-475\/\">How I\u2019ve setup the SCSI2SD that I use in my LC 475<\/a><\/li><\/ul>\n\n\n\n<p>Even without these guides, don&#8217;t miss the <a href=\"http:\/\/www.savagetaylor.com\/downloads\/\">Image Files for booting you Macintosh<\/a>, which includes disk images of various OS versions for bootstrapping a flash drive. <\/p>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">One More Thing<\/h2>\n\n\n\n<p>I&#8217;ve purposely focused on hardware in the post. But software is also an important consideration, beyond the operating system. Two useful sites in getting started are the <a href=\"http:\/\/www.archive.org\">Internet Archive<\/a>&#8216;s <a href=\"https:\/\/ia800501.us.archive.org\/view_archive.php?archive=\/8\/items\/download.info.apple.com.2012.11\/download.info.apple.com.2012.11.zip&amp;file=&amp;ext=\">mirror of Apple&#8217;s old software repository<\/a> and <a href=\"https:\/\/www.macintoshrepository.org\">Macintosh Repository<\/a>. <\/p>\n\n\n\n<p>And since I briefly mention emulation and transferring files via modern machines, for 68k Mac emulation, I&#8217;m using <a href=\"https:\/\/basilisk.cebix.net\">Basilisk II<\/a> on a modern-day iMac. For reading\/creating a disk image of the SD card, macOS includes <a href=\"https:\/\/en.wikipedia.org\/wiki\/Dd_(Unix)\">Data Duplicator<\/a> (<em>dd<\/em>), which can be used via Terminal. For writing the disk image back to the SD card, I&#8217;ve adopted <a href=\"https:\/\/www.balena.io\/etcher\/\">balenaEtcher<\/a> instead of <em>dd<\/em>.<\/p>\n\n\n\n<p>Good Luck!<\/p>\n\n\n\n&nbsp;\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wherein I try to resurrect my blog and a Macintosh LC<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[76,46,47,1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.weinstein.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/909"}],"collection":[{"href":"https:\/\/www.weinstein.org\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weinstein.org\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weinstein.org\/blog\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weinstein.org\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=909"}],"version-history":[{"count":60,"href":"https:\/\/www.weinstein.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/909\/revisions"}],"predecessor-version":[{"id":1021,"href":"https:\/\/www.weinstein.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/909\/revisions\/1021"}],"wp:attachment":[{"href":"https:\/\/www.weinstein.org\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weinstein.org\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=909"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weinstein.org\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}