Lyonsden Blog

Tag - cd

How to Format an SD Card for Amiga to PC File Transfer

SD Card Amiga PC Transfer

Introduction

The whole benefit, to me at least, of having an SD card reader on my Amiga 500 is to allow me to transfer files to and from a PC. In order to do this the SD card needs to be formatted in such a way as to be readable by both systems. Turns out it’s not too hard to do. This post will show you exactly how to achieve this and also serve as a reminder for myself in the future when I inevitably forget what I did!

 

Stuff You’ll Need

I used a MicroSD card for this task but the process would be the same for a regular full-size SD card too. I have personally got this working with a 32GB card and more recently with a 200GB MicroSD card! Please note that I have a Vampire Card in my Amiga (which has a MicroSD card slot) and use Apollo OS (Coffin R34 – Amiga OS 3.9). This solution is based on that scenario. If you want to find out more about my Vampire upgrade please read about it here and adding an SD card reader here.

 

By the way, this should work with most SD cards you may have lying around. However if you don’t have one or would like to know one which definitely works then here’s the exact 32GB MicroSD card I bought on Amazon.

 

Formatting the card on a PC

First things first – the card MUST be formatted on the PC, not the Amiga. The format we need to use is FAT32 as this is easily readable on the Amiga whilst still being compatible with the PC. The main disadvantage with FAT32 is it has a 4GB file size limit but this should never really be an issue with the Amiga as most of the files we will be dealing with are only a few MB in size.

I’m using Windows 10 which annoyingly doesn’t have a native FAT32 format option (only NTFS or exFAT). After searching around I settled on this free 3rd party FAT32Format app to get the job done. If you already have some FAT32 formatting software then by all means go ahead and use that. If not then this one is free and very simple to use, you don’t even need to install it, just run the executable.

  • Run the .exe file you just downloaded and make absolutely sure that the drive letter under ‘Drive’ matches that of your SD card.
  • Leave the ‘Allocation unit size’ at the default setting.
  • Give your card a name under the ‘Volume label’ heading but keep it short. No more than 11 characters and avoid using any symbols. In the example below I called mine ‘AMIGA SD’.
  • Ensure ‘Quick format’ is ticked (otherwise it’ll take forever) and then click ‘start’.
  • When the format warning box pops up click on ‘OK’.

 

SD Card Amiga PC Transfer

View after the card has been formatted

 

A few moments later you should have a nicely formatted FAT32 SD card! As you can see from the image below it has been correctly formatted as FAT32 and shows approx 29GB of free space. It’s perfectly normal to lose some space when formatting disks so don’t worry that it doesn’t exactly match the capacity of your card.

 

SD Card Amiga PC Transfer

SD card properties viewed in Windows after formatting.

Configuring the Amiga side of things

Now it’s time to take the SD card over to your Amiga for the next stage of the process. This is going to involve editing a DOSDriver on the Amiga with the parameters needed to successfully read and write to your SD card. Unless you’ve been messing around with SD Cards already there won’t be an SD0 device in your Amiga’s SYSTEM:DEVS/DOSDrivers directory. Fear not though because you can finding it lurking in the STORAGE directory (SYSTEM:Storage/DOSDrivers) waiting to be put to good use. Find the SD0 file and open it in your editor of choice, for me that’s the one built into Directory Opus. Edit the file so that the contents look exactly like the one in the image below:

 

SD Card Amiga PC Transfer

SD0 DOSDriver File contents (shown in Directory Opus Editor)

 

SD Card Amiga PC Transfer

Slightly clearer copy of the config (pasted into Wordworth to make it clearer to read)

 

Save your changes to SD0 and close the editor. This next part is particularly crucial otherwise, despite all your efforts thus far, the card will still be unreadable. You need to move the file OUT of SYSTEM:Storage/DOSDrivers and place it INTO the actual SYSTEM:DEVS/DOSDrivers directory. Doing this will force the Amiga to read the config on boot and enable it to recognise an SD card when present. You can do this in a number of different ways but again my preferred method is Directory Opus.

 

SD0 DOSDriver File Content

Edited SD0 correctly placed in DOSDrivers Directory

 

Once you’ve done this, assuming the card is already inserted, reboot your Amiga (CTRL-A-A) and when Workbench has loaded back up you should see a lovely SD card icon on the screen similar to the one below.

 

SD Card Amiga PC Transfer

SD0 Icon on Workbench

 

The next image shows a 200GB MicroSD card working and you can see the Amiga recognising the card capacity as 183.3G.

 

SD Card Amiga PC Transfer

200GB MicroSD card working on the Amiga. 183.3GB of space 🙂

 

Here’s a regular 32GB card working recognised as being 29.1GB capacity. If you remember from earlier on that reported size is pretty much the same as how Windows saw it.

 

SD Card Amiga PC Transfer

32GB MicroSD card working on the Amiga. 29.1GB of space.

 

Useage

 

I find my Amiga/PC formatted SD card incredibly useful, not only for transferring files between systems but also for storing CD’s on. I don’t have a CD drive on my Amiga but I do on my PC. Any Amiga CD’s I get, such as the Amiga Future Coverdisks, I simply copy into a folder on the card and they’re instantly available on the Amiga. The 200GB card is particularly useful for this purpose as it can potentially hold nearly 300 CD’s plus all my other stuff.

 

I have noticed that SD cards work a little differently on the Amiga. You can’t just insert one and expect it to appear in Workbench. The card needs to be present in the card slot before you boot your Amiga up. Likewise, if you remove it, it will still show the icon on your Workbench. For these reasons I’d recommend always inserting the card whilst your Amiga is off and not removing the card until you’ve shut down your Amiga just to be safe. If I ever find a way around this I’ll update this post.

 

Anyway, I hope this post proves useful for a few people, I know it took me quite a lot of stumbling around before I brought all the parts of the puzzle together!