Commit Graph

1112 Commits

Author SHA1 Message Date
win2kgamer
b65217a3cb AD1816: Right shift master and wave volume values by 1, makes wave output audible on Win3.1 at default volume 2025-12-27 17:17:30 -06:00
win2kgamer
d227bc54bb AD1816: Don't reset playback_pos when sample count is < 0, fixes playback glitches on Win3.1 drivers 2025-12-27 17:10:43 -06:00
win2kgamer
a5733a7ff6 Add the Analog Devices AD1816 audio controller 2025-12-20 18:44:05 -06:00
RichardG867
84733be808 OPTi 82C9xx: Fix capitalization 2025-12-19 19:20:32 -03:00
RichardG867
9c6eccbf5a AC97 Codec: Add the ICE1232/VT1611A codec 2025-12-19 18:01:30 -03:00
Jasmine Iwanek
cb1bb4c861 Correct default base address for Covox voice master Key 2025-12-13 15:17:07 -05:00
win2kgamer
d4788fc2a4 SB DSP: Treat mode/format 36h as an alias for 30h (16-bit stereo signed PCM), fixes PCM audio in Gloriana/Elisabeth I on SB16 and AWE64 2025-12-07 19:49:20 -06:00
win2kgamer
f957b4bb33 Make the Yamaha YMF701/71x use the YMF289B variant of the OPL3 per the YMF-715 datasheet 2025-12-03 17:40:23 -06:00
win2kgamer
3c56968921 Give the OPTi 931 its PnP quaternary IDE controller 2025-12-03 17:37:06 -06:00
vitalik1555
8a6cf0fcc1 Aztech: Fix Missing MPU-401 for Washington 2025-12-02 19:03:11 +04:00
win2kgamer
2f594a1e8f Add the OPTi 82c931 audio controller
All drivers work outside of CDSETUP.SYS from the v2.04 DOS/Win3.1 driver package failing to detect the card. SNDINIT from the same package does work so audio is functional.
2025-11-30 17:51:06 -06:00
Alexander Babikov
089e8daedf AZT2316A: Drop the capitalization in the "CODEC" option 2025-11-26 21:29:14 +05:00
win2kgamer
0ca1a201d7 Add the OPTi 82c930 sound controller 2025-11-23 12:34:00 -06:00
win2kgamer
c81b44fc36 Add basic logging to the OPTi sound code 2025-11-23 12:11:20 -06:00
win2kgamer
ad18e7bd86 Add OPTi 930 WSS codec type 2025-11-23 12:01:23 -06:00
RichardG867
43ca65bf04 AC97 Codec: Devbranch some non-working stuff 2025-11-19 17:15:45 -03:00
RichardG867
48b696581a VIA AC97: Remove some redundant logging 2025-11-16 18:18:29 -03:00
RichardG867
36544160ce VIA AC97: Implement modem and non-primary audio codec support 2025-11-16 01:21:41 -03:00
RichardG867
e8a3057445 AC97 Codec: Fix attenuation on mono controls 2025-11-16 00:56:44 -03:00
RichardG867
a6b442bb6b AC97 Codec: Add Si3036 MC97 codec 2025-11-16 00:50:30 -03:00
RichardG867
0a1464444a AC97 Codec: Rework with modem and proper multi-codec support 2025-11-15 23:45:19 -03:00
RichardG867
fd4d8dc8a0 VIA AC97: Big rework, with proper sharing of audio/modem registers (again) and codec buses 2025-11-15 23:37:27 -03:00
win2kgamer
55d804c493 Aztech: Make WSS Config bit 6 changes set/clear the WSS IRQ based on its value
This behavior satisfies all tested AZT1605/Clinton and AZT2316/Washington drivers allowing the device config "Raise CODEC interrupt" checkbox to be removed
2025-11-10 20:00:39 -06:00
win2kgamer
8d12c46a3a Add a generic discrete CS4232 sound card 2025-10-26 15:49:21 -05:00
win2kgamer
080632bd4a Initial implementation of the Crystal CS4232 audio controller 2025-10-25 22:20:25 -05:00
OBattler
2042ef9257 AD1848: Should be &&, not ||. 2025-10-26 01:59:09 +02:00
richardg867
265cd22510 Remove dash from Yamaha YMF71x [skip ci]
Sources:
https://www.alsa-project.org/files/pub/datasheets/yamaha/YMF711.PDF
https://www.alsa-project.org/files/pub/datasheets/yamaha/YMF715.PDF
https://www.alsa-project.org/files/pub/datasheets/yamaha/3sa3ee.pdf
2025-10-23 11:43:35 -03:00
win2kgamer
429aa7260c CS423x: Add SBPro OPL3 music handler during SBPro init, fixes OPL3 in SBPro context 2025-10-21 20:40:18 -05:00
win2kgamer
755e25285b CS423x: Always enable OPL3 on CS4232/4236 during context switch as they lack X registers 2025-10-21 20:38:21 -05:00
win2kgamer
71fe92daed AD1848: I23 bits 7-1 are read-only on CS4232/4236 non-B, fixes CS4236 non-B detection on Windows 2000 2025-10-21 20:34:09 -05:00
win2kgamer
ceeb2d057d AD1848: I18/I19 directly control FM volume on CS4232/4236 non-B 2025-10-21 20:32:13 -05:00
win2kgamer
52e22e90fc AD1848: I12 bit 4 is read-only, fixes CODEC detection in OS/2 driver 2025-10-21 20:29:46 -05:00
win2kgamer
7ad56f0179 Minor Aztech changes (#6343)
* Switch CD audio and OPL3 filters on AZT2316 mode switch, fixes FM and CD volume control on Windows

* Add support for I/O port 630h (as used on PB Forte16 cards) to the MKE/Panasonic interface
2025-10-14 06:54:00 +02:00
win2kgamer
57b72c8a5c Aztech AZT1605 (Clinton/Nova 16 Extra) fixes (#6325)
* Add missing cpu.h include to fix compile errors when logging is enabled

* SB DSP: Move Aztech variable command length handling to correct if block, fixes EEPROM writing hang in MIXTSR

* SB DSP: Increment RP after unknown Aztech command 0x08 subcommand 0x01 is run, fixes HWSET detection after EMUTSR is run

* Aztech: Give AZT1605 its own read function and only allocate I/O ports in the 62x/64x range

* Aztech: Add logging code

* AZT1605: Implement the SBPro mixer readout ports, fixes scrambled mixer settings in MIXTSR and HWSET

* AZT1605: Restore WSS mixer from EEPROM during init and use sane initial EEPROM mixer values

* Aztech: Always use AUX1 WSS channel for CD audio on AZT1605, fixes CD volume control on Win3.1 drivers

* AZT1605: Filter OPL3 through WSS AUX2 mixer, fixes FM volume control on Win3.1 drivers
2025-10-12 07:08:02 +02:00
OBattler
f922e78b61 Merge branch 'master' of https://github.com/86Box/86Box 2025-09-28 00:44:28 +02:00
OBattler
6ca6afedd5 AdLib Gold: Everything now outputs to the same 48k source in order to avoid noise caused by the YM7128's resampling which is currently tailored to that frequency. 2025-09-28 00:44:01 +02:00
RichardG867
37eb2cb359 AD1848: Use the correct algorithm for CS423x ADPCM
Still has level and DC offset issues, but actual use cases are lacking (all validation was done with ALSA's adpcm conversion plugin)
2025-09-27 16:33:35 -03:00
TC1995
edb7a040bc Some fixes for the AdLib Gold of the day (September 26th, 2025) (#6227)
* AdLib Gold changes of the day (September 23rd, 2025)

1. Make sure the check to the Surround module is properly placed when disabled/enabled.
2. Replace local adgold_buffer with opl_buffer from its struct to improve the audio output and less clipping.

* Some fixes for the AdLib Gold of the day (September 26th, 2025)

1. Revert the sampling DMA int functions back to void but with a check that monitors the DMA FIFO whenever it's within the range or not.
2. Actually clear the IRQ properly.
2025-09-26 21:05:53 +02:00
Miran Grča
ba9c1732f7 Actually, it's 289B. 2025-09-24 01:41:00 +02:00
Miran Grča
d99d052b82 AdLib Gold: Use the YMF289. 2025-09-24 01:16:20 +02:00
OBattler
087a005664 More AdLib Gold fixes. 2025-09-23 20:46:24 +02:00
TC1995
a87bcd410e AdLib Gold changes of the day (September 23rd, 2025) (#6218)
1. Make sure the check to the Surround module is properly placed when disabled/enabled.
2. Replace local adgold_buffer with opl_buffer from its struct to improve the audio output and less clipping.
2025-09-23 19:49:15 +02:00
OBattler
c71811f579 Attempt to halve the output volume. 2025-09-23 19:36:26 +02:00
OBattler
288b6454ee AdLib Gold: Correctly use separate pseudo-stereo X and Y for the two sources. 2025-09-23 17:55:46 +02:00
OBattler
151c3d8730 Fixes to the floppy samples work. 2025-09-22 01:30:11 +02:00
Toni Riikonen
1859e7cf68 Floppy disks sound emulation prototype for reviewing (#6166)
* Initial spindle emulation working for windows atleast

* Spingle motor spin-up, spin-down implemented with smooth transitions to motor-on loop.

* Moved fdd audio emulation to a separate file

* Multiple drives sound emulation

* Single sector movement sound emulations implemented

* Rename project to Immersive86Box and update details

Updated README to reflect the new project name and added details about the Immersive86Box features and future plans.

* Revise contribution guidelines in CONTRIBUTING.md

* Update vulnerability reporting instructions

* System fan-sound next feature after basic fdd sound emulation is ready

* v0.5 multitrack audio seek sfx

* Removed unnecessary stuff

* no .vs folder for git

* Added currently used fdd sound effects and readme.txt for source of the files and intallation instructions

* Add audio emulation installation instructions

Added instructions for audio emulation installation.

* Code and audio samples merged

* Simplify audio emulation installation instructions

* FDC seeking fixed, not instant anymore drive is set to busy during the operation and when it's finished at call fdc to set the appropriate fdc flags.

Also added time logic to fdd to calculate seek duration and a callback function for it.

* FDD sound samples volume control

* Menu options to enable / disable fdd sound for all drives.
DISABLE_FDD_AUDIO definition added, to disable the feature via cmake/build.

* Revert readme etc. changes

* Revert "Revise contribution guidelines in CONTRIBUTING.md"

This reverts commit 98a0478225.

* Revert "Update vulnerability reporting instructions"

This reverts commit 7d32cb659b.

* Fixed merge issue

* Removed excess files

* Fixed PCJr seeking not to break the FDC implementation. Now seeking will take the "correct" amount of time for each system and the seek time is based on the track count. E.g. 40 track FDD system causes 40 track seek time to be 80/40 * 6ms * 40 tracks + 50ms = 480ms + 50ms -> 530ms.

80 track system full seek is 80/80 * 6ms * 80 + 50ms = 530ms, 40 track seek would take 240 + 50 = 290ms.

* Fixed PS/1, PS/2 and PS/55 FDD issues.

* FDD_AUDIO: Updating samples looked in executablePath/samples and if now found there, looks in the executable directory

* Updated installation instructions

* Removed samples path strcat use

* fdd_audio 5.25 samples and support added

* FDD audio timing/volume tunings

* Timing fixes for authentity and special longer timings for PCJr

* Fixed second drive motor keeps running when first drive is only accessed.

* Fixed PCJr random failure issue, timings

* CodeQL fix for load_wav-function. Check the filename to be proper filename

* Revert "Fixed second drive motor keeps running when first drive is only accessed."

This reverts commit 307b173ae7.

* Teac 5.25" drive samples added. Added per drive audio selection to FDD settings.

* Fixed mistake in samples folder recreation

---------

Co-authored-by: Toni Riikonen <domppari@hotmail.com>
2025-09-22 01:03:07 +02:00
Miran Grča
810f17c50f Merge pull request #6192 from 86Box/feature/int-cast
Add integer casting macros
2025-09-22 00:55:49 +02:00
Miran Grča
364468028e Merge pull request #6207 from nstarke/bugfixes/midi-in-sysex-hang
BUGFIX: MIDI In causes VM hang when sysex message received.
2025-09-21 20:05:13 +02:00
nstarke
d087ea2ab5 BUGFIX: MIDI In causes VM hang when sysex message received. This commit fixes the issue. 2025-09-21 11:39:40 -05:00
win2kgamer
8c3e45e691 YMF71x: Call master volume recalc during init 2025-09-21 10:46:27 -05:00