Commit Graph

583 Commits

Author SHA1 Message Date
OBattler
c30d5d90b7 PCI and IRQ rework, pci.c rewritten from ground up, fixes numerous issues such as the bridge being added when the number of normal PCI devices equals the number of normal PCI slots, Windows 95 PCI operation on Intel 430NX, sharing of PCI IRQ's with non-PCI level-triggered devices, having both configuration mechanisms operating at the same time (ALi M1435), etc., and makes the code much more readable. 2023-08-07 03:04:52 +02:00
RichardG867
b41acd86ba AudioPCI: Fix warning 2023-07-31 11:36:39 -03:00
RichardG867
9b53d8e6bd Merge branch 'master' of ssh://github.com/86Box/86Box 2023-07-30 20:18:50 -03:00
RichardG867
b692397516 AudioPCI: Change default register values to match actual ES1371 hardware 2023-07-30 20:18:42 -03:00
Jasmine Iwanek
d2f42198fd Fix clang build failure 2023-07-26 12:41:18 -04:00
Jasmine Iwanek
998cfe5cc8 Constification 2023-07-25 17:59:24 -04:00
Jasmine Iwanek
db66543959 Apple build fix 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04:00
RichardG867
4218b999e4 AudioPCI: Fix unterminated codec list 2023-07-22 16:49:24 -03:00
RichardG867
9f48f49ae3 AudioPCI: Limit codec selection to actual ES1371 cards 2023-07-22 14:56:26 -03:00
RichardG867
8c2c3ac9d3 AC97: Overhaul data structures and codec finding system 2023-07-22 14:55:25 -03:00
RichardG867
d8229b6567 AC97: Add TR28023/CT1297 codec
# Conflicts:
#	src/include/86box/snd_ac97.h
2023-07-22 13:08:22 -03:00
RichardG867
78c33471b5 AudioPCI: Remove 4-channel codec from selection (only available as CT5880) 2023-07-21 21:40:29 -03:00
RichardG867
6b965a5379 Merge branch 'master' of ssh://github.com/86Box/86Box 2023-07-21 21:39:41 -03:00
Jasmine Iwanek
6732c44c89 Fix reported issue 2023-07-21 17:32:22 -04:00
RichardG867
80bc465bf3 WSS: Fix warning 2023-07-21 16:02:01 -03:00
Jasmine Iwanek
54c52fb55c Fix several instances of uninitialized variables. 2023-07-21 13:46:08 -04:00
OBattler
223ec09168 Added a forgotten semicolon. 2023-07-21 14:56:35 +02:00
OBattler
f266d87524 Merge branch 'master' of https://github.com/86Box/86Box 2023-07-21 13:24:09 +02:00
OBattler
08da777e84 The WSS get buffer function now correctly ignores OPL if OPL is disabled. 2023-07-21 13:23:59 +02:00
RichardG867
c5b50fabf0 AudioPCI: Fix GPIO quirk for returning back to ES1371 revision ID 2023-07-20 21:59:26 -03:00
RichardG867
7ee9492763 AudioPCI: Fix nonsensical read masking on interrupt status register 2023-07-20 20:28:19 -03:00
TC1995
1bd872d43a AdLib Gold: corrected (more or less) the timer period to allow the sound card to behave more normally instead of locking up the emulator in certain instances (e.g.: jukebox of the card's DOS utilities). 2023-07-14 20:40:09 +02:00
Alexander Babikov
c6b0c9f2e8 midi_fluidsynth.c: Adjust the config defaults and limits to be in line with (latest) FluidSynth defaults 2023-07-13 04:38:58 +05:00
Alexander Babikov
908108b6ef midi_fluidsynth.c: Don't use API functions deprecated in FluidSynth v2.2.0 if building with v2.2.0 or later 2023-07-13 04:38:55 +05:00
Alexander Babikov
8d07acd0b5 midi_fluidsynth.c: minor cleanup
Remove unneeded #includes, unused #defines, use proper types for FluidSynth-specific structs
2023-07-13 03:20:26 +05:00
RichardG867
2652dc8215 Jenkins: Fix Linux build 2023-07-10 23:14:17 -03:00
RichardG867
4ecfdb4834 midi: Switch to dynamic fluidsynth 2023-07-08 13:49:02 -03:00
Jasmine Iwanek
922c4335ae Next round of sonarlint cleanups 2023-06-27 21:17:13 -04:00
OBattler
ef0c04ae3a Fixed a memory leak in sound/snd_ac97_codec.c. 2023-06-19 00:09:24 +02:00
Jasmine Iwanek
d1127e68fa Even more sonarlint work 2023-06-04 23:39:14 -04:00
Jasmine Iwanek
ed1b369abd Yet more sonarlint fixes 2023-05-29 06:21:17 -04:00
Jasmine Iwanek
927c26f496 Fix some variant type comparisons 2023-05-02 02:18:17 -04:00
RichardG867
fb8ef3e40c ini: Constify parameters to optimize execution 2023-04-18 16:14:44 -03:00
cold-brewed
7bc213a954 macOS: Bundle fluidsynth and ghostscript (#3250)
* macOS: Build fixes for fluidsynth and ghostscript to ensure they get detected and bundled. Add required packages for build.

* macOS: Don't link against fluidsynth and only bundle if detected.

---------

Co-authored-by: cold-brewed <cold-brewed@users.noreply.github.com>
2023-04-14 14:48:14 -03:00
Jasmine Iwanek
8967df23c2 Update ymfm to latest upstream 2023-04-11 17:53:58 -04:00
RichardG867
b941a5b99c VIA AC97: Correct DMA behavior when FLAG bit is set 2023-03-25 20:13:51 -03:00
RichardG867
92dd28efc1 VIA PIPC/AC97: Fixed and enabled software FM mode 2023-03-24 20:53:39 -03:00
Jasmine Iwanek
e39dde3413 Magic numbers for sound freq changed to defines 2023-03-01 03:00:47 -05:00
Jasmine Iwanek
610401de7a Yet more clang-formatting 2023-02-28 23:53:57 -05:00
Jasmine Iwanek
5f04b29e8f Support up to 4 sound cards 2023-02-02 03:29:38 -05:00
Miran Grča
43acec9630 Merge pull request #3021 from jriwanek-forks/formatting
Apply most of the remaining formatting changes
2023-01-07 23:16:27 +01:00
Jasmine Iwanek
1860700eab Fix some small issues 2023-01-07 17:02:23 -05:00
Cacodemon345
8a37572220 snd_optimc: IRQs of 12, 14 and 15 are actually used 2023-01-07 16:55:55 +06:00
Jasmine Iwanek
ecd7694006 Fix more warnings 2022-12-28 14:01:09 -05:00
Cacodemon345
533004490a Backport commit e1e3475bd482e3350a2ec442a0a9fda8ba5cff06 from PCem 2022-12-21 23:31:06 +06:00
Ompronce
07857b7fd1 Minor changes to OPTi 82C929A emulation
Corrected bug introduced by earlier pull request which broke WSS audio in Windows.
2022-12-12 21:18:06 -04:00
Ompronce
c6de006c24 Minor changes to OPTi 82C929A emulation
Corrected typographical error in code at line 43
2022-12-12 12:36:16 -04:00
Ompronce
4e4e3864bf Minor changes to OPTi 82C929A emulation
Solves the issue of the power-on IRQ being 7 instead of 5, and removes the unused NVR reference (these cards don't have an EEPROM on board), as well as using the correct WSS IRQ ranges.
2022-12-11 15:38:37 -04:00
OBattler
f14535b389 There's no need for MC6 readout to be a special case, given that it neatly fits in with the prceding 4 cases. 2022-11-28 15:17:16 +01:00