Commit Graph

12418 Commits

Author SHA1 Message Date
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
OBattler
25203be56a Change the default hard disk image format to fixed-size VHD. 2024-02-23 17:35:54 +01:00
OBattler
2e482bf560 Merge branch 'master' of https://github.com/86Box/86Box 2024-02-23 17:02:50 +01:00
OBattler
9124e8165b Removed the incorrect usage of CRTC register 3 bits 5 and 6. 2024-02-23 17:02:42 +01:00
Miran Grča
89eeb6af39 Merge pull request #4195 from Cacodemon345/patch-164
S3 ViRGE: a bit of cleanup
2024-02-23 16:52:39 +01:00
Miran Grča
8145b96243 Merge pull request #4197 from cartifanwlr/s3fix
Fix the internal name of the S3 Trio64V+ VLB
2024-02-23 16:52:08 +01:00
cartifanwlr
c57dfed4e7 Fix the internal name of the S3 Trio64V+ VLB 2024-02-23 18:41:41 +03:00
Cacodemon345
181ffbcffb S3 ViRGE: a bit of cleanup 2024-02-23 20:47:27 +06:00
Miran Grča
78ff7f4253 Merge pull request #4194 from Cacodemon345/patch-163
S3 ViRGE/GX2: Fix screen overlay staying on Windows XP
2024-02-23 12:32:39 +01:00
Cacodemon345
45dff17d58 S3 ViRGE/GX2: Fix screen overlay staying on Windows XP 2024-02-23 16:25:50 +06:00
Miran Grča
b0e7cbc86f Merge pull request #4193 from Cacodemon345/patch-162
S3 ViRGE: Respect blend control compose modes on pre-GX2 ViRGE
2024-02-23 11:06:38 +01:00
Cacodemon345
a893aba1ca S3 ViRGE: Respect blend control compose modes on pre-GX2 ViRGE
Fixes video overlay staying on-screen on Linux.
2024-02-23 14:27:26 +06:00
OBattler
b55c7b91dd The forgotten version bumped files. 2024-02-23 07:23:52 +01:00
OBattler
5c1cdb3c45 Bump version to 4.1.1. 2024-02-23 07:13:02 +01:00
OBattler
6de7c7cd5e Fixed LOCK legality with prefixes, closes #4189. 2024-02-23 07:10:15 +01:00
OBattler
4ee4e8f2b7 Fixed the flags and classification of some SiS machines, closes #4192. 2024-02-23 06:41:02 +01:00
Miran Grča
b728172edc Merge pull request #4190 from 86Box/tc1995
Video related changes:
2024-02-22 13:36:52 +01:00
TC1995
46fbb3bb9e Video related changes:
IBM/ATI 8514/A side:
Made mode switches more immediate when actually switching from VGA to 8514/A and viceversa.

Tseng ET4000AX/W32 series side:
Actually use bit 2 of index 0x3f for the horizontal blank start bit 8 instead of bit 4 (horizontal retrace start), fixes skew issues with the et4000w32i rev B. card with resolutions like 1024x768 at 15 or 16bpp and others.
2024-02-22 13:35:04 +01:00
OBattler
2fe92a2f26 Fixed a typo in chipset/umc_8890.c. 2024-02-22 12:22:07 +01:00
OBattler
8cf8ccf3b3 Added the STB PowerGraph 64 Video (S3 Trio64V+ VLB). 2024-02-22 01:08:21 +01:00
OBattler
fcabd353d9 Check IOPL on 286 task segments. 2024-02-22 00:56:28 +01:00
OBattler
58a0c840c1 Added SiS 550x, 558x, 559x, (5)600, UMC UM8890, UMC UM8663 Super I/O Chips, UMC UM8673F and Winbond W83769F IDE Contollers, and a number of machines, and fixes to the UM888x 486 chipset. 2024-02-22 00:52:20 +01:00
Miran Grča
c902282dbf Merge pull request #4182 from Cacodemon345/chips_69000_black_cursor_64x64_fix
C&T 69000: DPMS
2024-02-20 22:42:00 +01:00
Cacodemon345
1b5d84f366 C&T 69000: DPMS
Also draw black overscan when monitor is turned off via DPMS.
2024-02-21 02:25:40 +06:00
Miran Grča
3f65aedc58 Merge pull request #4181 from Cacodemon345/chips_69000_black_cursor_64x64_fix
C&T 69000: Fix black cursor on Red Hat Linux 8
2024-02-20 20:45:42 +01:00
Cacodemon345
80adef5ee6 C&T 69000: Fix black cursor on Red Hat Linux 8 2024-02-21 01:43:36 +06:00
Miran Grča
49b7c6140c Merge pull request #4180 from 86Box/tc1995
TVP3026: remove excess logs.
2024-02-20 19:57:17 +01:00
TC1995
8b4fb1b2ab TVP3026: remove excess logs.
See above.
2024-02-20 19:11:47 +01:00