qemu/include/hw/isa
Sven Schnelle 9e58f17270 fdc/i8257: implement verify transfer mode
While working on the Tulip driver i tried to write some Teledisk images to
a floppy image which didn't work. Turned out that Teledisk checks the written
data by issuing a READ command to the FDC but running the DMA controller
in VERIFY mode. As we ignored the DMA request in that case, the DMA transfer
never finished, and Teledisk reported an error.

The i8257 spec says about verify transfers:

3) DMA verify, which does not actually involve the transfer of data. When an
8257 channel is in the DMA verify mode, it will respond the same as described
for transfer operations, except that no memory or I/O read/write control signals
will be generated.

Hervé proposed to remove all the dma_mode_ok stuff from fdc to have a more
clear boundary between DMA and FDC, so this patch also does that.

Suggested-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>
2020-03-27 14:30:08 -04:00
..
apm.h Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
i8259_internal.h hw: replace hw/i386/pc.h with a header just for the i8259 2019-12-17 19:33:49 +01:00
isa.h fdc/i8257: implement verify transfer mode 2020-03-27 14:30:08 -04:00
pc87312.h hw/isa/superio: Factor out the floppy disc controller code from pc87312.c 2018-03-12 16:12:48 +01:00
superio.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
vt82c686.h Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00