Re: [hatari-users] Floppy in Falcon mode

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


Nicolas Pomarède wrote:
Restoring to track 0 should take the same time for A: or B: ; do you use
exactly the same fdc commands ?

Yes. As I said in my previous report, in Falcon mode the Restore command is slow on the first drive (whenever I initialize A: or B: first), and fast on the second drive. In ST mode it is always fast.

> Do you wait for motor on in your fdc
commands ? What stepping rate do you use ?

If I'm not wrong reading the bits, I think I use:
- Restore command
- Enable Spin-up sequence
- No Verify
- Stepping rate 6 ms

Even with a 12 ms stepping rate, restoring from track 79 should take a
little less than 1 sec, so it all depends on the optional bits you use
in the restore command.

From Hatari's log, looking at the VBL count I deduce that:
- Restore on first drive takes 1.4 seconds in ST mode
- Restore on second drive takes 2.4 seconds in Falcon mode

I admit that EmuTOS 1.5 second timeout is too short.
Anyway, is there a rational explanation for the Hatari behavior I describe here?

See the attached logs when starting EmuTOS.
I disabled ACSI support to avoid potential perturbations from the hard disk routines, and I disabled the cartridge support to avoid drvbits mess..
I did "trace fdc" at Hatari startup.

--
Vincent Rivière
fdc write 8606 ctrl=0x82 VBL=3 video_cyc=12831 131@25 pc=e0624e
fdc write 8604 data=0xffff VBL=3 video_cyc=12997 297@25 pc=e06258
fdc write 8604 track=0xff VBL=3 video_cyc=12997 297@25 pc=e06258
fdc write 8606 ctrl=0x80 VBL=3 video_cyc=13260 52@26 pc=e0624e
fdc write 8604 data=0x0 VBL=3 video_cyc=13426 218@26 pc=e06258
fdc write 8604 command=0x0 VBL=3 video_cyc=13426 218@26 pc=e06258
fdc type I restore drive=0 VBL=3 video_cyc=13426 218@26 pc=e06258
fdc start motor VBL=3 video_cyc=13426 218@26 pc=e06258
fdc complete command VBL=75 video_cyc=20729 409@40 pc=e061ca
fdc write 8606 ctrl=0x80 VBL=75 video_cyc=20755 435@40 pc=e0652c
fdc read 8604 ctrl status=0xe4 VBL=75 video_cyc=20921 93@41 pc=e06538
fdc write 8606 ctrl=0x82 VBL=259 video_cyc=34785 241@68 pc=e0624e
fdc write 8604 data=0xffff VBL=259 video_cyc=35449 397@69 pc=e06258
fdc write 8604 track=0xff VBL=259 video_cyc=35449 397@69 pc=e06258
fdc write 8606 ctrl=0x80 VBL=259 video_cyc=36501 433@71 pc=e0624e
fdc write 8604 data=0x0 VBL=259 video_cyc=37165 81@73 pc=e06258
fdc write 8604 command=0x0 VBL=259 video_cyc=37165 81@73 pc=e06258
fdc type I restore drive=0 VBL=259 video_cyc=37165 81@73 pc=e06258
fdc start motor VBL=259 video_cyc=37165 81@73 pc=e06258
fdc write 8606 ctrl=0x80 VBL=357 video_cyc=657 149@1 pc=e06c10
fdc read 8604 ctrl status=0xc1 VBL=357 video_cyc=1321 305@2 pc=e06c1c
fdc write 8606 ctrl=0x80 VBL=365 video_cyc=653 145@1 pc=e06c10
fdc read 8604 ctrl status=0xc1 VBL=365 video_cyc=1317 301@2 pc=e06c1c
fdc write 8606 ctrl=0x80 VBL=373 video_cyc=645 137@1 pc=e06c10
fdc read 8604 ctrl status=0xc1 VBL=373 video_cyc=1309 293@2 pc=e06c1c
fdc write 8606 ctrl=0x80 VBL=381 video_cyc=649 141@1 pc=e06c10
fdc read 8604 ctrl status=0xc1 VBL=381 video_cyc=1313 297@2 pc=e06c1c
fdc write 8606 ctrl=0x80 VBL=389 video_cyc=649 141@1 pc=e06c10
fdc read 8604 ctrl status=0xc1 VBL=389 video_cyc=1313 297@2 pc=e06c1c
fdc write 8606 ctrl=0x80 VBL=397 video_cyc=657 149@1 pc=e06c10
fdc read 8604 ctrl status=0xc1 VBL=397 video_cyc=1321 305@2 pc=e06c1c
fdc complete command VBL=403 video_cyc=50897 97@100 pc=e0c0c4
fdc write 8606 ctrl=0x80 VBL=405 video_cyc=653 145@1 pc=e06c10
fdc read 8604 ctrl status=0xe4 VBL=405 video_cyc=1317 301@2 pc=e06c1c


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