Re: [hatari-users] Floppy in Falcon mode

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-users Archives ]


Nicolas Pomarède wrote:
what's important in the new trace is that it should display
current_track=xxx in the restore command.

Sorry, I didn't notice that.
It is 0, as expected.

Can you send the trace you get for A: and B: ?

As I suspect other trouble elsewhere, I simplified the test by simply initializing A:.

Unless the value of current_track is known, it's not
possible to conclude timings are different on STF/Falcon.

I measure the time taken for the Restore command by using Hatari's VBL traces between "fdc type I restore" and "fdc complete command". On Falcon it is (156 - 12) = 144 VBLs which means 2.4 seconds at 60 Hz. According to fdc.c, it should be 1.2 second (1.2 second for motor on and ~0 second for Restore from track 0).

So it seems that the FDC delays are twice as expected in Falcon mode. This is enough to explain all my trouble.

--
Vincent Rivière
fdc write 8606 ctrl=0x80 VBL=12 video_cyc=78725 493@154 pc=e06252
fdc write 8604 data=0x0 VBL=12 video_cyc=79389 141@156 pc=e0625c
fdc write 8604 command=0x0 VBL=12 video_cyc=79389 141@156 pc=e0625c
fdc type I restore drive=0 current_track=0x0 VBL=12 video_cyc=79389 141@156 pc=e0625c
fdc start motor VBL=12 video_cyc=79389 141@156 pc=e0625c
fdc write 8606 ctrl=0x80 VBL=111 video_cyc=645 137@1 pc=e06c46
fdc read 8604 ctrl status=0x81 VBL=111 video_cyc=1309 293@2 pc=e06c52
fdc write 8606 ctrl=0x80 VBL=119 video_cyc=649 141@1 pc=e06c46
fdc read 8604 ctrl status=0x81 VBL=119 video_cyc=1313 297@2 pc=e06c52
fdc write 8606 ctrl=0x80 VBL=127 video_cyc=653 145@1 pc=e06c46
fdc read 8604 ctrl status=0x81 VBL=127 video_cyc=1317 301@2 pc=e06c52
fdc write 8606 ctrl=0x80 VBL=135 video_cyc=661 153@1 pc=e06c46
fdc read 8604 ctrl status=0x81 VBL=135 video_cyc=1325 309@2 pc=e06c52
fdc write 8606 ctrl=0x80 VBL=143 video_cyc=649 141@1 pc=e06c46
fdc read 8604 ctrl status=0x81 VBL=143 video_cyc=1313 297@2 pc=e06c52
fdc write 8606 ctrl=0x80 VBL=151 video_cyc=713 205@1 pc=e06c46
fdc read 8604 ctrl status=0x81 VBL=151 video_cyc=1377 361@2 pc=e06c52
fdc complete command VBL=156 video_cyc=93161 197@183 pc=e0c0f6
fdc write 8606 ctrl=0x80 VBL=159 video_cyc=653 145@1 pc=e06c46
fdc read 8604 ctrl status=0xa4 VBL=159 video_cyc=1481 465@2 pc=e06c52








Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/