12 Jan
2011
12 Jan
'11
6:31 p.m.
OK, here are the commands I'm using and the output. ------------------------------------- floppycontrol --resetnow 2 fdrawcmd drive=/dev/fd0 rate=0 readid 0 need_seek track=0 i=1 fdrawcmd drive=/dev/fd0 seek 0 $i # drvsel cyl head sect szcod spt rw-gap szcod2 fdrawcmd drive=/dev/fd0 rate=0 read 0 $i 0 1 2 15 0x1b 0xff length=512 >> $1 Reset Recal 0: 0 1: 0 2: 0 3: 0 4: 0 5: 1 6: 2 no disk change Seek 0: 20 1: 1 no disk change remaining= 512 0: 40 1: 4 2: 0 3: 1 4: 0 5: 1 6: 2 no disk change ------------------------ So, ST0= 0x28, which is Seek End and Not Ready, and ST1= 4, so No Data. Using readid to "scan" the whole track shows that sectors 1 to 15 are all there and are all 512 bytes long (szcod = 2) Any ideas? Ian