Commit Graph

121 Commits

Author SHA1 Message Date
Jasmine Iwanek
08a53d2f55 Fix High Speed autoinit DMA on SB16 2025-07-12 15:35:35 -04:00
TC1995
a39bef1ab8 ESS/SB changes of the day (March 8th, 2025)
1. Correct ChipChat mixer port length as well as making mixer reg 0x3a read back its value.
2. Swap the sb port addresses back so that they match the Piper adf. This fixes SoundPiper 16/32 detection.
3. Log cleanups and additions for better debugging.
2025-03-08 19:39:55 +01:00
Jasmine Iwanek
a044223362 A few bug fixes according to docs and fw
Also skeleton support for DSP versions
2025-01-09 05:16:30 -05:00
Jasmine Iwanek
3d55d93715 Make sb_dsp_versions more readable 2025-01-08 21:58:45 -05:00
Jasmine Iwanek
1244b61d8b Cleaning 2025-01-08 21:28:30 -05:00
OBattler
c98ad84171 SB: Fix CT1475 even port read and return 0xFF on it and ports 227h and 22Bh which are tested for noise by OS/2 Warp 4.0, fixes the OS/2 Warp 4.0 hang on SB PNP's and AWE 32. 2024-12-25 20:25:25 +01:00
OBattler
025e3b3088 ESS AudioDrive: Fix some mixer register and DSP command readouts to match the probing of real cards, also fixes Windows 3.1 ES688 drivers. 2024-12-07 01:17:36 +01:00
OBattler
2afa424261 Sound Blaster / ESS: DSP reset now properly disables DMA, fixes the OS/2 ESS ES688 driver. 2024-09-22 14:39:50 +02:00
TC1995
a95a0c4518 Remove a useless AND to 0x7f in the SB DSP reset routine in its port 0x0e (Read)
This fixes the audio issue on Zool 2.
2024-09-15 22:13:46 +02:00
OBattler
3e1991390f Sound Blaster DSP: Fix readout in reset state on the AZTech DSP, fixes #4747. 2024-08-24 23:55:51 +02:00
OBattler
6979b6a6c0 Assorted MIDI and MPU-401 intelligent mode fixes, fixes #4419. 2024-08-04 05:13:24 +02:00
OBattler
59c743ed07 Implement ESS activity flags and improve the timed IRQ triggering via SB DSP commands F2 and F3, fixes ESSCFG 2.01C and the LBA 2 ES(1)688 driver. 2024-07-23 03:26:10 +02:00
OBattler
3ccca3991f More moving of SB IRQ's onto a rimer, fixes #1942. 2024-07-22 02:43:24 +02:00
OBattler
78293cffd1 Sound Blaster 16 DSP now correctly uses the 8-bit DMA channel when the 16-bit DMA channel is set to 4, fixes #3101. 2024-07-19 22:00:46 +02:00
OBattler
d4a718cc2f Reading SB DSP port 0Ch now gets the DSP out of the reset state - fixes Inherit the Orb detection of the Sound Blaster Pro. 2024-07-19 20:09:21 +02:00
TC1995
5c222f3f6d Non-ESS SB clones fix:
Add sanity checks to prevent segfaults on non-ESS SB clones using the setirq and setdma8 functions.
2024-05-21 22:44:52 +02:00
OBattler
0561f65592 Sound Blaster: automatic DRQ clearing. 2024-05-17 01:28:16 +02:00
OBattler
d786cf3aa7 ESS AudioDrive: Fix some regressions and implement DRQ setting in compatibility mode, fixes Windows 3.1x ES1688 drivers. 2024-05-12 16:48:43 +02:00
OBattler
2acb11d37c Implemented the Pro Audio Spectrum Plus serial mixer, Pro Audio Spectrum 16 parallel mixer, Pro Audio Spectrum Plus/16 SCSI, ESS ES688, all three ESS PnP AudioDrives, made the wavetables use a separate 44.1 kHz source, and made the Sound Blaster 16 PNP use a proper PNP ROM dump. 2024-05-03 17:02:13 +02:00
OBattler
f63cc093e1 net_modem and sb_dsp: Warning fixes. 2024-03-23 17:22:36 +01:00
Kagamiin~
6c519904fd Cleanup: miscellaneous 2024-03-23 12:23:32 -03:00
Kagamiin~
eb6f4c1118 Fixing compiler warning about parentheses 2024-03-22 23:49:02 -03:00
Kagamiin~
d846a16826 Cleanup: some touch-ups here and there 2024-03-22 23:36:56 -03:00
Kagamiin~
8bfcfec280 Cleanup: clang-format 2024-03-22 23:07:12 -03:00
Kagamiin~
4b93999790 Cleanup: removing a bunch of logging statements 2024-03-22 21:30:23 -03:00
Kagamiin~
56859a9173 Fixing ESPCM 2/2 2024-03-21 12:52:13 -03:00
Kagamiin~
40607b291d Fixing ESPCM 1/2 2024-03-21 12:52:13 -03:00
Kagamiin~
6fc43a8082 Implement ESPCM_4 recording 2024-03-21 12:52:13 -03:00
Kagamiin~
416edcf1a5 Fix: clear espcm_sample_idx upon starting ESPCM DMA 2024-03-21 12:52:13 -03:00
Kagamiin~
9d54a78918 Implement ESPCM_3 decoding 2024-03-21 12:52:13 -03:00
Kagamiin~
e2200f8d75 Add tables for ESPCM_3 mode 2024-03-21 12:52:13 -03:00
Kagamiin~
f4c75226ef Implementing ESPCM decompression (incomplete) 2024-03-21 12:52:13 -03:00
OBattler
7ad48f8d29 Switching filter implementation to use SB16 filters; fixing CD audio volume 2024-03-21 12:52:13 -03:00
Kagamiin~
7c99887293 Implementing ESS DMA counter; handling disable of auto-init while DMA is turned on 2024-03-21 12:52:13 -03:00
OBattler
34be04ab80 Implementing command 0xF2 IRQ masking behavior 2024-03-21 12:52:13 -03:00
Kagamiin~
b59db332f0 Implement registers 0xC2/0xC3; sound now works in Win3.1 2024-03-21 12:52:13 -03:00
Kagamiin~
6d3f2c478b Fix port 388h being disabled erroneously; set filter freq on sample rate change 2024-03-21 12:52:13 -03:00
Kagamiin~
d3aa111ba3 Fix bug in command length override; fix some other stuff; logging galore 2024-03-21 12:52:13 -03:00
Kagamiin~
c76ada30b7 Some cleanup, implementing IRQ and DMA channel register update 2024-03-21 12:52:13 -03:00
Cacodemon345
b8ff131996 More changes 2024-03-21 12:52:13 -03:00
Cacodemon345
f4c2a9c3ac Logging aids 2024-03-21 12:52:13 -03:00
Cacodemon345
0362f563f6 Some fixes 2024-03-21 12:52:13 -03:00
Cacodemon345
2e9e20c078 Deal with edge cases where drivers use non-ESS playback route 2024-03-21 12:52:13 -03:00
Cacodemon345
a2b13cadbf ESS: implement mixer regs and fix ESS-specific DMA 2024-03-21 12:52:13 -03:00
Cacodemon345
dfa0ec6be8 Implement ESS identification mixer register 2024-03-21 12:52:13 -03:00
Cacodemon345
68f6779b2f Handle length reloading correctly 2024-03-21 12:52:13 -03:00
Cacodemon345
650b7e633b Minor fixing 2024-03-21 12:52:13 -03:00
Cacodemon345
d46e00e5a0 Autolen updating 2024-03-21 12:52:13 -03:00
Cacodemon345
e7e582cd74 Finish DSP part of ESS 2024-03-21 12:52:13 -03:00
Cacodemon345
eda528d98c ESS register read function 2024-03-21 12:52:13 -03:00