Writing Atari ST programs onto floppies with PC

WinSTon, Nostalgia, MSA Converter, FloImg, Makedisk and all the others.

Moderators: Mug UK, Moderator Team

ppera

Writing Atari ST programs onto floppies with PC

Post by ppera »

Writing Atari ST programs onto floppies with PC

There is two situation, which require different approach and tools.

First is writing of files onto floppies from some directory on PC or some CD/DVD. In such case simple copy of files on floppy with Windows Explorer, Total Commander or Norton Commander in DOS is the way. What causes troubles is the floppy format.
Atari ST and PC use very similar floppy formats, but not same, and it causes confusion and problems.
General advice is this: format floppy on PC to 720KB, and it will be perfectly usable on Atari ST, any TOS version. Win XP offers not such format in Explorer, but it can be done in command prompt. Type: format a: /t:80 /n:9 and you will get 720KB floppy usable on all Ataris (except those rares with single sided floppy).
Other way is to format floppy on Atari. But I recommend to use only specialized format programs which have PC compatible formats in list.
Use always DD (marked often as 1MB) floppies. HD ones may work after covering hole, but it is not so reliable.
On Atari ST, floppy formats of 800, 820KB were very popular. Unfortunately, modern Windows as XP, 2K and Vista can not work with such floppies (as Windows 95 did).
Worst is that such floppies usually are accepted by system, but reading or writing on them will result in corrupted files.

Second situation: floppy image files.
As name says, they are exact 'images' of complete floppies, with all files and same structure as disks from which they are copied. 2 formats are most popular - ST and MSA.
Most of available ST and MSA images are images of diverse, so called 'menu disks' - floppies with more programs, usually games, and some fancy menu for starting desired title(s).
For writing such disks onto floppies special programs are required - it is the only way.
For DOS, best is MAKEDISK - it handles almost all formats (except hyperformat, 880KB floppies, but it is not programs fault, because PC's hardware can not write 11 sectors/track). Usage is simple, there is help in executable.
In currently most popular Windows XP Floimg is required tool - it overrides limitations of XP's floppy driver by using special kernel mode driver (by Simon Owen).
Get it here: http://www.ppest.org/atari/floimgd.php .
There is manual about usage, so I will not go here in details about it.
Program has options for writing files directly onto Atari format floppies (800K, 1600K, etc.)- by using same spec. driver).
There is couple other image writing program for PC, but I don't recommend them - DOS ones are not so versatile and easy to use as Makedisk. Most of Windows programs are obsolete, and can not write usual image files correct under Win XP.

Conclusion: 720KB, DOS format is only compatible on both systems (Atari ST and PC with DOS, Windows) - use it for file copy under DOS, Win.

Writng ST and MSA image files goes with specialized programs, mentioned above.

Note: this is intended to be sticky because Atari floppy writing on PC is often asked here.
User avatar
unseenmenace
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2036
Joined: Tue Sep 21, 2004 9:33 pm
Location: Margate, Kent, UK
Contact:

Post by unseenmenace »

Well done Ppera, excellent little guide.
UNSEEN MENACE
2 original ST's, several STFM's, 2 STE's, a TT and a 14MB Falcon,
a Lynx 2 and Jaguar with JagCD
simonsunnyboy
Moderator
Moderator
Posts: 5720
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany
Contact:

Post by simonsunnyboy »

Short and to the point - well done! :D
Simon Sunnyboy/Paradize - http://paradize.atari.org/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee
User avatar
defender of the crown
Atariator
Atariator
Posts: 23
Joined: Fri Nov 30, 2007 10:50 am
Location: Preston, Lancashire
Contact:

Post by defender of the crown »

Great stuff just what I need :D
User avatar
030falcon030
Atari Super Hero
Atari Super Hero
Posts: 749
Joined: Sun Feb 13, 2005 6:59 pm
Location: North Somerset.england
Contact:

Post by 030falcon030 »

Hey
Does anyone know how to convert st image files to floppy using Linux?
I have just acquired an st and I want to get loads of games for it!
Cheers
hmmm:/
I have an ste 4mb... with a 20mb powerdrive slimline and a cumana external fdd.
And a falcon 14mb w/ ct63 + ctpci
User avatar
Desty
Atari God
Atari God
Posts: 1988
Joined: Thu Apr 01, 2004 2:36 pm
Location: 53 21N 6 18W
Contact:

Post by Desty »

I think Ppera's floimg works in Linux too?

[edit]
Oops, nope, that's another program I guess.
tá'n poc ar buile!
User avatar
daeghnao
Captain Atari
Captain Atari
Posts: 482
Joined: Wed Oct 27, 2004 12:41 pm
Location: York, UK
Contact:

Post by daeghnao »

I wrote up a note about this:

http://www.atari-forum.com/wiki/index.p ... k_Commands

Should all be relevant still. Let us know if you're having specific issues.
blinddarm
Atari freak
Atari freak
Posts: 63
Joined: Wed Oct 31, 2007 5:30 pm
Location: Freiburg,Germany

new pre-release Version of Omniflop

Post by blinddarm »

Hi all,

i only want to show you an new pre-release Vesion of Omniflop,
now containing a Format/Write Option for 11 Sector Disks and Disk Images,
(83/2/11-913kb) especially used for the game PowerUP plus.

http://www.shlock.co.uk/Utils/OmniFlop/OmniFlop.htm

I think this is very Intresting for those who have Problems to write back this Images
for a real Atari ST. Now its possible to format, read and write this Special Format on a PC.

http://www.atari-forum.com/viewtopic.ph ... &sk=t&sd=a

Greetings... :cheers:
ppera

Re: new pre-release Version of Omniflop

Post by ppera »

blinddarm wrote:Hi all,
i only want to show you an new pre-release Vesion of Omniflop,
now containing a Format/Write Option for 11 Sector Disks and Disk Images,
(83/2/11-913kb) especially used for the game PowerUP plus.
Hi,
I think that you should open new thread with this, since here is some general guide.

Anyway, after struggling with registration I tried hyperformat. Was pretty suspicious, but it worked fine. Little slow, formatting and writing took some 15 minutes.
So, it is possible with PC. I think that Ijor and Simon (Obo) will be interested to hear about this...

Btw. I think that usage of prg. is not quite easy. I know that it is general purpose, not special for Atari ST serie.
obo
Atari freak
Atari freak
Posts: 52
Joined: Mon Nov 10, 2003 12:38 am
Location: Nottingham, UK

Re: Writing Atari ST programs onto floppies with PC

Post by obo »

Writing 11-sector disks isn't too difficult on the PC, it's generally just a problem reading such disks that were formatted on the ST. The first sector position and minimal gaps are usually too tight for the PC controller to handle, and even if it can see the sector headers the data may be too close to them to read.

Writing such a tight format on the PC often requires more than one attempt to format and write each track. The disks would be best treated as read-only once written, as writing new data to the sectors may overwrite the sector header following it (particularly the final one). That's even more likely if the disk is used in a different floppy drive that happens to rotate slightly faster. Reading the disks back on the PC is no problem as they were formatted with standard gaps, with only gap3 reduced to its minimum.

The 83-track format might also be a problem for a lot of PC drives, which often can't access more than 82 tracks. Are you sure that the 83rd track was written correctly, without it just overwriting the 82nd one? If the image you're writing uses the final track, does reading it back into an image file match the original disk image? It's very much dependent on drive speed too, and will take longer (or may even be impossible) if the rotation speed is even slightly above normal.

As a format I think it may be more trouble than it's worth, but if people know what they're letting themselves in for I'll enable it in SamDisk too. I suppose I already support the Sega System 24 format on high-density disks, which is even tighter! (1,925,120 bytes per track).
Last edited by obo on Wed May 14, 2008 8:52 am, edited 1 time in total.
ppera

Re: Writing Atari ST programs onto floppies with PC

Post by ppera »

OmniFlop does first format, and after it writing of image file.
I don't know is slowness result of multiple attempts, but fact is that it calculates remaining time pretty well during whole formatting and writing.
Anyway. I'm out of this now. Not much interested for whole hyperformat on DD floppies. It was unreliable on ST too.
And game Power Up Plus could be distributed on some better and more reliable floppy format, for instance 3 floppies 8O . Not to mention that no need for 83 tracks, since there is some 60/27KB free on floppies... There is a long thread in forum where troubles to transfer it on usable floppies are described.
no1453
Atarian
Atarian
Posts: 1
Joined: Thu Jul 04, 2013 4:11 am

Re: Writing Atari ST programs onto floppies with PC

Post by no1453 »

I recently figured out how to use a Windows 8 computer to write .ST images to disc, and thought I'd share my outcomes. The trick I had to cope with is I was using a usb floppy drive.

I used Omniflop (http://www.shlock.co.uk/Utils/OmniFlop/OmniFlop.htm) run as administrator to actually write the .st files to disk. It will warn you that you don't have the special driver installed, but if you just choose "Write image to disk" (and not "Format-Write"), and be sure to leave "Auto-detect format" box checked, it will allow you to select the "Atari-only" st format, and then write the image.

The tricky part was formatting the discs. Windows 8 doesn't know how to format 720KB discs. My solution involved using a virtual machine (see VMware, Virtualbox) running WinXP Pro, with the usb drive plugged into the virtual machine (under Removable Devices). Then you could click "Start"->"Run" and type in "cmd" to get a command prompt (on the VM), and the format command is simply "format [drive letter]: /t:80 /n:9" (for the standard atari 720KB format). If you have a non-standard disk image (like 800KB), you'll have to figure out the right t and n numbers.

Hope this helps someone struggling with the same problems. :cheers:
obo
Atari freak
Atari freak
Posts: 52
Joined: Mon Nov 10, 2003 12:38 am
Location: Nottingham, UK

Re: Writing Atari ST programs onto floppies with PC

Post by obo »

You'll (almost) always be limited to a 9-sector 720K format when dealing with double-density disks in USB floppy drives. The problem is that they're addressed using logical block numbers, like modern hard disks, and the mapping from LBA to CHS (+FDC access) is hidden within the drive unit. That means there's no way to access a 10th sector needed for 800K disks, even if you pre-format the disk to a 10-sector format on a system that can do it.

So I'm afraid there's no magic solution. Any format that is a true subset of the 720K format will work (with the appropriate CHS->LBA mapping), but anything larger (10 or 11-sector disks) or any level of custom format won't.
AtariZoll
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2978
Joined: Mon Feb 20, 2012 4:42 pm
Contact:

Re: Writing Atari ST programs onto floppies with PC

Post by AtariZoll »

Right. But even with internal floppy drive, and older Windows (Like XP) you can not format 800K. Actually, you even can not read it correctly. The reason is floppy driver of Windows.
With special SW internal floppy can handle 800K - and not with USB floppy drives, to repeat it again.
I think that in few years, floppy support on PCs will complete disappear - there will be no internal FDC, so you will be able only to use external USB drives, which are not cheap and are limited. What means that best would be to keep older PC . Or get some - likely will cost less than for Atari pretty much useless USB floppy.
Famous Schrodinger's cat hypothetical experiment says that cat is dead or alive until we open box and see condition of poor animal, which deserved better logic. Cat is always in some certain state - regardless from is observer able or not to see what the state is.
Dal
Administrator
Administrator
Posts: 4216
Joined: Tue Jan 18, 2011 12:31 am
Location: Cheltenham, UK
Contact:

Re: Writing Atari ST programs onto floppies with PC

Post by Dal »

Seriously. For the hassle, time wasted and limitations inherent with trying to create a valid disk from an image in Windows, spend a little extra cash and get a HxC emulator. Hook it up the the ST's external port. I have provided tutorials on how to force the external drive as Drive A if you want to play image files on real hw.

http://www.septicsurgeon.net/Hardware_M ... n_STE.html

If you really must create floppy disks, you can simply mount the required image on the HxC and use FCopy (or your favourite sector copier) like in the good old days.
STE: Desktopper case, IDE interface, UltraSatan (8GB + 512Mb) + HXC floppy emulator. Plus some STE's/STFM's
User avatar
bullis1
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2301
Joined: Tue Dec 12, 2006 2:32 pm
Location: Canada
Contact:

Re: Writing Atari ST programs onto floppies with PC

Post by bullis1 »

Also, keep in mind that you can always format the disk to your liking on your ST, then write the image using Omniflop on your PC. No need for a virtual machine.
Member of the Atari Legend team
Striker
Retro freak
Retro freak
Posts: 13
Joined: Tue May 13, 2014 7:34 am

Re: Writing Atari ST programs onto floppies with PC

Post by Striker »

Thank you for the guide ppera but how can I do the following.
I am on a PC with the steem emulator. I have a blank ST floppy disk image: Blank Disk.st
On the PC I want to copy a program called HDDRIVER.PRG on this "Blank Disk.st" image so I can later write this image to a real floppy disk.

How can I achieve this?
A step by step manual would be very helpful.

Thank you for your kind help.

Cheers,
Striker
Striker
Retro freak
Retro freak
Posts: 13
Joined: Tue May 13, 2014 7:34 am

Re: Writing Atari ST programs onto floppies with PC

Post by Striker »

Thank you for the guide ppera but how can I do the following?

I am on a PC with the steem emulator. I have a blank ST floppy disk image: Blank Disk.st
On the PC I want to copy a program called HDDRIVER.PRG on this "Blank Disk.st" image so I can later write this image to a real floppy disk.

How can I achieve this?
A step by step manual would be very helpful.

Thank you for your kind help.

Cheers,
Striker
AtariZoll
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2978
Joined: Mon Feb 20, 2012 4:42 pm
Contact:

Re: Writing Atari ST programs onto floppies with PC

Post by AtariZoll »

To add some file in floppy image you even don't need Steem, if using FloImg - it has option for adding files. Open Image file, File Transfer ...

In Steem it's easy too: must "insert" your image file in "floppy A". Set directory where are your files to copy as Hard Drive C in Disk menu, then open A and C, and copy in usual way. Then close Steem - only then changes will be saved to image file, and can write it on floppy.
Famous Schrodinger's cat hypothetical experiment says that cat is dead or alive until we open box and see condition of poor animal, which deserved better logic. Cat is always in some certain state - regardless from is observer able or not to see what the state is.
Striker
Retro freak
Retro freak
Posts: 13
Joined: Tue May 13, 2014 7:34 am

Re: Writing Atari ST programs onto floppies with PC

Post by Striker »

Thank you AtariZoll,
it worked with Steem and a the C: harddisk directory on the PC. :cheers: :D
Datei kopieren auf ST Floppy Image.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
qq1975b
Atari God
Atari God
Posts: 1148
Joined: Tue May 15, 2012 9:15 am
Location: Barcelona

Re: Writing Atari ST programs onto floppies with PC

Post by qq1975b »

FloImg helped me a lot when transferring .ST images to floppies and to extract specific files from the image to a floppy or to a SD (for use it on my Ultrasatan). Thank you.
Learning...
Martinus
Atariator
Atariator
Posts: 17
Joined: Fri Feb 02, 2018 8:32 am

Re: Writing Atari ST programs onto floppies with PC

Post by Martinus »

All solutions above only work with a floppy drive within the PC and not with one connected thru USB. Are there any solutions when the drive is connected thru USB?
User avatar
alexh
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 3063
Joined: Wed Oct 20, 2004 1:52 pm
Location: UK - Oxford
Contact:

Re: Writing Atari ST programs onto floppies with PC

Post by alexh »

Martinus wrote:Are there any solutions when the drive is connected thru USB?
Only expensive custom USB floppy controllers such as Kryoflux@€99 or Supercard Pro@$99

The cheapest mechanism is a serial link from the PC to the Atari and use the Atari to write the disks back.
Last edited by alexh on Fri Feb 09, 2018 10:00 am, edited 1 time in total.
Martinus
Atariator
Atariator
Posts: 17
Joined: Fri Feb 02, 2018 8:32 am

Re: Writing Atari ST programs onto floppies with PC

Post by Martinus »

I would have chosen that path when I used a real PC. However I am using a virtual PC on a Mac and that has no serial ports.
User avatar
alexh
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 3063
Joined: Wed Oct 20, 2004 1:52 pm
Location: UK - Oxford
Contact:

Re: Writing Atari ST programs onto floppies with PC

Post by alexh »

You could use a USB -> serial port bridge.

Or use a Gotek floppy disk emulator with HxC firmware or FlashFloppy firmware
Post Reply

Return to “Other emulators & tools”