Commit Graph

625 Commits

Author SHA1 Message Date
OBattler
2b14fc7baa Removed the ability toggle between 16-bit and 8-bit DMA modes - evidently I was wrong about the existence of that ability and the purpose of those bits on the register FFh, fixes 16-bit audio in some instances on Windows 9x. 2023-11-02 04:26:17 +01:00
OBattler
9737a2c800 Added sanity checks to all RAM accesses in the GUS code, fixes #3790. 2023-10-31 21:47:45 +01:00
OBattler
26d9fa4daa Sane defaults for mixer register FFh. 2023-10-24 02:34:50 +02: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
5305247d95 Removed the fatal from snd_sb.c. 2023-10-22 07:30:19 +02:00
OBattler
fe5bb72766 Mixer registers 12h to 1Eh. 2023-10-22 06:54:58 +02:00
OBattler
f2802c63e9 CT1745 mixer register 10h read. 2023-10-22 06:04:49 +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
3ef9941ba6 Added read for register 0C. 2023-10-21 22:01:55 +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
TC1995
9c847949f6 Attempt to fix the AdLib Gold DMA when no data is available while sampling and reverted the timer_on_auto to timer_advance_u64 to make the PCM wave sound correctly. 2023-10-20 20:57:53 +02:00
OBattler
7013949310 Made sure the dummy "None"/"Internal" devices never get initialized and fixed some PCI AGP bridge mess (including AGP-less 440BX/ZX/GX erroneously initializing the 440LX/EX AGP bridge), fixes #3696. 2023-10-14 06:45:45 +02:00
OBattler
5eb0db0aae Fixed the YMF278B device internal name, reported by Ompronce. 2023-10-14 03:52:28 +02:00
richardg867
49e7ee8adc snd_sb: Naming consistency on the new cards 2023-10-11 20:54:06 -03:00
OBattler
f2848b841e Fixed the E-MU 8000 ROM path. 2023-10-10 16:25:12 +02:00
OBattler
11fd308d65 Fixed YMF289B and YMF278B output sample rates to 48 kHz to match the emulator's output sample rate. 2023-10-10 04:39:25 +02:00
OBattler
4e03753a6c Creative ROM's are now in their own directory. 2023-10-10 03:38:39 +02:00
OBattler
60feee01f4 More OPL4 fixes. 2023-10-10 03:37:02 +02:00
OBattler
d00d39b9e8 Do not attempt to initialize the on-board Vibra 16C if its PnP rom is not present 2023-10-10 00:22:40 +02:00
OBattler
66e334757e The Vibra 16C is now correctly PnP and added standalone Vibra 16S, 16XV, and 16C, as well as Intel CU430HX, the non-OEM version of the Toshiba Equium 5200. 2023-10-10 00:18:13 +02:00
OBattler
dd5be819eb YMFM fixes. 2023-10-09 20:14:28 +02:00
OBattler
ba369d37c9 The Endeavor's on-board Vibra 16S now correctly has the YMF289B and also fixed the frequencies of YMF289B and YMF278B. 2023-10-09 03:47:54 +02:00
OBattler
57375db3bd More fixes. 2023-10-08 18:15:27 +02:00
OBattler
881579f15a Last machines and more fixes. 2023-10-08 06:11:32 +02:00
OBattler
684a842699 Some fixes, Socket 7 3 V, and the on-board Vibra 16S. 2023-10-08 05:21:12 +02:00
OBattler
3d49b3b036 Switched Sound Blaster IDE from tertiary to quaternary. 2023-10-05 03:42:26 +02:00
Alexander Babikov
f7bd0afbac Dev branch: Fix the GUS MAX's CS4231 using the wrong DMA channel 2023-09-16 23:53:40 +05:00
Alexander Babikov
ce8b1c4c81 Dev branch: Fix the GUS type selector not working 2023-08-31 06:19:58 +05:00
Alexander Babikov
e6e8784769 Revert the GUS to use edge-triggered IRQs
Fixes #3645
2023-08-31 06:19:58 +05:00
OBattler
3039f8449f Fixed GUS IRQ handling if normal and MIDI IRQ's are the same. 2023-08-30 18:46:23 +02:00
Jasmine Iwanek
11a2f5266a More linting in src/sound 2023-08-23 00:18:16 -04:00
OBattler
975ae1f005 Fixed some MPU-401 bugs, including the IRQ being cleared where it should not have been, fixes the music on Princess Maker 2, fixes #3233. 2023-08-18 16:39:26 +02:00
Jasmine Iwanek
bd6508350b Yet more tabs to spaces 2023-08-15 13:28:04 -04:00
OBattler
b203b28350 Assorted copyright header fixes. 2023-08-14 21:51:47 +02:00
Jasmine Iwanek
02e41927e3 Dribs and drabs which have escaped 2023-08-12 13:07:00 -04:00
cold-brewed
bff9eea9ae More sprintf and warning cleanup (#3540)
Co-authored-by: cold-brewed <cold-brewed@users.noreply.github.com>
2023-08-11 16:34:06 -03:00
cold-brewed
0e37602fe7 ymfm: Clean up numerous warnings (#3539)
Co-authored-by: cold-brewed <cold-brewed@users.noreply.github.com>
2023-08-11 15:24:05 -03:00
Jasmine Iwanek
81bb5e564b Better fallthrough annotation macro. 2023-08-09 20:09:36 -04:00
OBattler
ce5e21f870 More warning and compile fixes. 2023-08-08 15:38:40 +02:00
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