Commit Graph

107 Commits

Author SHA1 Message Date
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
Cacodemon345
3f7fbc7467 Extended mode toggle 2024-03-21 12:52:13 -03:00
Cacodemon345
4369284f65 ESS register 0xA2 update function 2024-03-21 12:52:13 -03:00
Cacodemon345
3f72c788bd ESS bits for IRQ raise 2024-03-21 12:52:13 -03:00
Cacodemon345
97b239aed5 More small pieces of ESS emulation 2024-03-21 12:52:13 -03:00
Cacodemon345
d5dad279c4 ESSreg macro 2024-03-21 12:52:13 -03:00
Cacodemon345
8308f41069 A bit of ESS 2024-03-21 12:52:13 -03:00
OBattler
e0d80aefb4 Moved OPL2 and OPL3 to a new 49716 Hz source so resampling is no longer needed, also fixed SB OPL and PC Speaker filtering (OPL was being downsampled to the selected DSP sample rate, which is incorrect, and the PC Speaker filter was using the wrong filter index in some liens). 2024-03-01 06:52:48 +01:00
OBattler
2f3d5d5fc4 More fixes to mixer register FFh, turns out the lower 3 bits are not a DMA channel, fixes detection of Sound Blaster 16 non-PNP. 2023-10-24 00:28:28 +02:00
OBattler
8b86bd812c Fixed to undocumented Sound Blaster AWE32+ mixer register FFh, now the AWE32 PNP plays sound again. 2023-10-23 01:01:17 +02:00
OBattler
ce603f3719 The fatal() in sound/snd_sb_dsp.c is now a sb_dsp_log(). 2023-10-22 16:43:51 +02:00
OBattler
90e682a339 More ViBRA 16XV fixing - DIAGNOSE 4.05 now successfully sets high DMA. 2023-10-22 00:46:06 +02:00
OBattler
28e2eb3ce5 More Sound Blaster 16+ / ViBRA 16 fixes, added optional PC speaker control via the Sound Blaster 16+ / ViBRA 16, and removed some left-over temporary code from device.c. 2023-10-21 06:53:11 +02:00
OBattler
9c434f4ed0 The ViBRA 16 XV now correctly does 16-bit DMA over 8-bit channels and fixed the DSP versions as well. 2023-10-20 21:02:35 +02:00
Jasmine Iwanek
11a2f5266a More linting in src/sound 2023-08-23 00:18:16 -04:00