]> xenbits.xensource.com Git - seabios.git/commit
floppy: Send 4 sense interrupt commands during controller initialization
authorNikolay Nikolov <nickysn@users.sourceforge.net>
Sat, 10 Feb 2018 11:52:17 +0000 (13:52 +0200)
committerKevin O'Connor <kevin@koconnor.net>
Thu, 15 Feb 2018 05:18:14 +0000 (00:18 -0500)
commitaf0daeb2687ad2595482b8a71b02a082a5672ceb
tree36b38d5d5a44f213f9f0031db719c99ba2086cdd
parent2611db472c0f0bad4987c20990a45c175342fc22
floppy: Send 4 sense interrupt commands during controller initialization

During initialization, real floppy controllers need 4 sense interrupt commands
to clear the interrupt status (this represents the transition from "not ready"
to "ready" for each of the four virtual floppy drives), instead of just one.

This is described in detail in section 7.4 - Drive Polling of the Intel 82077AA
datasheet.

Signed-off-by: Nikolay Nikolov <nickysn@users.sourceforge.net>
src/hw/floppy.c