Commit Graph

13172 Commits

Author SHA1 Message Date
Jasmine Iwanek
e4ee5d2d01 Update snd_opl_nuked.c 2024-07-15 01:03:15 -04:00
Jasmine Iwanek
c7a268a01e Nuked: ch/chan -> channel 2024-07-15 01:03:14 -04:00
Jasmine Iwanek
2bcfc8e697 Nuked: dev -> chip 2024-07-15 01:03:14 -04:00
Jasmine Iwanek
8cb40b8b68 Nuked: Move stuff out to it's header 2024-07-15 01:03:14 -04:00
Jasmine Iwanek
d3142e7793 More reorganization in snd_opl_nuked.c 2024-07-15 01:03:14 -04:00
Jasmine Iwanek
483fe43fb4 Nuked: Compile fixes
Update snd_opl_nuked.h
2024-07-15 01:03:13 -04:00
Jasmine Iwanek
3c0387bfc1 Nuked: nuked_t -> opl3_chip 2024-07-15 01:03:13 -04:00
Jasmine Iwanek
29d72a82dc Nuked: slot_t -> opl_slot 2024-07-15 01:03:13 -04:00
Jasmine Iwanek
f68e7d3eae Nuked: env -> envelope 2024-07-15 01:03:13 -04:00
Jasmine Iwanek
2f097d2fe6 reorganise snd_opl_nuked.c to closer match upstream 2024-07-15 01:03:12 -04:00
Jasmine Iwanek
56f50f4ebe Fix the envelope generator
Co-Authored-By: nukeykt <alexeytf2@gmail.com>
2024-07-15 01:03:12 -04:00
Jasmine Iwanek
5209e949ad Fixed conflict with Qt because of global "slots" macro
Co-Authored-By: Vitaly Novichkov <6751442+wohlstand@users.noreply.github.com>
Co-Authored-By: nukeykt <alexeytf2@gmail.com>
2024-07-15 01:03:12 -04:00
Jasmine Iwanek
5efc896a44 snd_opl_nuked.c: Fixed the uint64_t comparison issue
UINT64_C macro added because of comparison issues in some cases.

Co-Authored-By: Vitaly Novichkov <6751442+wohlstand@users.noreply.github.com>
Co-Authored-By: nukeykt <alexeytf2@gmail.com>
2024-07-15 01:03:12 -04:00
Jasmine Iwanek
b5b5353d46 Use only unsigned literals inside array index math expressions
Avoids OOBs as detected by UBSan

Co-Authored-By: Evan Ramos <1585791+hendricks266@users.noreply.github.com>
2024-07-15 01:03:11 -04:00
Jasmine Iwanek
0646a322e1 Add 4-channel output support
Co-Authored-By: Kagamiin <kagamiin@riseup.net>
2024-07-15 01:03:11 -04:00
Jasmine Iwanek
e5aa36919b Allow replacement of the sin() function used to populate the panning table
Co-Authored-By: Evan Ramos <1585791+hendricks266@users.noreply.github.com>
2024-07-15 01:03:11 -04:00
Jasmine Iwanek
996e5cc784 Add stereo extension
Co-Authored-By: Evan Ramos <1585791+hendricks266@users.noreply.github.com>
Co-Authored-By: nukeykt <alexeytf2@gmail.com>
2024-07-15 01:03:10 -04:00
Jasmine Iwanek
87cdb6ac28 Add toggle to disable uneven L/R sample timing quirk
Co-Authored-By: Evan Ramos <1585791+hendricks266@users.noreply.github.com>
2024-07-15 01:03:10 -04:00
Jasmine Iwanek
6332fd0b5e Factor slot loop bodies in nuked_generate into process_slot
Co-Authored-By: Evan Ramos <1585791+hendricks266@users.noreply.github.com>
2024-07-15 01:03:10 -04:00
Jasmine Iwanek
e6466c4d25 Unroll accumulator loops
Co-Authored-By: Evan Ramos <1585791+hendricks266@users.noreply.github.com>
2024-07-15 01:03:09 -04:00
Jasmine Iwanek
39e6b0fb2a Factor out repeated structure accesses into local variables
Co-Authored-By: Evan Ramos <1585791+hendricks266@users.noreply.github.com>
2024-07-15 01:03:09 -04:00
Jasmine Iwanek
3bc9d82f67 get rid of left shift
Co-Authored-By: nukeykt <alexeytf2@gmail.com>
2024-07-15 01:03:09 -04:00
Jasmine Iwanek
24b39c9c8f Move stuff around to accomodate nukedopl update 2024-07-15 01:03:09 -04:00
Jasmine Iwanek
4f020f9a83 Update Nuke.YKT's copyright date 2024-07-15 01:03:08 -04:00
Jasmine Iwanek
f4d57a8411 Some formatting in snd_opl_nuked.c 2024-07-15 01:03:08 -04:00
Miran Grča
f57a07b8e8 Merge pull request #4616 from jriwanek-forks/resid-fix
Fix resid warnings, and also explicitly set the C++ version
2024-07-15 03:38:16 +02:00
Jasmine Iwanek
e7989601f9 Fix compile warnings in residfp 2024-07-14 19:09:05 -04:00
Jasmine Iwanek
d455e3dbc0 resid: We support C++14 2024-07-14 18:11:26 -04:00
OBattler
ec4fbc60b4 BT48x sanity checking, fixes #4607. 2024-07-14 23:58:29 +02:00
Miran Grča
ea353f8bea Merge pull request #4615 from jriwanek-forks/residfp-interim
Update residfp to newer build (As of ~2023)
2024-07-14 23:31:26 +02:00
Jasmine Iwanek
40aa577fb4 Update residfp to newer build
Co-Authored-By: Alexander Babikov <2708460+lemondrops@users.noreply.github.com>
2024-07-14 17:16:40 -04:00
Miran Grča
3b60a23338 Merge pull request #4614 from 86Box/tc1995
Compile fix on PVGA.
2024-07-14 20:52:08 +02:00
TC1995
b4e049db7e Compile fix on PVGA.
See above.
2024-07-14 20:51:00 +02:00
Miran Grča
3e829df1e9 Merge pull request #4613 from 86Box/tc1995
SCSI and disk fixes (July 14th, 2024)
2024-07-14 20:46:11 +02:00
TC1995
0a2fa21f06 SCSI and disk fixes (July 14th, 2024)
All: the icon refresh for the respective storage now works properly across all adapters that use it (especially the aha154x compatibles and spock/tribble).
SCSI CD-ROM: The Sony/Texel/DEC SCSI command 0xC0 (Set Address Format) isn't a command that checks for ready status, however, it is for other vendors like NEC, Matsushita, etc. and I am not wishing to create a duplicate command_flags array duplicate just for vendor unique commands. This fixes the MSF bit of Sony/Texel/DEC CD-ROM drives which don't use the Mode Page equivalent.
Toshiba only: attempt to mark the 3201B as a SCSI-1 only CD-ROM drive properly.
2024-07-14 20:42:50 +02:00
Miran Grča
b5a56e4793 Merge pull request #4612 from 86Box/tc1995
PVGA 256 col+ fixes (July 14th, 2024)
2024-07-14 20:29:03 +02:00
TC1995
fcc6b78316 PVGA 256 col+ fixes (July 14th, 2024)
Sometimes 256 color+ would still glitch because the generic way of enabling 8bpp mode is triggered instead. This fixes some stuff that relies on it.
2024-07-14 20:19:51 +02:00
Miran Grča
6c8a645b25 Merge pull request #4611 from indrekis/ne2000_8bit
Initial support for the 8-bit NE2000 compatible boards.
2024-07-14 19:40:25 +02:00
Oleg Farenyuk
234d06c620 Initial support for the 8-bit NE2000 compatible boards. 2024-07-14 05:52:15 +03:00
OBattler
6af3056591 Merge branch 'master' of https://github.com/86Box/86Box 2024-07-14 01:33:13 +02:00
OBattler
1c034a15ed PCjr: Fix overscan. 2024-07-14 01:33:06 +02:00
RichardG867
f247fa84ac gdbstub: Don't reload CS on jump 2024-07-13 19:17:48 -03:00
RichardG867
869b481371 config: Remove ancient Sound Blaster PCI 128 migration path 2024-07-13 19:15:31 -03:00
RichardG867
44be6a0dbf C&T 69000: Fix PCI slot assignment and internal name 2024-07-13 19:14:12 -03:00
Miran Grča
c6a3b701d6 Merge pull request #4610 from cold-brewed/settings-fixes
Settings window fixes on mac and linux
2024-07-13 20:13:40 +02:00
OBattler
fbf1420126 Fix the colors in the PCjr 640x400x2bpp mode. 2024-07-13 18:37:40 +02:00
cold-brewed
eeb8af91f5 qt: Fix settings on mac and linux 2024-07-13 09:30:36 -04:00
Miran Grča
c728f6cbf5 Merge pull request #4606 from jriwanek-forks/memory
Change the AT expansion's default start_address
2024-07-09 00:15:59 +02:00
Jasmine Iwanek
915ddc147f Change the AT expansion's default start_address 2024-07-08 18:02:43 -04:00
Miran Grča
5b553a2a4b Merge pull request #4605 from 86Box/tc1995
Video changes of the day (July 8th, 2024)
2024-07-08 21:28:53 +02:00