Transferring files to Atari ST (Noob question)

cfarley137
Posts: 2
Joined: Fri Aug 06, 2021 8:47 pm

Transferring files to Atari ST (Noob question)

Unread post by cfarley137 »

Some of the other cores (AO486 and Minimig) have a shared folder that conveniently allows for sharing of files between the MiSTer Linux system and the core itself. It's really convenient for getting files onto and off of the core.

Does the Atari ST core have a similar feature? If not, how do you get files on and off the Atari ST?
User avatar
lister_of_smeg
Posts: 44
Joined: Mon May 25, 2020 3:11 am
Has thanked: 2 times
Been thanked: 20 times

Re: Transferring files to Atari ST (Noob question)

Unread post by lister_of_smeg »

This is a bit fiddly, but you can take advantage of the fact TOS can read and write 720k DOS format disks (FAT12)

So using the Linux shell on the MiSTer you can create a floppy disk image:-

Code: Select all

# cd /media/fat/games/AtariST
# dd if=/dev/zero of=transfer.st bs=737280 count=1
# mkdosfs -F 12 transfer.st
You can mount it and put files in the disk image, then unmount it:-

Code: Select all

# mkdir /tmp/transfer
# mount -o loop transfer.st /tmp/transfer
# cp /path/to/SOMEFILE.TXT /tmp/transfer
# umount /tmp/transfer
Then you can open the disk image file in the ST core and you should see the files you copied.
cfarley137
Posts: 2
Joined: Fri Aug 06, 2021 8:47 pm

Re: Transferring files to Atari ST (Noob question)

Unread post by cfarley137 »

That's a great idea, thanks!

I've seen somebody using an FTP client on the ST as well, which might be a less fiddly solution. But it would require more work to setup the client and the server...
Post Reply