dingusppc/devices/common
Mihai Parparita 52f4d847dd Fixes for READ_MULTIPLE and WRITE_MULTIPLE commands
We may be transferring less data than can fit in a chunk, so we need
to ensure that xfer_cnt is clamped to 0 when transferring the last
chunk (otherwise it remains negative, and has_data() will return true).

It's also possible that the transfer size is bigger than a chunk but not
an even multiple of the chunk size, so we need to ensure that we don't
try to transfer a whole chunk in the last iteration.

More correctly initialize the device identification struct, to report
the maximum (word 47) and current (word 59) number of blocks that can be
transferred with READ_MULTIPLE and WRITE_MULTIPLE commands.

Fix post_xfer_action to write the actual data size that was written,
as opposed to an entire chunk (which may be larger).
2024-08-24 22:51:07 -07:00
..
adb adbmouse: only send first two bytes in standard/classic protocol as per spec 2024-07-29 11:37:54 +01:00
ata Fixes for READ_MULTIPLE and WRITE_MULTIPLE commands 2024-08-24 22:51:07 -07:00
i2c athens: Allow P2_MUX bit 6 to be 1. 2024-04-24 06:48:27 -07:00
pci PCI-to-PCI bridges now return true in supports_io_space(). 2024-08-17 01:01:53 +02:00
scsi mesh: implement EnaParityCheck and DisParityCheck commands. 2024-07-25 22:18:43 +02:00
dbdma.cpp dbdma: fix cmd.resCount update. 2024-07-22 17:45:48 +02:00
dbdma.h dbdma: introduce new DMA API. 2024-07-15 02:09:15 +02:00
dmacore.h dbdma: introduce new DMA API. 2024-07-15 02:09:15 +02:00
hwcomponent.h hwcomponent: add IDE_HOST component type. 2024-08-12 14:03:05 +02:00
hwinterrupt.h hwinterrupt: remove deprecated SCSI0 & SCSI1. 2024-02-12 01:46:21 +01:00
machineid.h machineid: Don't decode board register address. 2024-04-03 19:53:03 -07:00
mmiodevice.h mmiodevice: Move SIZE_ARG macro from pcibase. 2024-03-24 13:03:31 -07:00
nvram.cpp nvram: Output nvram file name in error message. 2024-03-01 07:59:19 -07:00
nvram.h
ofnvram.cpp
ofnvram.h
viacuda.cpp viacuda: refactor emulation of the VIA registers. 2024-08-04 21:43:06 +02:00
viacuda.h viacuda: refactor emulation of the VIA registers. 2024-08-04 21:43:06 +02:00