This is an old revision of the document!
Windows
Mac
Derp.
Linux
We can write X68000 images directly to a high density disk without the need for special software. Obviously, don't use double density disks; they won't work. Also, the directions below are assuming your 5.25“ floppy drive is the first drive in the chain (“Drive A”, or whatever). If it isn't, substitute fd1 for fd0 anywhere it appears below.
First, we need to tell Linux the parameters of an X68K floppy.
1. Edit (or create) the file /etc/fdprm
and add this line to it (you only have to do this part once):
1232/1232 2464 16 2 77 0 0x35 0x08 0xDF 0x74
NOTE: If you have another (different) line for 1232/1232 in /etc/fdprm you may need to rename / comment it out
2. Now we have to tell Linux to adopt those parameters when it's dealing with your disk drive:
setfdprm /dev/fd0 -p 1232/1232
3. It's probably a good idea to format the disk at this point. Use:
fdformat /dev/fd0
4. Now write the image to disk with:
dd if=file.img of=/dev/fd0
…where naturally you will replace file.img with whatever your disk image is. Wait for the write to complete and you're done.
Repeat steps 3 and 4 as necessary with new floppy disks to write more images. Some floppy drives will reset the drive parameters each time you insert a new disk – even though -p means “permanent” – requiring you to also repeat step 2.
5. When you're completely done, tell Linux to clear the floppy parameters with:
setfdprm /dev/fd0 -c