Commit graph pcem/src/ide_atapi.c
Author SHA1 Message Date
SarahW
2b6b14f175 Set BUSY_STAT in ATAPI code. Fixes 'Device failed to request command' error when installing Windows ME. 2019-05-08 21:50:52 +01:00
SarahW
9a49a75eaf IDE soft reset should also reset ATAPI devices. Should fix at least some 'Device failed to request command' errors. 2019-04-14 13:47:20 +01:00
SarahW
5043cff3f9 Move SFF-8038i IDE bus mastering code out of PIIX files.
Add bus mastering to VT82C586B emulation.
2018-12-02 15:46:28 +00:00
SarahW
a7d006b637 Rewrote timer code.
The new code is based on timestamps, rather than delays. This eliminates the
need to update every timer in timer_process(), which cost a non-trivial amount
of CPU time on low-end machines.

This involved changes to every user of the timer code, so this change almost
certainly introduces bugs.
2018-08-02 22:06:10 +01:00
SarahW
a22b735da0 Added configurable CD-ROM speed. 2018-03-17 11:39:33 +00:00
SarahW
db5a5ea13f Fixed typo in ide_atapi.c. 2018-03-16 18:22:00 +00:00
SarahW
6602368cc4 Implemented ATAPI DMA transfer modes. 2018-03-15 19:36:30 +00:00
SarahW
c07b76dc8e ATAPI sector accesses can not be split over multiple transfers. Fixes Windows XP installer. 2018-03-03 21:32:24 +00:00
SarahW
8193605469 Treat zero ATAPI maximum transfer as 65534. Fixes crash sometimes when booting PB570. 2018-02-26 19:52:10 +00:00
SarahW
103ebe5347 Fix hang with long ATAPI transfers. 2018-02-18 12:33:31 +00:00
SarahW
6ecdd2efd0 Unify ATAPI and SCSI CD-ROM code. 2018-01-21 15:59:29 +00:00