Commit Graph

12345 Commits

Author SHA1 Message Date
Alexander Babikov
938fa5bde5 Add a correct PnP ROM for the CT4380 SB AWE64
Add a correct PnP ROM for the CT4380 "regular" Sound Blaster AWE64 and
add quarternary IDE to it to match the new ROM
2024-03-01 22:35:59 +05:00
Alexander Babikov
9a67f05a8f Move the Sound Blaster PnP ROM paths to macros 2024-03-01 22:35:59 +05:00
Alexander Babikov
f9ae162e5d Move the EMU8000 ROM path to a macro 2024-03-01 22:35:52 +05:00
OBattler
d77fc47408 E-MU 8000: Update in the correct handler. 2024-03-01 13:46:54 +01:00
OBattler
3727dd9981 SiS 496/497: Implement the reset control bits. 2024-03-01 13:45:23 +01:00
OBattler
45d1e35a7a Fixed E-MU 8000 frequency. 2024-03-01 12:35:59 +01:00
OBattler
046a8655b5 Moved E-MU 8000 handling to the non-music handler. 2024-03-01 12:34:44 +01:00
Miran Grča
689f9b3d8e Merge pull request #4225 from Cacodemon345/patch-168
Fix OPL audio not playing
2024-03-01 12:32:11 +01:00
Cacodemon345
3f04b60e3d memset cd_buf correctly 2024-03-01 16:21:30 +06:00
Cacodemon345
95f95d8481 Fix OPL audio not playing 2024-03-01 15:55:19 +06:00
OBattler
26d0079ab8 Removed a pointless line from chipset/sis5581_h2p.c. 2024-03-01 08:03:10 +01:00
OBattler
742b80c6b3 And another one. 2024-03-01 08:01:36 +01:00
OBattler
c7028f1e35 Fixed some compile-breaking mistakes in sound/openal.c. 2024-03-01 07:13:29 +01:00
OBattler
3b731b37d1 Merge branch 'master' of https://github.com/86Box/86Box 2024-03-01 06:52:56 +01: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
Miran Grča
8cb1dd265b Merge pull request #4215 from kzmidze/master
Update translations
2024-02-29 17:20:13 +01:00
Miran Grča
0c345fd9e8 Merge pull request #4221 from Cacodemon345/patch-167
MGA: Implement X11 hardware cursor
2024-02-29 09:01:20 +01:00
Cacodemon345
fd31aba2a1 MGA: Implement X11 hardware cursor 2024-02-29 13:58:05 +06:00
OBattler
71ecdc1b55 No longer raise TS# when (CS & 0xFFF8) is zero and (CS & 0x0004) is not, fixes #4214. 2024-02-29 06:52:45 +01:00
OBattler
5af0ccd145 Assorted Voodoo and warning fixes. 2024-02-29 06:48:16 +01:00
OBattler
268754faa9 Merge branch 'master' of https://github.com/86Box/86Box 2024-02-29 06:46:45 +01:00
OBattler
901e2568fe Mask out serial passthrough MSR bits when in loopback mode, fixes #4217. 2024-02-29 06:46:37 +01:00
Miran Grča
c2d40a9863 Merge pull request #4218 from Cacodemon345/patch-166
MGA: Move BPLAN handling to the right place
2024-02-28 09:59:47 +01:00
Cacodemon345
9d4f4f0a70 MGA: Move BPLAN handling to the right place 2024-02-28 14:08:55 +06:00
沙沙宮紗夜
fd3b29a5d0 Add files via upload 2024-02-27 20:43:14 +08:00
沙沙宮紗夜
e68b062ca0 Add files via upload 2024-02-27 20:38:04 +08:00
Miran Grča
e95c7a3031 Merge pull request #4213 from Cacodemon345/patch-165
MGA: Implement BPLAN for BITBLT operations
2024-02-27 11:50:30 +01:00
Cacodemon345
0275ff3523 MGA: Implement BPLAN for BITBLT operations 2024-02-27 16:16:06 +06:00
Miran Grča
6aed2455bf Merge pull request #4208 from 86Box/tc1995
S3 80x cursor fixes:
2024-02-25 14:07:32 +01:00
TC1995
c13272ec48 S3 80x cursor fixes:
1. The SPEA specific cards using the 801/5 chip apparently have an ID that's not 0xa0, rather, they either use 0xa2 or greater for the stepping. Fixes wrong colors in 800x600 modes and greater in 8bpp mode.
2. HWCursor addresses for 8bpp are now properly implemented if the 8bpp mode bit (CRTC3a bit 4) is checked, no longer relaying on GDCREG5 bit 6). Fixes garbage cursor in the SPEA 80x cards drivers (BigWin) using 8bpp mode.
2024-02-25 14:06:25 +01:00
Miran Grča
010b5e8dba Merge pull request #4207 from Cacodemon345/s3_virge_gx2_stream_processors
S3 ViRGE/GX2: Fix frozen display when stream processors are enabled
2024-02-25 09:36:07 +01:00
Cacodemon345
a0ef980a2c S3 ViRGE/GX2: Fix frozen display when stream processors are enabled 2024-02-25 14:33:17 +06:00
OBattler
f6c66248e0 Moved the FDC FIFO implementation to fifo.c/h, fixes a few length masking bugs in fifo.c, and fixed FDC MSR register RQM bit behavior in DMA mode, which makes 386BSD work, fixes #530. 2024-02-25 08:13:45 +01:00
Miran Grča
3c854c6e10 Merge pull request #4206 from jriwanek-forks/readme
Updates to README.md adding links to other managers
2024-02-25 00:04:24 +01:00
Jasmine Iwanek
31a5aad0f2 Link to Dungeonseekers github in README.md 2024-02-24 18:01:55 -05:00
Jasmine Iwanek
cf0e4edbb7 Add sl86 to README.md 2024-02-24 18:00:49 -05:00
Jasmine Iwanek
868beac26e Add 86BoxManagerX to README.md 2024-02-24 17:58:58 -05:00
Miran Grča
cd255baae6 Merge pull request #4201 from mystuffs/bswap
bswap.h: fix GCC requirements for bswap* builtins
2024-02-24 22:56:51 +01:00
Miran Grča
c141ef2df9 Merge pull request #4204 from 86Box/tc1995
Temporary solution to a 24bpp issue and hblank.
2024-02-24 22:55:51 +01:00
TC1995
c00e854fce Fix compile.
See above.
2024-02-24 21:52:06 +01:00
TC1995
21230f933e Temporary solution to a 24bpp issue and hblank.
So that 24bpp color is not discolored anymore as well as hblank bugs being nulled.
2024-02-24 21:50:01 +01:00
rilysh
1dfb6fd111 bswap.h: fix GCC requirements for bswap* builtins
1. __builtin_bswap{32,64} were added in GCC 4.3, and __builtin_bswap16
was added in GCC 4.8, however, currently, the GCC requirements in
bswap.h file has >= 10. This requirement of GCC version is false for
bswap* but true for __has_builtin() (as it first was added in GCC 10.1).
As bswap* builtins were added before GCC 10, the preprocessor check will
always going to be true for bswap but will be false if GCC version is
< 10 as __has_builtin() won't be present. Since the byteswap function,
on x86-64, can boil down to a single bswap instruction, this optimization
may left behind (unless GCC do some pattern matching). To avoid this,
just use the compiler macros (for GCC: __GNUC__, clang: __GNUC__ or
__clang__) and if the compiler is neither GCC or Clang, fall-back to
native implementation.

2. Remove the useless casts (uint{16,32,64}_t) from the constants. These
constants already has their own suffix, and casting to a different type
will just get ignored as the return value already gets casts to it's
appropriate type.

3. Previously, Clang couldn't able to use __builtin_bswap* (even if it was
newer) as LLVM define __GNUC__ macro to a specific constant (usually lower
than GCC's (__GNUC__) and on my system it's 4) which is indeed < 10. The
first comment also fixes this issue.

Link: <https://gcc.gnu.org/onlinedocs/gcc-4.3.0/gcc/Other-Builtins.html>
Link: <https://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/Other-Builtins.html>
Link: <https://libc-alpha.sourceware.narkive.com/PfaB4BGP/patch-byteswap-h-fix-gcc-ver-test-for-builtin-bswap32>
2024-02-24 23:19:32 +05:30
Miran Grča
9d78fb7474 Merge pull request #4199 from mystuffs/errno
unix_serial_passthrough.c: check errno for EWOULDBLOCK
2024-02-24 16:23:56 +01:00
Miran Grča
845845cadf Merge pull request #4200 from AsciiWolf/metainfo-fix
Fix AppStream metainfo file
2024-02-24 16:23:39 +01:00
AsciiWolf
52ffbe582f Fix AppStream metainfo file 2024-02-24 14:08:26 +01:00
rilysh
6b435088f9 unix_serial_passthrough.c: check errno for EWOULDBLOCK
plat_serpt_write_vcon(): write() returns how much data it has written
to the file descriptor, and in case an error, it returns -1. So the
EWOULDBLOCK never really triggers, as in the following condition we're
not checking the errno, but the return value of the write() function.
2024-02-24 13:59:14 +05:30
OBattler
1d2f8937b7 SiS 5581 machines are not supposed to support AGP. 2024-02-24 04:57:35 +01:00
Miran Grča
d93bd658be Merge pull request #4198 from Cacodemon345/s3_virge_buffer_fixes
S3 ViRGE: Buffer flips no longer trigger recalctimings
2024-02-23 23:08:44 +01:00
Cacodemon345
b49cd0baf4 S3 ViRGE: Buffer flips no longer trigger recalctimings 2024-02-24 02:51:42 +06:00
OBattler
f417a347a6 Revert the default hard disk format change. 2024-02-23 18:13:52 +01:00