{"id":4346,"date":"2014-12-30T22:17:00","date_gmt":"2014-12-31T06:17:00","guid":{"rendered":"http:\/\/multimedia.cx\/eggs\/?p=4346"},"modified":"2021-07-22T14:34:21","modified_gmt":"2021-07-22T21:34:21","slug":"dreamcast-sd-adapter-and-dreamshell","status":"publish","type":"post","link":"https:\/\/multimedia.cx\/eggs\/dreamcast-sd-adapter-and-dreamshell\/","title":{"rendered":"Dreamcast SD Adapter and DreamShell"},"content":{"rendered":"<p>Nope! I&#8217;m never going to let go of the Sega Dreamcast hacking. When I was playing around with Dreamcast hacking early last year, I became aware that there is such a thing as <a href=\"http:\/\/dc-sd.com\/\">an SD card adapter for the DC<\/a> that plugs into the port normally reserved for the odd DC link cable. Of course I wanted to see what I could do with it.<\/p>\n<p>The primary software that leverages the DC SD adapter is called <a href=\"http:\/\/www.dc-swat.ru\/page\/dreamshell\/\">DreamShell<\/a>. Working with this adapter and the software requires some skill and guesswork. Searching for these topics tends to turn up results from various forums where people are trying to cargo-cult their way to solutions. I have a strange feeling that this post might become the unofficial English-language documentation on the matter.<\/p>\n<p><strong>Use Cases<\/strong><br \/>\nWhat can you do with this thing? Undoubtedly, the primary use is for backing up (ripping) the contents of GD-ROMs (the custom optical format used for the DC) and playing those backed up (ripped) copies. Presumably, users of this device leverage the latter use case more than the former, i.e., download ripped games, load them on the SD card, and launch them using DreamShell.<\/p>\n<p>However, there are other uses such as multimedia playback, system exploration, BIOS reprogramming, high-level programming, and probably a few other things I haven&#8217;t figured out yet.<\/p>\n<p><strong>Delivery<\/strong><br \/>\nI put in an order via the dc-sd.com website and in about 2 short months, the item arrived from China. This marked my third lifetime delivery from China and curiously, all 3 of the shipments have pertained to the Sega Dreamcast.<\/p>\n<p><center><br \/>\n<div id=\"attachment_4347\" style=\"width: 246px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamcast-sd-adapter-packag.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4347\" src=\"http:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamcast-sd-adapter-packag-236x300.jpg\" alt=\"Dreamcast SD Adapter package\" width=\"236\" height=\"300\" class=\"size-medium wp-image-4347\" srcset=\"https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamcast-sd-adapter-packag-236x300.jpg 236w, https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamcast-sd-adapter-packag.jpg 523w\" sizes=\"auto, (max-width: 236px) 100vw, 236px\" \/><\/a><p id=\"caption-attachment-4347\" class=\"wp-caption-text\">Click for larger image<\/p><\/div><br \/>\n<\/center><\/p>\n<p>I thought it was very interesting that this adapter came in such complete packaging. The text is all in Chinese, though the back states &#8220;Windows 98 \/ ME \/ 2000 \/ XP, Mac OS 9.1, LINUX2.4&#8221;. That&#8217;s what tipped me off that they must have just cannibalized some old USB SD card readers and packaging in order to create these. Closer inspection of the internals through the translucent pink case confirms this.<\/p>\n<p><strong>Usage<\/strong><br \/>\nAccording to its change log, <a href=\"http:\/\/www.dc-swat.ru\/page\/dreamshell\/\">DreamShell<\/a> has been around for a long time with version 1.0.0 released in February of 2004. The current version is 4.0.0 RC3. There are several downloads available:<\/p>\n<ol>\n<li>DreamShell 4.0 RC 3 CDI Image<\/li>\n<li>DreamShell 4.0 RC 3 + Boot Loader<\/li>\n<li>DreamShell 4.0 RC 3 + Core CDI image<\/li>\n<\/ol>\n<p>Option #2 worked for me. It contains a CDI disc image and the DreamShell files in a directory named DS\/.<\/p>\n<p>Burn the CDI to a CD-R in the normal way you would burn a bootable Dreamcast disc from a CDI image. This is open-ended and left as an exercise to the reader, since there are many procedures depending on platform. On Linux, I used a small script I found once called burncdi-dc.sh.<\/p>\n<p>Then, copy the contents of the DS\/ folder to an SD card. As for filesystem, FAT16 and FAT32 are both known to work. The files in DS\/ should land in the root of the SD card; the folder DS\/ should not be in the root.<\/p>\n<p>Plug the SD card into the DC SD adapter and plug the adapter in the link cable port on the back of the Dreamcast. Then, boot the disc. If it works, you will see this minor corruption of the usual Sega licensing screen:<\/p>\n<p><center><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-sega-logo.jpg\" alt=\"DreamShell logo on Dreamcast startup\" width=\"561\" height=\"247\" class=\"aligncenter size-full wp-image-4350\" srcset=\"https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-sega-logo.jpg 561w, https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-sega-logo-300x132.jpg 300w\" sizes=\"auto, (max-width: 561px) 100vw, 561px\" \/><br \/>\n<\/center><\/p>\n<p>Then, there will be a brief white-on-black text screen that explains the booting process:<br \/>\n<!--more--><\/p>\n<p><center><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-booting-text.png\" alt=\"DreamShell booting text\" width=\"556\" height=\"282\" class=\"aligncenter size-full wp-image-4351\" srcset=\"https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-booting-text.png 556w, https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-booting-text-300x152.png 300w\" sizes=\"auto, (max-width: 556px) 100vw, 556px\" \/><br \/>\n<\/center><\/p>\n<p>Then, there will be the main DreamShell logo:<\/p>\n<p><center><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-logo.jpg\" alt=\"DreamShell logo\" width=\"589\" height=\"150\" class=\"aligncenter size-full wp-image-4352\" srcset=\"https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-logo.jpg 589w, https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-logo-300x76.jpg 300w\" sizes=\"auto, (max-width: 589px) 100vw, 589px\" \/><br \/>\n<\/center><\/p>\n<p>Finally, you will land on the DreamShell main desktop:<\/p>\n<p><center><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-rc3-main-menu.jpg\" alt=\"DreamShell 4.0.0 RC3 main desktop\" width=\"597\" height=\"480\" class=\"aligncenter size-full wp-image-4353\" srcset=\"https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-rc3-main-menu.jpg 597w, https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-rc3-main-menu-300x241.jpg 300w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/><br \/>\n<\/center><\/p>\n<p><strong>Skepticism<\/strong><br \/>\nAt first, I was supremely skeptical of the idea that this SD adapter could perform speedily enough to play games reasonably. This was predicated on the observation that my DC coder&#8217;s cable that I used to use for homebrew development could not transfer faster than 115200 bits\/second, amounting to about 11 kbytes\/sec. I assumed that this was a fundamental limitation of the link port.<\/p>\n<p>In fact, I ripped a few of my Dreamcast discs over a decade ago and still have those rips lying around. So I copied the ISO image of <a href=\"http:\/\/www.mobygames.com\/game\/dreamcast\/resident-evil-code-veronica\">Resident Evil: Code Veronica<\/a> &#8212; the game I personally played most on the DC &#8212; to the SD card (anywhere works) and used the &#8220;ISO loader&#8221; icon seen on the desktop above to launch the game.<\/p>\n<p>It works:<\/p>\n<p><center><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/re-cv-title.jpg\" alt=\"Resident Evil: Code Veronica title\" width=\"640\" height=\"480\" class=\"aligncenter size-full wp-image-4355\" srcset=\"https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/re-cv-title.jpg 640w, https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/re-cv-title-300x225.jpg 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><br \/>\n<\/center><\/p>\n<p>The opening FMV plays at full speed. Everything loads as fast as I remember. I was quite surprised.<\/p>\n<blockquote><p>Digression: My assumptions about serial speeds have often been mistaken. 10 years ago, I heard stories about how we would soon be able to watch streaming video on our cell phones. I scoffed because I thought the 56K limitation of dialup modems was some sort of fundamental speed-of-light type of limitation for telephony bandwidth, wired or wireless.<\/p><\/blockquote>\n<p>The desktop menu also includes a &#8216;speedtest&#8217; tool that profiles the write and read performance of your preferred storage medium. For my fastest SD card (a PNY 2 GB card):<\/p>\n<p><center><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-speedtest.jpg\" alt=\"DreamShell speedtest utility\" width=\"584\" height=\"418\" class=\"aligncenter size-full wp-image-4356\" srcset=\"https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-speedtest.jpg 584w, https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-speedtest-300x214.jpg 300w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><br \/>\n<\/center><\/p>\n<p>This is probably more representative of the true adapter bandwidth as reading and writing is a good deal faster through more modern interfaces on PC and Mac with this same card.<\/p>\n<p>Look at the other options on the speedtest console. <a href=\"http:\/\/www.retrocollect.com\/News\/how-to-attach-a-hard-drive-to-the-sega-dreamcast-a-load-games-via-dreamshell.html\">Hard drive? Apparently, it&#8217;s possible, but it requires a good deal more hardware hacking<\/a> than just purchasing this SD adapter.<\/p>\n<p><strong>Ripping<\/strong><br \/>\nAs you can see from the Resident Evil screenshot, playing games works quite nicely. How about ripping? I&#8217;m pleased to say that DreamShell has a beautiful ripping interface:<\/p>\n<p><center><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-gdrom-ripping.jpg\" alt=\"Ripping a GD-ROM using DreamShell\" width=\"592\" height=\"466\" class=\"aligncenter size-full wp-image-4358\" srcset=\"https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-gdrom-ripping.jpg 592w, https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-gdrom-ripping-300x236.jpg 300w\" sizes=\"auto, (max-width: 592px) 100vw, 592px\" \/><br \/>\n<\/center><\/p>\n<p>Enter a name for the disc (or read the disc label), select the storage medium, and let it, well, rip. It indicates which track it&#8217;s working on and the Sega logo acts as a progress bar, shading blue as the track rip progresses.<\/p>\n<p>I&#8217;m finally, efficiently, archiving that <a href=\"http:\/\/multimedia.cx\/eggs\/dreamcast-archival\/\">collection of Sega Dreamcast demo discs<\/a>; I&#8217;m hoping they&#8217;ll eventually find a home at the Internet Archive. How is overall ripping performance? Usually about 38-40 minutes to rip a full 900-1000 MB. That certainly beats the 27-28 <em>hours<\/em> that were required when I performed the ripping at 11 kbytes\/sec via the DC coders cable.<\/p>\n<p>All is well until I get a sector reading error:<\/p>\n<p><center><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-ripping-error.jpg\" alt=\"DreamShell ripping error\" width=\"345\" height=\"154\" class=\"aligncenter size-full wp-image-4359\" srcset=\"https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-ripping-error.jpg 345w, https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-ripping-error-300x133.jpg 300w\" sizes=\"auto, (max-width: 345px) 100vw, 345px\" \/><br \/>\n<\/center><\/p>\n<p>That&#8217;s when it can come in handy to have 3 DC consoles (see?! not crazy!).<\/p>\n<p><strong>Other Uses<\/strong><br \/>\nThere&#8217;s a file explorer. You can browse the filesystem of the SD card, visual memory unit, or the CD portion of the GD-ROM (would be more useful if it accessed the GD area). There are FFmpeg files included. So I threw a random Cinepak file and random MPEG-1 file at it to see what happens. MPEG-1 didn&#8217;t do anything, but this Cinepak file from some Sierra game played handily:<\/p>\n<p><center><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-cinepak.jpg\" alt=\"DreamShell playing Cinepak\" width=\"574\" height=\"305\" class=\"aligncenter size-full wp-image-4360\" srcset=\"https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-cinepak.jpg 574w, https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-cinepak-300x159.jpg 300w\" sizes=\"auto, (max-width: 574px) 100vw, 574px\" \/><br \/>\n<\/center><\/p>\n<p>If you must enter strings, it helps to have a Dreamcast keyboard (which I do). Failing that, here&#8217;s a glimpse of the onscreen keyboard that DreamShell equips:<\/p>\n<p><center><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-onscreen-kb.png\" alt=\"DreamShell onscreen keyboard\" width=\"125\" height=\"135\" class=\"aligncenter size-full wp-image-4361\" \/><br \/>\n<\/center><\/p>\n<p>Learning to use it is a game in itself.<\/p>\n<p>There is an option of installing DreamShell in the BIOS. I did not attempt this. I don&#8217;t know if it&#8217;s possible (not like there&#8217;s a lot of documentation)&#8211; perhaps a custom BIOS modchip is needed. But here&#8217;s what the screen looks like:<\/p>\n<p><center><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-bios.jpg\" alt=\"DreamShell BIOS installation menu\" width=\"400\" height=\"470\" class=\"aligncenter size-full wp-image-4362\" srcset=\"https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-bios.jpg 400w, https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2014\/12\/dreamshell-bios-255x300.jpg 255w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><br \/>\n<\/center><\/p>\n<p>There is also a plain console to interact with (better have a physical keyboard). There are numerous file manipulation commands and custom system interaction commands. I see one interesting command called &#8216;addr&#8217; that looks useful for dumping memory regions to a file.<\/p>\n<p>A <a href=\"http:\/\/www.lua.org\/\">Lua language interpreter<\/a> is also built in. I would love to play with this if I could ascertain whether DreamShell provided Dreamcast-specific APIs.<\/p>\n<p><strong>Tips And Troubleshooting<\/strong><br \/>\nI have 3 Dreamcast consoles, affectionately named <a href=\"http:\/\/us.battle.net\/sc2\/en\/\">Terran, Protoss, and Zerg<\/a> after the StarCraft II stickers with which they are adorned. Some seem to work better than others. Protoss seemed to be able to boot the DreamShell disc more reliably than the others. However, I was alarmed when it couldn&#8217;t boot one morning when it was churning the previous day.<\/p>\n<p>I think the problem is that it was just cold. That seemed to be the issue. I put in a normal GD-ROM and let it warm up on that disc for awhile and then DreamShell booted fine. So that&#8217;s my piece of cargo-culting troubleshooting advice.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to use DreamShell and the Dreamcast SD adapter with your Sega Dreamcast<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[221],"tags":[],"class_list":["post-4346","post","type-post","status-publish","format-standard","hentry","category-sega-dreamcast"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/4346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/comments?post=4346"}],"version-history":[{"count":9,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/4346\/revisions"}],"predecessor-version":[{"id":4714,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/4346\/revisions\/4714"}],"wp:attachment":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/media?parent=4346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/categories?post=4346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/tags?post=4346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}