Re: [hatari-devel] LED with empty floppy drives

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


Le 09/06/2014 23:09, Nicolas Pomarède a écrit :

I can't say if Hatari is wrong about some routines used by Emutos, but
at least it's 100 %d identical to real ST with real TOS.

Regarding emutos 0.9.3 drive detection, it does :

fdc change drive/side io_porta_old=0x7 io_porta_new=0x5 side 0->0 drive 0->0 VBL=69 HBL=52 fdc type I restore spinup=off verify=off steprate=3 drive=0 tr=0x0 head_track=0x0 VBL=69 video_cyc=26756 340@52 pc=e0710a

-> select drive A and restore on drive A

fdc change drive/side io_porta_old=0x5 io_porta_new=0x3 side 0->0 drive 0->1 VBL=69 HBL=58 fdc type I restore spinup=off verify=off steprate=3 drive=1 tr=0x0 head_track=0x0 VBL=69 video_cyc=29948 484@58 pc=e0710a

-> select drive B and restore on drive B


But after that, drive B is not unselected, so LED remains ON.
Emutos should write 0x7 in io_porta register to unselect all drives once the detection sequence is over.

Nicolas




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