{"id":16826,"date":"2021-07-14T11:42:43","date_gmt":"2021-07-14T15:42:43","guid":{"rendered":"https:\/\/scruss.com\/blog\/?p=16826"},"modified":"2021-07-14T11:42:43","modified_gmt":"2021-07-14T15:42:43","slug":"digging-the-bluescsi","status":"publish","type":"post","link":"https:\/\/scruss.com\/blog\/2021\/07\/14\/digging-the-bluescsi\/","title":{"rendered":"digging the BlueSCSI"},"content":{"rendered":"\n<p>I like old (as in 68K old) Apple Macintoshes, but I don&#8217;t like their hard drives. Apple used SCSI drives, which were super-cool at the time (multiple drives on one bus! extra devices like SCSI scanners, too!) but now seem an absolute pain. There may be a lot to complain about with USB storage, but compared to SCSI, it just works.<\/p>\n\n\n\n<p>While the 40 MB Quantum SCSI drive in my Mac Classic II still works, it gets really full really fast and that old spinning rust won&#8217;t spin forever. One of the newer ways to replace a SCSI drive is the <a href=\"https:\/\/scsi.blue\/\">BlueSCSI<\/a>, an open-everything design based on a cheap Blue Pill micro-controller board, a Micro-SD card slot and some passive components. The whole kit is very affordable, and a local maker sells them, so it was worth a try.<\/p>\n\n\n\n<p>I&#8217;ve had nothing but <a href=\"https:\/\/scruss.com\/blog\/2019\/12\/01\/save-money-buy-misery-cheap-stm32-boards\/\">miserable failure<\/a> with Blue Pill boards, and very quickly moved on to STM32F4 board that actually work. It didn&#8217;t fill me with much hope that the board I got with my kit looked like this, end on:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2021\/07\/two_headed_boi-1024x1024.jpg\" alt=\"end-on view of a blue micro controller PCB which has - mystifyingly - two micro-USB connectors, one on either face of the PCB\" class=\"wp-image-16827\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2021\/07\/two_headed_boi-1024x1024.jpg 1024w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2021\/07\/two_headed_boi-320x320.jpg 320w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2021\/07\/two_headed_boi-160x160.jpg 160w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2021\/07\/two_headed_boi-768x768.jpg 768w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2021\/07\/two_headed_boi.jpg 1424w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>There are <em>two<\/em> USB connectors on this board.<br>There are two of ____.<\/figcaption><\/figure>\n\n\n\n<p>Despite that oddness, it all soldered up fine (the surface-mount card slot was a little fiddly) and it fits inside the Classic II&#8217;s cavernously empty shell wherever I choose to stick it down.<\/p>\n\n\n\n<p>I thought I knew what I was doing in making filesystem images (hence my <a href=\"https:\/\/scruss.com\/blog\/2021\/07\/01\/niche-68k-mac-emulation-needs\/\">recent nonsense anent HFS utilities<\/a>), but clearly I was wrong. The 2 GB images I made in Basilisk II weren&#8217;t recognized at all. For now, I&#8217;m booting from one of the <a href=\"http:\/\/macintoshgarden.org\/apps\/rascsi-68kmla-edition\">RaSCSI canned boot images<\/a> plus a couple of the <a href=\"https:\/\/github.com\/erichelgeson\/BlueSCSI\/wiki\/Usage#blanks\">blank formatted drive images<\/a> to put my own custom system on.<\/p>\n\n\n\n<p>I&#8217;m trying to get as much as possible set up on the Micro-SD card while I can still access it, as the Classic II&#8217;s case is not something you can pop open on a whim. It needs a special long-thin Torx T15 driver to even get the case partially open, then you have to ease\/fight the case the rest of the way. Aside from the faint ponk of dodgy analogue board caps (I&#8217;ll fix &#8217;em one day, I promise!), you have to remember to tiptoe around the life-ending voltages lurking at the back of the CRT when you&#8217;re working there. Retrotechnology: it smells bad <span style=\"text-decoration: underline;\">and<\/span> it can kill you!<\/p>\n\n\n\n<p>A feature I really appreciate with the BlueSCSI is that it dumps a status log on the card every time it boots. It took me a while to get the hang of naming images correctly, but I&#8217;d have been absolutely lost without logs with this level of detail:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">BlueSCSI &lt;-> SD - https:\/\/github.com\/erichelgeson\/BlueSCSI\n VERSION: 1.0-20210410\n DEBUG:0 SCSI_SELECT:0 SDFAT_FILE_TYPE:3\n SdFat version: 2.0.6\n SdFat Max FileName Length: 32\n Initialized SD Card - lets go!\n Not an image: LOG.txt\n Imagefile: HD10_512 753.hda \/ 41943040bytes \/ 40960KiB \/ 40MiB\n Imagefile: HD20_512 BS.hda \/ 41943040bytes \/ 40960KiB \/ 40MiB\n Imagefile: HD40 MacHD-1000MB.hda \/ 1048576000bytes \/ 1024000KiB \/ 1000MiB\n Imagefile: HD30_512 MacHD-500MB.hda \/ 524288000bytes \/ 512000KiB \/ 500MiB\n ID:LUN0:LUN1:\n  0:----:----:\n  1: 512:----:\n  2: 512:----:\n  3: 512:----:\n  4: 512:----:\n  5:----:----:\n  6:----:----:\n Finished initialization of SCSI Devices - Entering main loop.<\/pre>\n\n\n\n<p>So I&#8217;ve got four SCSI drives pretending to live on this card, and even if one of them&#8217;s not quite named correctly (<em>HD40 MacHD-1000MB.hda<\/em> should be called <em>HD40<span style=\"color:#663399\" class=\"has-inline-color\">_512<\/span> MacHD-1000MB.hda<\/em>), it&#8217;s been found okay.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I like old (as in 68K old) Apple Macintoshes, but I don&#8217;t like their hard drives. Apple used SCSI drives, which were super-cool at the time (multiple drives on one bus! extra devices like SCSI scanners, too!) but now seem an absolute pain. There may be a lot to complain about with USB storage, but [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"digging the BlueSCSI, a cheap SCSI drive replacement for old computers","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7],"tags":[3191,3024,2556,3285],"class_list":["post-16826","post","type-post","status-publish","format-standard","hentry","category-computers-suck","tag-bluepill","tag-macintosh","tag-retrocomputing","tag-scsi"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pQNZZ-4no","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/16826","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/comments?post=16826"}],"version-history":[{"count":2,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/16826\/revisions"}],"predecessor-version":[{"id":16829,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/16826\/revisions\/16829"}],"wp:attachment":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media?parent=16826"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/categories?post=16826"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/tags?post=16826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}