Commit Graph

19 Commits

Author SHA1 Message Date
OBattler
03c2cad539 Fixed another typo in scsi_cdrom.c. 2016-12-29 22:42:30 +01:00
OBattler
e5b5fcc4f2 Fixed two typo's in scsi_cdrom.c. 2016-12-29 22:34:24 +01:00
OBattler
a0b7d55312 Implemented ATAPI and SCSI SEEK (6) command. 2016-12-29 20:49:01 +01:00
TC1995
7aa62ad5ed Partial fix for a proper speed sync in the read transfers, fixes some slowness caused by running programs directly from CD in the buslogic SCSI adapter. 2016-12-28 00:14:38 +01:00
TC1995
5930a0f883 Decreased processed length per sector, fixes some buffer issues in the Read commands 2016-12-27 23:52:03 +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
OBattler
e7934a1229 Moved some SCSI CD-ROM errors to the command byte/CDB decoder;
SCSI CD-ROM now correctly sets status phase on error;
SCSI CD-ROM now correctly errors on bad command.
2016-12-26 03:21:43 +01:00
OBattler
392f63fa85 Changed the accidental usage of idebufferb in scsi_cdrom.c to the correct SCSIDevices[id].Cdb. 2016-12-25 17:54:15 +01:00
OBattler
92c44cb89f Changed the IOCtl implementation of READ TRACK INFORMATION so that it returns if it succeded or failed, so the ATAPI and SCSI controllers can then act accordingly. 2016-12-25 17:52:17 +01:00
OBattler
4d71ebaf67 Another fix for READ TRACK INFORMATION. 2016-12-25 17:46:06 +01:00
OBattler
e9327bbc84 Fixed both the ATAPI and SCSI implementations of the READ TRACK INFORMATION command. 2016-12-25 17:38:01 +01:00
TC1995
88298809c5 Added Read Track Information command in ATAPI and SCSI.
Removed unused scsi_cmds.h header.
2016-12-25 16:36:27 +01:00
OBattler
147dcc3222 Added the extra parameter for cdrom->readtoc_raw to the SCSI code as well. 2016-12-25 02:06:04 +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
OBattler
dc46480aa4 Applied all mainline PCem commits;
Added experimental NVidia Riva TNT2 emulation (patch from MoochMcGee);
ASUS P/I-P54TP4XE, ASUS P/I-P55T2P4, and ASUS P/I-P55TVP4 are back;
National Semiconductor PC87306 Super I/O chip now correctly reenables devices after a chip power cycle;
Several FDC improvements and the behavior is now a bit closer to real hardware (based on actual tests);
Added MR Intel Advanced/ATX with Microid Research BIOS with support for 4 floppy drives and up to 4 IDE controllers;
Added floppy drives 3 and 4, bringing the maximum to 4;
You can now connect hard disks to the tertiary IDE controller;
Correct undocumented behavior of the LEA instruction with register is back on 286 and later CPU's;
Pentium-rea models with Intel chipsets now have port 92 (with alternate reset and alternate A20 toggle);
Overhauled DMA channel read and write routines and fixed cascading;
Improved IMG detection of a bad BPB (or complete lack of a BPB);
Added preliminary emulation of PS/2 1.44 MB and PC-98 1.25 MB 3-mode drives (both have an inverted DENSEL pin);
Removed the incorrect Amstrad mouse patch from TheCollector1995;
Fixed ATAPI CD-ROM disk change detection;
Windows IOCTL CD-ROM handler now tries to use direct SCSI passthrough for more things, including obtaining CD-ROM capacity;
The Diamond Stealth32 (ET4000/W32p) now also works correctly on the two Award SiS 496/497 boxes;
The (S)VGA handler now converts 6-bit RAMDAC RGB channels to standard 8-bit RGB using a lookup table generated at emulator start, calculated using the correct intensity conversion method and treating intensity 64 as equivalent to 63;
Moved a few options from the Configuration dialog box to the menu;
SIO, PIIX, and PIIX3 now have the reset control register on port CF9 as they should;
Several bugfixes.
2016-12-23 03:16:24 +01:00
OBattler
413fba4b16 Redid the ATAPI READ CD command completely and fixed IOCTL raw sector reading;
Added the ATAPI READ CD MSF command;
UNIT ATTENTION is now a condition above the SCSI/ATAPI senses so that non-UNIT ATTENTION senses can still be reported if said condition is present, should they occur;
Applies mainline PCem commit: Added code generation for RMW versions of INC/DEC.
2016-11-17 20:41:27 +01:00
TC1995
1ca7016a8e Fixed Test Unit Ready being the culprit of the non-working Read 10.
Made Unknown transfers as invalid but with SCSI Status Good/Ok in the Adaptec 1540.
SCSI Commands with no transfers are left with no transfer function.
2016-11-12 16:30:09 +01:00
TC1995
0f035b42ea Added preliminary Adaptec 154x emulation, needs fixing in the Read 10 command.
Made ATAPI derived from SCSI.
Added proper S/G emulation for SCSI DMA.
Added SCSI CD-ROM emulation, preserving all the former ATAPI commands as well.
2016-11-12 15:06:38 +01:00