Commit Graph

62 Commits

Author SHA1 Message Date
Cacodemon345
74368bfe7a Don't include cpu.h in timer.h
Change the name of the define used to indicate SVGA multi-monitor-capable cards
2025-03-06 19:26:11 +06:00
OBattler
2c197000ea Removed the legacy #defines in device.h. 2025-02-14 07:39:21 +01:00
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
463badd613 kB -> KB. 2024-11-19 04:08:21 +01:00
OBattler
09eb050423 More KB -> kB. 2024-11-12 01:45:58 +01:00
OBattler
efc61061a8 KB -> kB. 2024-11-12 01:38:51 +01:00
OBattler
d98e51b7f4 Onboard RAM -> Memory size 2024-11-10 23:49:57 +01:00
OBattler
dc2d3f6bcd MIDI input receive toggle strings. 2024-11-10 05:06:09 +01:00
OBattler
d4bbb523c0 SB MIDI to DSP MIDI. 2024-11-10 02:26:09 +01:00
Jasmine Iwanek
892f066ffa Don't depend on DEV_BRANCH
Allows things to be compiled independently
2024-08-08 20:25:03 -04:00
OBattler
9737a2c800 Added sanity checks to all RAM accesses in the GUS code, fixes #3790. 2023-10-31 21:47:45 +01: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
Jasmine Iwanek
81bb5e564b Better fallthrough annotation macro. 2023-08-09 20:09:36 -04: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
Jasmine Iwanek
d2f42198fd Fix clang build failure 2023-07-26 12:41:18 -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
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
OBattler
49f4b2c8fb AudioPCI and GUS. 2022-07-16 02:52:50 +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
Jasmine Iwanek
63066a9084 Preliminary SB AWE64 Value and Standard, also, correct memory sizes
Also add 2MB option for AWE64 Value and Standard.

People sometimes removed the onboard RAM and replaced it with a 2MB chip.
2022-02-12 21:35:19 -05:00
Jess Lovelace
f18615ae87 refactored device_t and all declarations 2022-02-02 16:31:22 -05:00
ts-korhonen
e9332cf670 Fixes for midi input
- Fix buffer overflow in midi input messages
- Detect sysex messages by starting byte instead of length
2022-01-07 10:01:57 +01:00
Ompronce
ce4814c2a0 Prevent the selection of certain sound cards on machines without ISA or ISA16 2021-10-25 16:19:31 -04:00
TC1995
fee0ea1d24 Ported the x87 fix from the other emulator as well as the GUS one.
Fixed 15bpp mode in all cards.
2021-05-30 22:07:22 +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
GH Cao
2c29f63a9d snd_gus: Fix filename case for building on Linux. 2020-06-11 02:42:58 +08:00
Altheos
871c01f153 Preliminary GUS MAX support 2020-06-06 21:35:03 +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
TC1995
eb9812645e Fixed the GUS and added configuration addresses and OPL for the WSS ISA card. 2020-01-20 14:07:24 +01:00
OBattler
0cb2fa034c Fixed some bugs and warnings, and cleaned-up and reworked the MIDI input stuff so that MIDI input can go to multiple devices at a time (each device allows configuring, whether or not it should receive MIDI input), and fixed MIDI input on the Sound Blaster 16/AWE32's built-in MPU-401. 2020-01-19 05:45:05 +01:00
OBattler
a2867e6978 Added fall-through comments to several fall-throughs. 2020-01-15 02:43:25 +01:00
OBattler
4b7401c3b5 Merge branch 'feature/midi_in' into gus 2020-01-12 18:51:35 +01:00
TC1995
e0be29af06 Fixed GUS MIDI Out. 2020-01-10 12:33:20 +01:00
Altheos
219afed4df Rebase on upstream midi_in branch 2020-01-10 10:49:59 +01:00
TC1995
405030abd4 Made MIDI Input reset properly with midi data set to 0xaa (required by the GUS Installation MIDI IRQ tests) and initialize with data set to 0x00 when a master reset is not used (required by midi input from Sound Club). 2020-01-10 01:13:38 +01:00
Altheos
1649430bce Merge branch 'feature/midi_in' of https://github.com/86Box/86Box into gus 2020-01-08 18:52:16 +01:00
Altheos
3bdec705e5 GUS soundcard improvements :
IO address flexibility
256kb, 512kb or 1Mb total memory variant
2020-01-08 18:26:24 +01:00
TC1995
bb4e4e10c3 Added Gravis Ultrasound MIDI Input. 2020-01-08 17:11:13 +01:00