blog:x68_floppies

This is an old revision of the document!


X68000 - Writing 5.25" Floppies in Linux

$ apt-get install fdutils
#!/bin/bash

MODE=$1
FD=$2

if [ "$MODE" == "on" ]
then
    echo "1232/1232 2464 16 2 77 0 0x35 0x08 0xDF 0x74" > /etc/fdprm
    setfdprm /dev/$FD -p 1232/1232
    fdformat /dev/$FD
else
    setfdprm /dev/$FD -c
fi

Run it as

$ setx68flop on fd1

Then write your disk image using dd (dd if=image.xdf of=/dev/fd1), finally clear the floppy settings:

$ setx68flop off fd1
  • blog/x68_floppies.1596394682.txt.gz
  • Last modified: 2020/08/02 19:58
  • by john