Hi,
On 3/30/06, Hanzac Chen wrote:
> I can help to find the cause of the floppy driver's frequent reset
> problem, If I find something, I'll let you know.
I found that the problem is the time-out interval is too short when
doing a fdc_xfer_cylinder and waiting the operation to complete. (The
operation is done when the first-time that the cache is missed and try
to do a fdc_read_cylinder.)
When I use ("void *irq_timeout_event =
timer_event_register(fdd->dp->int_tmout*10, irq_timeout_cb, (void *)
&irq_timeout);") the default timeout multiply 10 in the wait_fdc, the
floppy will act as before.
So I think when doing a cylinder transfer, the timeout value should be larger.
Hanzac
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
freedos-32-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-32-dev