TC1995
4a4aa3b0e1
Small important change for the 53c400 (May 30th, 2025)
...
Upon an initial POST, the initital status/control 53c400 port should be 0, fixes various versions of the T130B driver on Windows 95 builds.
2025-05-30 20:45:12 +02:00
TC1995
04b9735975
Quick timer fix on the T128/PAS SCSI (May 10th, 2025)
...
1. If the timer result is less than 10.0 microseconds, then adjust it to 10.0. Fixes some timing read issues with the T128 (and possibly PAS SCSI).
2. Remove unused variables.
2025-05-10 22:11:19 +02:00
OBattler
e800f99f5a
Make device.c assume CONFIG_BIOS is first in the config struct and make sure any device_t struct containing such follows that, in order to not have to traverse the entirety of every single device_t's config struct in the Settings dialog - should reduce the dialog's loading times further.
2025-05-10 04:53:20 +02:00
TC1995
dd6d480fac
Spock/Tribble changes of the evening (May 9th, 2025)
...
Don't duplicate drives into phantom drives.
2025-05-09 23:41:05 +02:00
OBattler
1282ecfd56
BT-958D PCI: Preserve PCI slot across device resets, fixes IRQ's.
2025-04-30 01:37:25 +02:00
Cacodemon345
e703ac760b
Write indicators (except for floppy drives)
2025-04-22 17:37:00 +06:00
OBattler
c0fdc6b4fe
BusLogic SCSI controllers: Add a proper device reset functions, fixes POST error on Intel AMI BIOS'es after exiting AUTO-SCSI using the Esc key.
2025-04-20 14:04:23 +02:00
OBattler
90265546e6
CD-ROM: Do not stop playing on a READ command that immediately terminates with an "illegal mode for this track" error, fixes track skipping in the Windows 95 CD Player.
2025-04-17 00:18:38 +02:00
TC1995
ebf125082a
Revert a minor commit from Spock. (April 7th, 2025)
...
This fixes OS/2 Warp on a PS/2 machine using the Spock/Tribble during the file copy phase (the bug was probably too many IRQ's being fired).
2025-04-07 20:33:50 +02:00
OBattler
018ff46253
CD-ROM: Actually remember and use the correct number of sectors for the period, fixes... well, any kind of data reading.
2025-04-07 05:42:41 +02:00
OBattler
b93af353ef
SCSI CD-ROM: Remove leftover excess logging.
2025-04-07 01:46:09 +02:00
OBattler
e48d64de45
SCSI CD-ROM/Disk/MO/ZIP: Treat data commands with request length 0 in ATAPI PIO mode as non-data commands, also allow WIN_SRST to go through BSY, fixes the regressions introduced in build 6731 reported by JVERNET.
2025-04-07 01:44:12 +02:00
OBattler
d3d5d3e780
Fix the calculation of the number of sectors per packet and stop the transfer when the total sector count has reached zero, fixes #5432 .
2025-04-04 18:19:28 +02:00
TC1995
9c8c1a6f40
Trantor SCSI changes of the day (April 2nd, 2025)
...
1. The PAS SCSI controller driver mamv1.sys dislikes having bits 0-6 set when a transfer has completed, take account from this, fixes mamv1.sys incomplete CD transfers (bits 0-6 get re-enabled when the transfer is ongoing).
2. I now understand why the T128 doesn't have a block count register, it does the block count manually from the SCSI layer directly, this fixes Pseudo-DMA transfers when using, e.g.: CD transfers using a sector size of 2340 bytes.
2025-04-02 21:47:32 +02:00
TC1995
6d43f7e2df
More fixes for 5380-based SCSI chips of the day (March 29th, 2025)
...
1. Avoid audio stops when they don't need to be.
2. And improved the MMIO-based NCR 53c400 timings to be similar to the port I/O-based one (T130B).
3. Minor timing fixes to the T128/PAS as well (especially for the hdd, when entering Windows 1.x using a SCSI HDD).
2025-03-29 14:24:20 +01:00
OBattler
0ebadfb942
CD-ROM, ATAPI HDD, MO, and ZIP: correct bus speed arithmetic, makes especially MO and ZIP much faster.
2025-03-21 03:29:46 +01:00
OBattler
f74db2660f
Fix the exact same READ 10/12/16 bug in scsi_disk.c as well.
2025-03-20 06:25:49 +01:00
OBattler
48c294a13b
SCSI CD-ROM: Fix a warning.
2025-03-17 20:59:18 +01:00
OBattler
556c74c159
IDE DMA: Properly handle partial transfers, fixes ATAPI DMA in Windows 98 SE.
2025-03-17 20:58:15 +01:00
OBattler
bb1b666010
Removed some commented out stuff.
2025-03-17 00:43:18 +01:00
OBattler
a386bd015f
Merge remote-tracking branch 'origin/master' into cdrom_changes
2025-03-10 16:57:56 +01:00
Jasmine Iwanek
fc639750ac
Fix three warnings
2025-03-10 05:28:11 -04:00
TC1995
4d5907eac6
T128 changes of the evening (March 9th, 2025)
...
1. More accurate speed without stalls.
2. Added more IRQ's for AT compatibles.
2025-03-09 20:32:44 +01:00
OBattler
77f945ec59
Merge remote-tracking branch 'origin/master' into cdrom_changes
2025-03-08 15:36:20 +01:00
TC1995
a2534c1f4f
Trantor T128/MediaVision SCSI changes of the day (March 8th, 2025)
...
1. Made as best as possible implementation of the status bits 1-2 of the Trantor 128 so to make a more accurate speed for SCSI devices (CD-ROM and HDD) without stalls.
2. Slightly reorganized the timer of the T128.
2025-03-08 14:41:59 +01:00
TC1995
63c5b6003f
Spock/Tribble changes of the day (March 8th, 2025)
...
1. Make IRQ's more correct and per manual.
2. Only an adapter reset command should reset the SCSI devices connected to it.
3. Differentiate the two controllers by the connector bit (pos3 bit 12) in the CMD GET POS INFO SCB command.
4. Actually emulate bit 7 of pos4 in the pos writes so that selection between 16KB and 32KB rom loading is done properly.
5. Some cleanups.
2025-03-08 14:29:13 +01:00
TC1995
265152db75
NCR 53c400: slightly more accurate speed.
...
See above.
2025-03-07 19:58:36 +01:00
OBattler
010ce43c1e
Merge remote-tracking branch 'origin/master' into cdrom_changes
2025-03-06 22:56:10 +01:00
Cacodemon345
74368bfe7a
Don't include cpu.h in timer.h
...
Change the name of the define used to indicate SVGA multi-monitor-capable cards
2025-03-06 19:26:11 +06:00
OBattler
4be691afe7
IDE: Correctly terminate ATAPI command on DMA underrun, fixes Windows 9x freezes.
2025-03-06 01:44:02 +01:00
OBattler
a62a6594e6
SCSI CD-ROM: Fixed SCSI standard reporting in INQUIRY.
2025-03-05 23:48:47 +01:00
OBattler
24e64fa622
Merge remote-tracking branch 'origin/master' into cdrom_changes
2025-03-04 19:16:23 +01:00
Jasmine Iwanek
62444f3da0
Devices supported on PCjr
...
PC Enterprises GameMaster, Resound jr (adlib)
MS Booster/PC Enterprises jrBus-Mouse, PC Enterprises GameMaster (bus mouse)
Various (generic) RTC
Corel LS2000 SCSI
2025-02-21 16:41:41 -05:00
TC1995
67c02a5361
Spock/Tribble (IBM PS/2 SCSI) changes of the late night (February 21st, 2025)
...
1. Made logs more consistent.
2. Actually add Write and Verify command, used by IBM OS/2 1.2 Extended, and fixes a hang by said OS after inserting disk 6.
2025-02-21 00:32:15 +01:00
OBattler
c8d88d1dd0
Merge remote-tracking branch 'origin/master' into cdrom_changes
2025-02-14 07:40:18 +01:00
OBattler
2c197000ea
Removed the legacy #defines in device.h.
2025-02-14 07:39:21 +01:00
OBattler
ee2b523653
Fixed two warnings.
2025-02-14 01:02:13 +01:00
OBattler
1a33a2bd09
CD-ROM: Ignore zero-length pages on MODE SELECT, and also stop properly on error.
...
TODO: Apply to SCSI Disk, ZIP, and MO as well.
2025-02-13 19:47:21 +01:00
OBattler
4221b72059
Commented out some logging stuff.
2025-02-13 04:28:52 +01:00
OBattler
8a66dbef37
Fixed ATAPI PIO operation and ATAPI DMA timings.
2025-02-13 04:28:05 +01:00
OBattler
9a1ae5997f
Fixed ATAPI transfer split by sectors and improved the performance of IOCTL by making it no longer constantly open and close the handle.
2025-02-13 01:44:10 +01:00
OBattler
1168d2d002
Merge remote-tracking branch 'origin/master' into cdrom_changes
2025-02-12 03:21:41 +01:00
Jasmine Iwanek
109a913bf5
Remove duplicate .close in scsi_t228_device
2025-02-11 12:02:47 -05:00
OBattler
ae597c2e46
Reverted the dark mode forcing and reveted CD-ROM to old behavior if bus is SCSI, because it turns out the changes are not even needed on SCSI.
2025-02-10 05:31:29 +01:00
OBattler
74e0408201
Current WIP CD-ROM changes.
2025-02-09 20:06:15 +01:00
Jasmine Iwanek
d5d1d5c449
More cleanups to device structs
2025-02-08 01:28:25 -05:00
OBattler
35a12e0826
CD-ROM: IOCTL now detects medium changes without having to read the host drive's TOC on every operation, improves performance.
2025-02-03 10:57:19 +01:00
Jasmine Iwanek
5f273265ae
Assorted warning fixes
2025-02-02 03:24:50 -05:00
Jasmine Iwanek
4e6f29a7d5
malloc to calloc
2025-02-01 15:38:36 -05:00
Jasmine Iwanek
81b8038bc5
Clean up .available & .poll
2025-02-01 03:38:52 -05:00