Commit Graph

64 Commits

Author SHA1 Message Date
Jasmine Iwanek
d5d1d5c449 More cleanups to device structs 2025-02-08 01:28:25 -05:00
Jasmine Iwanek
4e6f29a7d5 malloc to calloc 2025-02-01 15:38:36 -05:00
Jasmine Iwanek
39ebf5025a Yet more cleaning in src/sound 2024-12-18 18:43:15 -05:00
OBattler
dc2d3f6bcd MIDI input receive toggle strings. 2024-11-10 05:06:09 +01:00
OBattler
fbc21cdf49 DMA channel -> DMA. 2024-11-10 02:42:01 +01:00
OBattler
32ed6a30d4 Fixed the AdLib Gold regression that were causing noise. 2024-09-25 11:11:52 +02: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
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
Jasmine Iwanek
11a2f5266a More linting in src/sound 2023-08-23 00:18:16 -04:00
Jasmine Iwanek
02e41927e3 Dribs and drabs which have escaped 2023-08-12 13:07:00 -04:00
Jasmine Iwanek
998cfe5cc8 Constification 2023-07-25 17:59:24 -04:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04: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
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
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
OBattler
27ebb27db7 Makefile.mingw corrections and made the code pass much stricter checks (now mandated by Makefile.mignw) to ensure GCC 14 readiness. 2022-11-17 22:44:06 +01:00
Jasmine Iwanek
645732b7bf clang-format in src/sound/ 2022-09-18 17:22:55 -04:00
Adrien Moulin
88a8607255 Merge branch '86Box:master' into ymfm 2022-07-25 21:08:52 +02:00
Adrien Moulin
808337aac3 OPL: add the faster YMFM cores
This refactors the OPL interface in two drivers : Nuked and YMFM
Nuked is used by default, YMFM can be enabled with [Sound] fm_driver = ymfm
2022-07-25 20:24:31 +02:00
TC1995
02874f2ed2 DMA: Implemented autoinit mode in the PS/2 MCA side (although the bit is undocumented in said side, but documented in the ISA/PCI side).
Networking: Added the WD8013EP/A MCA nic, which is more supported than the WD80x3ET/A plus an initial ram size configuration before POS configuration.
Sound: Added the Reply MCA OEM of SB16 with its own MCA POS ID and properly implemented the IRQ's and DMA's of the AdLib Gold in its EEPROM plus an initial configurable setting for them and an initial DRQ implementation into said card.
2022-07-23 23:54:42 +02:00
Jasmine Iwanek
3431e01d4a src/sound 2022-04-12 17:26:07 -04:00
Jasmine Iwanek
c195b348a7 src/sound 2022-03-13 10:03:39 -04:00
Jasmine Iwanek
f7084993c3 Formatting updates in src/sound + related includes 2022-02-25 22:06:27 -05:00
Jasmine Iwanek
4674756664 More newline and whitespace cleanups 2022-02-20 16:26:40 -05:00
OBattler
6f2b93923c A lot of fixes - everything now seems to work properly. 2022-02-03 03:10:06 +01:00
Jess Lovelace
f18615ae87 refactored device_t and all declarations 2022-02-02 16:31:22 -05:00
Jasmine Iwanek
aeaa5d94f6 Adlib Gold default EEPROM Data 2022-01-30 00:45:26 -05:00
Jasmine Iwanek
c40c138af0 Whitespace 2022-01-29 20:56:53 -05:00
TC1995
e6e37d780b Damn git... 2022-01-21 16:48:44 +01:00
TC1995
52ab6b400d Merge branch 'master' into tc1995 2022-01-21 15:51:33 +01:00
Ompronce
89c8212267 Corrected spacing 2022-01-20 17:46:36 -04:00
Ompronce
5218fa0b19 Refined and optimized CD audio filter on AdLib Gold sound card 2022-01-20 17:43:31 -04:00
TC1995
04f40f0199 AdLib Gold changes:
Properly implemented MIDI Out/In.
Changed the ID from 0x50/0x70 to 0x51/0x71 to identify as AdLib Gold 1000.
Added CD Audio volume and filter.
2022-01-20 18:36:37 +01:00
Ompronce
415a98fa15 Added auxillary registers (used for line in and CD audio) to AdLib Gold mixer 2022-01-20 13:12:28 -04:00
Ompronce
0a8b93d58f Fixed incorrect control chip ID of AdLib Gold 2022-01-20 04:49:06 -04:00
Ompronce
e462f03a89 Corrected spacing again 2022-01-19 20:12:11 -04:00
Ompronce
80dda2e18c Corrected spacing 2022-01-19 20:10:39 -04:00
Ompronce
1b74b12cee Added gameport at port 201h to AdLib Gold sound card 2022-01-19 20:07:52 -04:00
TC1995
fe90200eee Added MIDI In/Out to the AdLib Gold as well as a fix to wave out. 2022-01-19 13:38:07 +01:00
David Hrdlička
dfbbe08a07 rewrite the emulator to use UTF-8 internally 2021-03-30 09:46:49 +02:00
OBattler
0faf6692c9 WARNING: CONFIGS MIGHT PARTIALLY BREAK WHERE DEVICE NAMES HAVE CHANGED.
Changes to device_t struct to accomodate the upcoming PCI IRQ arbitration rewrite;
Added device.c/h API to obtain name from the device_t struct;
Significant changes to win/win_settings.c to clean up the code a bit and fix bugs;
Ported all the CPU and AudioPCI commits from PCem;
Added an API call to allow ACPI soft power off to gracefully stop the emulator;
Removed the Siemens PCD-2L from the Dev branch because it now works;
Removed the Socket 5 HP Vectra from the Dev branch because it now works;
Fixed the Compaq Presario and the Micronics Spitfire;
Give the IBM PC330 its own list of 486 CPU so it can have DX2's with CPUID 0x470;
SMM fixes;
Rewrote the SYSENTER, SYSEXIT, SYSCALL, and SYSRET instructions;
Changed IDE reset period to match the specification, fixes #929;
The keyboard input and output ports are now forced in front of the queue when read, fixes a number of bugs, including the AMI Apollo hanging on soft reset;
Added the Intel AN430TX but Dev branched because it does not work;
The network code no longer drops packets if the emulated network card has failed to receive them (eg. when the buffer is full);
Changes to PCI card adding and renamed some PCI slot types, also added proper AGP bridge slot types;
USB UHCI emulation is no longer a stub (still doesn't fully work, but at least Windows XP chk with Debug no longer ASSERT's on it);
Fixed NVR on the the SMC FDC37C932QF and APM variants;
A number of fixes to Intel 4x0 chipsets, including fixing every register of the 440LX and 440EX;
Some ACPI changes.
2020-11-16 00:01:21 +01:00
OBattler
4f3ae96b63 Switched the OPL and NukedOPL code to VARCem's reworked (and cleaner) versions. 2020-07-19 03:24:45 +02:00
OBattler
8732fb3e75 Fixed some MIDI-related crashes and AdLib Gold now writes the correct amount of EEPROM bytes on close. 2020-07-13 20:07:47 +02:00
David Hrdlička
9acb489a1d MSVC and Windows SDK compatibility 2020-04-04 12:45:47 +02:00
David Hrdlička
a505894a10 Move all include files to src/include
- 86Box's own headers go to /86box
- munt's public interface goes to /mt32emu
- all slirp headers go to /slirp (might want to consider using only its public inteface)
- single file headers from other projects go in include root
2020-03-29 19:53:29 +02:00
OBattler
490c04fcae Current WIP code. 2020-02-29 19:12:23 +01:00
OBattler
e44e60c660 Fixed the fourth batch of problems. 2020-01-15 05:24:33 +01:00
OBattler
932ad5595a Fixed the third batch of problems. 2020-01-15 04:58:28 +01:00
OBattler
2fe6ea0e64 Fixed the EEPROM/registers array size mess in the AdLib Gold code. 2020-01-15 00:32:52 +01:00