Commit Graph

418 Commits

Author SHA1 Message Date
MaxwellS04
2a16c3cea6 Added other five models I have forgotten
Also changed the HL-DT-ST CD-ROM to reflect the model revision.
2025-01-15 16:42:13 +07:00
MaxwellS04
72571d6211 Added other two models (1x DVD/1x CD)
Also updated the revision on CRN-8245B
2025-01-15 14:26:31 +07:00
MaxwellS04
7bc89f6feb Added a plenty of IDE CD-ROM models
-Added other four ATA-3 models
-Corrections to Western Digital pre-ATA-4 HDD models
2025-01-15 07:13:21 +07:00
unreal9010
514abd4abd Update scsi_cdrom.c 2025-01-14 17:42:49 +01:00
unreal9010
68a8392baf Add TEAC CD-532E (32X)/NEC CDR-1900A (32X) 2025-01-14 17:31:21 +01:00
TC1995
c9985798d3 Remove excess logs. 2025-01-13 22:04:29 +01:00
TC1995
29ec9fa9ba More NCR53c400 fixes (January 13th, 2025)
Getting on my nerves, NCR 5380...
2025-01-13 21:10:12 +01:00
TC1995
be878ede58 Okay, maybe for the 53c400 only so.
Based on my tests, the former 5380 commit will apply to the 53c400 only, for now...
2025-01-13 00:56:04 +01:00
TC1995
8dc456cce5 NCR 5380-based changes of the day (January 12, 2025)
1. Sanity check for the SCSI temp_buffer if it's allocated or not.
2. Data reads and writes in non-DMA mode should be accessible only when DMA mode is Idle (as in, no DMA at all, whereas DMA mode will go to the SCSI controllers' callbacks).
2025-01-12 20:37:50 +01:00
Jasmine Iwanek
fabe71150c Various improvements & Cleanups
Some ported from ANightly's work
2025-01-11 21:25:29 -05:00
TC1995
738b80f1ab And DC390 for today.
Restore the old way of identifying the chip id in the DC390. Fixes NT 4.0 booting from CD-ROM using said SCSI controller when its BIOS is enabled.
2025-01-09 23:47:30 +01:00
OBattler
c3faf20226 AHA-1542CP and ISA PnP memory range fixes, fixes AHA-1542CP on Packard Bell PB450. 2025-01-07 02:42:09 +01:00
TC1995
cc73c0efe4 Late day changes (January 2nd, 2025)
Actually recognize the Trantor 228 MCA SCSI controller as such (bit 3 of status is for the PS/2 MCA bus type of the 128 controller)
2025-01-02 23:49:50 +01:00
TC1995
104e83de1b Some changes on the PCSCSI code of the new year (January 1st, 2025)
1. Too many soft resets should not reset the SCSI layer, fixes CD Audio on the 53c90a MCA controller used by guests.
2. Implemented preliminary MDL S/G mode for the PCSCSI side.
3. The underflow DMA function is no longer needed as it now SCSI transfers on the 53c90a MCA controller works properly.
4. Minor corrections to the PCI side (mainly the revision).
5. The DMA 86c01 side of the MCA 53c90a controller is more polished now, should fix some more bugs.
2025-01-01 21:20:33 +01:00
TC1995
e0daf34629 SCSI CD-ROM change of the day (December 31st, 2024)
Added undocumented 0xC5 NEC SCSI-2 CD-ROM command (most likely a no op command like 0x0D).
2024-12-31 21:29:59 +01:00
OBattler
7b6a9181c6 Current state of the CD-ROM node - no CUE/BIN overhaul or MDS/MDF support yet, but the rest is already there. 2024-12-31 04:37:21 +01:00
TC1995
4c0eb39729 Spock changes of the day (November 13th, 2024)
1. The SCSI ID is now more correct about about the difference between physical unit number and actual SCSI ID. This should fix boot freezes on NT 1991 builds for x86 using said card, as well as keeping compatibility the same as before.
2024-11-13 23:34:31 +01:00
OBattler
61a88eea02 Enable Boot ROM -> Enable BIOS. 2024-11-10 05:09:45 +01:00
OBattler
6d7e11c620 WD8003 and AHA-154x: address -> Address. 2024-11-10 02:51:18 +01:00
OBattler
d6cd357202 BIOS Version -> BIOS Revision. 2024-11-10 02:47:59 +01:00
OBattler
b2258f4ae7 BIOS -> BIOS Revision. 2024-11-10 02:45:38 +01:00
OBattler
fbc21cdf49 DMA channel -> DMA. 2024-11-10 02:42:01 +01:00
RichardG867
7b786a98fa scsi_disk: Report image read/write errors 2024-10-29 12:13:04 -03:00
RichardG867
451ece0074 scsi_cdrom: Fix reporting of read errors on ATAPI drives 2024-10-28 19:57:26 -03:00
richardg867
b0e8647753 scsi_cdrom: Remove debug logging 2024-10-27 14:10:28 -03:00
RichardG867
aeaaa09b16 CD-ROM: Report image backend I/O errors as media CRC errors to the drive 2024-10-27 13:17:55 -03:00
OBattler
5234446194 CD-ROM: Remove excess logging. 2024-09-18 19:57:58 +02:00
Jasmine Iwanek
f4b63caf0b One line per file in CmakeLists.txt 2024-09-04 18:34:06 -04:00
OBattler
547ae9ad6a Make GET_CONFIGURATION results more consistent with the capabilities page. 2024-09-02 06:48:07 +02:00
OBattler
09a6aab21a More CD-ROM fixes, fixes Johnny Bazookatone. 2024-09-02 06:32:28 +02:00
OBattler
252c3034af Reworked the unit attention workaround, fixes #4770. 2024-08-30 00:57:18 +02:00
OBattler
dd2bbf3cd3 CD-ROM: Make sure the initial unit attention condition is not treated as an inserted empty drive phase. 2024-08-29 20:47:44 +02:00
OBattler
d5b0fd18aa CD-ROM disc changes without eject now insert one simulated empty drive state, fixes #4768. 2024-08-29 05:52:12 +02:00
TC1995
1e82bd88a1 SCSI fixes of the day (August 8th, 2024)
SCSI CD-ROM: request sense command should preserve its sense data unless a different command is issued, fixes DOS hanging with a blinking cursor using CDSCSI-2.sys for the 53c9x MCA card when there's no CD inside, making its no length Data In hack no longer needed.
2024-08-08 01:20:29 +02:00
TC1995
8624942220 More ESP SCSI fixes (LUN mainly)
This commit should fix the NT 3.1 AMD PCscsi drivers when they look for devices on LUN > 0 and causing havoc with them (BSOD).
Basically clear the FIFO and set the SEQ_0 bit in the RSEQ read reg.
AM53c974 side: a biosless card is biosless.
General: fixed all the log excesses.
2024-08-05 01:00:48 +02:00
TC1995
e79b722ebe Actually report the 86Box CD/DVD-ROM SCSI drive as SCSI-2 compliant 2024-08-04 22:30:50 +02:00
TC1995
885a92ae62 AMD/DC390 SCSI fixes of the day (August 4th, 2024)
Ported the latest changes/fixes to the above controller from QEMU and added a bios-less AMD Am53c974 device (non-DC390).
The latest changes fix the AMD-branded DOS ASPI drivers on both cards (even without bios).
2024-08-04 22:28:39 +02:00
OBattler
8225f270f3 Fix the generation of instantiated NVR paths, fixes #4642. 2024-07-22 19:24:15 +02:00
OBattler
91874e231a The monster FDC ROM is now optionally writable (also finally made the SCSI NVR's per-instance), closes #4623. 2024-07-22 03:19:40 +02:00
Jasmine Iwanek
27c8bdd57e Less dummy devices 2024-07-19 16:57:11 -04:00
TC1995
0a2fa21f06 SCSI and disk fixes (July 14th, 2024)
All: the icon refresh for the respective storage now works properly across all adapters that use it (especially the aha154x compatibles and spock/tribble).
SCSI CD-ROM: The Sony/Texel/DEC SCSI command 0xC0 (Set Address Format) isn't a command that checks for ready status, however, it is for other vendors like NEC, Matsushita, etc. and I am not wishing to create a duplicate command_flags array duplicate just for vendor unique commands. This fixes the MSF bit of Sony/Texel/DEC CD-ROM drives which don't use the Mode Page equivalent.
Toshiba only: attempt to mark the 3201B as a SCSI-1 only CD-ROM drive properly.
2024-07-14 20:42:50 +02:00
OBattler
e5f676d9b5 CD-ROM: Actually set the format variable of GPCMD_READ_DVD_STRUCTURE to cdb[7], fixes heap corruptions due to the format incorrectly mismatching the given buffer lengths, fixes #4522 . 2024-06-13 19:21:37 +02:00
TC1995
3d74f43b95 NCR 53c400 timing fixes.
See above (CD-ROM speeds too for said SCSI chips).
2024-05-30 00:25:29 +02:00
OBattler
7c74a977fa There goes the legacy host_drive. 2024-05-20 02:15:17 +02:00
OBattler
641da43f15 IOCTL and CD-ROM changes. 2024-05-19 21:17:57 +02:00
TC1995
1856696cd2 Warning fix 2024-05-13 01:02:27 +02:00
TC1995
4e67a4fdd3 DMA speed fixes in place on the 53c400.
See above, so that the CD-ROM speed is accurate enough on both ends (T13B and the MMIO variants) and, at the same time, not timing out abnormally.
2024-05-13 00:57:53 +02:00
OBattler
71c16a4481 Remove the previous kludge and #define BUS_ACK to 0x100 so it's different from BUS_ATN. 2024-05-06 13:24:04 +02:00
OBattler
4c84cccae7 The Pro Audio Spectrum SCSI controller is now based on the Trantor T128 (which it is considerable closer to), rather than on the 53c400. 2024-05-06 13:09:08 +02:00
OBattler
907daed3b1 Removed a commented out section from scsi/scsi.c. 2024-05-03 19:01:33 +02:00