Commit Graph

15 Commits

Author SHA1 Message Date
OBattler
4f7fd84229 Overhauled and unified CD-ROM emulation;
Four CD-ROM drives are now emulated;
ATAPI DMA is now emulated;
Unified CD-ROM pass through to host drive handling;
Applied all (applicable) mainline PCem commits.
2017-01-16 01:49:19 +01:00
TC1995
81a6a905da SCSI not ready/unit attention handler also made available when a command is already executed, though only for the Adaptec 154x. 2017-01-03 20:33:23 +01:00
TC1995
abbd603d9a Buslogic specific features and commands marked as invalid when the Adaptec 154x scsi controller is selected.
Some SCSI layer bugfixes.
2017-01-03 19:07:18 +01:00
OBattler
391855860c SCSI controller model is now switchable between Adaptec AHA-154x and the BusLogic BT-542B. 2017-01-03 02:35:24 +01:00
OBattler
8fcc49cd31 Modified ATAPI and SCSI disc change handling. 2017-01-02 04:38:53 +01:00
TC1995
3f086f7523 Buslogic now fully working on DOS and NT (probably Win9x too)
Removed unused c sources.
SCSI layer bugfixes.
2017-01-01 00:36:22 +01:00
OBattler
cf6f8ae155 Fixed all the BusLogic structs, they should compile now. 2016-12-30 23:43:05 +01:00
OBattler
6165c13466 BusLogic types are now packed. 2016-12-30 23:38:20 +01:00
TC1995
61b8ff9a71 More bugfixes to the Buslogic and SCSI layer, still need to understand why the f**k it doesn't issue the Request Sense command when necessary 2016-12-30 00:42:54 +01:00
TC1995
3f04c30ac0 Added support up to 16 ID/LUN's
Corrected residual length, fixes Win95's buslogic driver that was not showing the CD drive.
2016-12-27 22:38:09 +01:00
TC1995
df78ce0529 Fixed once and for all the DOS CD-ROM bugs in the BT-54x SCSI adapter.
Added notes regarding NT 3.1 297.1 and 340.1's setup bugs with the Adaptec driver in the BT-54x SCSI adapter.
Bugfixes to the SCSI layer (SCSIReset())
2016-12-27 18:48:38 +01:00
TC1995
547185fd7f Removed excessive logging (R/W functions only for now)
Some cleanup.
End the SCSI request if the transfer length is already 0.
Additional fixes to support OS/2 1.3 and DOS buslogic drivers, still not 100% working for those, however, but CD-ROM is recognized.
2016-12-26 21:02:26 +01:00
TC1995
b3bc0a77c4 Damnit... 2016-12-26 03:43:17 +01:00
TC1995
3b0eb07519 Added the Abort Mailbox Command.
Fixed stupid Interrupt bug in the Write routine.
Bugfixes.
2016-12-26 03:39:48 +01:00
TC1995
abf009e541 Renamed Adaptec 154x adapter source to Buslogic as now it emulates the Buslogic BT-540B SCSI adapter.
Moved CD-ROM read data buffer declaration and definitions to SCSI source files and headers, but still applying to IDE when needed.
SCSI Read commands now return the correct sectors on callback.
DMA bug fixes.
2016-12-23 17:11:59 +01:00