Commit Graph

953 Commits

Author SHA1 Message Date
Ben Russell
2a395efbc9 vid_ega: Fix address decoding for Odd/Even modes for the 4bpp gfx renderers
This, combined with the Odd/Even fixes from a previous commit, gets the 64KB 640x350 2bpp modes working correctly.
Relevant issue: #2944
2023-03-20 20:07:39 +00:00
Ben Russell
77ba033fd9 vid_ega: Fix CCLK/2 rendering in 4bpp graphics modes
Required for 64KB-variant 640x350 2bpp modes (BIOS modes 0x0F, 0x10).
This does need some address decoding fixes to break the 16K-word barrier, though - those are coming.
2023-03-20 19:36:38 +00:00
Miran Grča
1484a70ebb Merge pull request #3180 from Cacodemon345/banshee-filter-fix
vid_voodoo_banshee: Extend screen filter buffers to 2048 * 3 bytes
2023-03-07 20:18:18 +01:00
Cacodemon345
03a578708c vid_mga: Make Matrox Millennium multi-monitor compatible 2023-03-07 22:03:04 +06:00
Cacodemon345
8e54488f22 vid_voodoo_banshee: Extend screen filter buffers to 2048 * 3 bytes
Fixes crashes when screen filtering is enabled and AmigaSport V3.0 drivers for Windows XP are used.
2023-03-07 14:30:33 +06:00
Jasmine Iwanek
610401de7a Yet more clang-formatting 2023-02-28 23:53:57 -05:00
Marek Knápek
4248d80040 Port PR#199 from pcem to 86Box.
Source: https://github.com/sarah-walker-pcem/pcem/pull/199
2023-02-19 18:47:43 +01:00
Miran Grča
ad93741b89 Merge pull request #3115 from luennix/infinia7200
Add Toshiba Infinia 7200 (TC430HX OEM) and add TC430HX's on-board S3 ViRGE/DX
2023-02-18 04:44:28 +01:00
luennix
a0d853ff1f Actually implement on-board ViRGE/DX for Infinia 7200 and TC430HX 2023-02-17 22:09:17 +03:00
Cacodemon345
85f38ef7c0 vid_mga: Fix opaque pattern blits 2023-02-17 17:24:04 +06:00
Cacodemon345
68ac52c190 vid_mga: Pattern drawing now works correctly on OS/2 2023-02-17 16:10:06 +06:00
Cacodemon345
2ca0fb3dd2 vid_tvp3026_ramdac: Don't ignore CCR2 and CCR3 bits for Cursor RAM reads/writes
Fixes hardware cursor under Windows 95
2023-02-17 12:39:04 +06:00
Jasmine Iwanek
a7236a9022 Make dual video card code use array 2023-02-06 07:29:18 -05:00
OBattler
b67c3c41e1 Fixed (S)VGA timings, according to tests by Sergi. 2023-02-05 17:16:53 +01:00
Cacodemon345
7898109b66 Add SVGA multi-monitor support
Cirrus Logic CL-GD5436/CL-GD5446 works as secondary video adapters
2023-01-22 16:50:21 +06:00
Cacodemon345
104d21f806 vid_mga: Fix Matrox Mystique MGA modes
Clock selection now works properly
2023-01-12 14:00:10 +06:00
Jasmine Iwanek
1860700eab Fix some small issues 2023-01-07 17:02:23 -05:00
Jasmine Iwanek
a40630ba63 Even more tabs to spaces 2023-01-07 14:09:51 -05:00
Miran Grča
82856fd4f3 Merge pull request #3001 from jriwanek-forks/CodeQL
Fix "Multiplication result converted to larger type" from CodeQL
2022-12-30 04:09:34 +01:00
OBattler
fd82e523a0 Fixed hercules video_process_8() width, fixes #2997. 2022-12-27 05:27:13 +01:00
Jasmine Iwanek
231cadb0a7 Fix Multiplication result converted to larger type from CodeQL 2022-12-23 14:22:17 -05:00
Cacodemon345
d4ed4a57df cl54xx: Device ID remains constant and read only 2022-12-21 15:41:11 +06:00
Cacodemon345
82c9ce1d21 CL-GD5436 leaves GR0 and GR1 untouched 2022-12-21 15:10:19 +06:00
Cacodemon345
261e20ba73 cl54xx: clear GR1 and GR0 when disabling enabled extensions 2022-12-21 14:35:56 +06:00
Cacodemon345
e6a87f3c3f cl54xx: clear only FLAG_EXT_WRITE and FLAG_ADDR_BY16 2022-12-21 11:21:48 +06:00
Jasmine Iwanek
dd3959587b Improve a couple of comments 2022-12-20 19:33:42 -05:00
TC1995
fee8970aab S3: Don't allow 16-bit I/O pixtrans blitting on the first port of the 8-bit I/O handling (e2e8 write), fixes fonts on Unix flavors where affected. 2022-12-04 21:42:34 +01:00
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
Cacodemon345
4a8c3119df banshee: Implement cmdBaseSize0 readback 2022-11-18 11:27:32 +06: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
TC1995
25fdf51637 S3 80x: added 0xe2e8/0xe2e9 ports in MMIO mode, fixes garbled fonts when using MMIO in those chips.
S3 (all): Fixes to the commonly used accel commands (0, 1, 2, 6, 7) to make the OS/2 software cursor to not bug on the left edge of the screen.
TGUI: Reworked the non-bitblt commands as well as the accel pitch and bpp modes.
2022-11-17 17:37:11 +01:00
Jasmine Iwanek
af9f1abf98 Code/Comments cleanup
Tabs to spaces
Whitespace
Normalize clang-format comments
2022-11-13 21:15:58 -05:00
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
TC1995
e0ce67bd7f Fixed LFB access on the VLB front of the TGUI9440AGi.
Fixed Bresenham infinite loop when error term is > 0 alongside CX being 0.
2022-11-13 16:35:30 +01:00
Cacodemon345
49668c27ff voodoo: Account for padding words in CMDFIFO3 2022-11-13 00:04:02 +06:00
Cacodemon345
728d44f979 voodoo: CMDFIFO type 2 is available starting with Voodoo 2 2022-11-12 23:15:57 +06:00
Jasmine Iwanek
b6466ba266 Voodoo3 3500 SI 2022-11-10 18:10:17 -05:00
Jasmine Iwanek
7c2c1e985d Falcon Northwest Voodoo3 3500 SE 2022-11-10 18:10:10 -05:00
Jasmine Iwanek
5a462053fd Compaq Voodoo 3 3500 2022-11-10 18:10:10 -05:00
Jasmine Iwanek
7176d7c66c Velocity 200 AGP 2022-11-10 17:03:13 -05:00
Jasmine Iwanek
381f9d11fc Voodoo 3 3500 TV 2022-11-10 17:03:13 -05:00
Jasmine Iwanek
6f031c34df Voodoo 3 1000 2022-11-10 15:49:20 -05:00
Jasmine Iwanek
ac48f84a23 Cleanups in vid_voodoo_banshee.c 2022-11-10 12:17:24 -05:00
Jasmine Iwanek
6919451ae4 Fix string offsetting 2022-11-09 23:19:17 -05:00
Cacodemon345
7e44372b75 vid_s3_virge: Give FIFO R/W indices the stdatomic.h treatment 2022-11-07 13:11:36 +06:00
Cacodemon345
9c775510df video: Make the rest of the FIFO variables atomic 2022-11-07 13:03:19 +06:00
Jasmine Iwanek
253ca29746 Fix compile error 2022-11-06 18:55:55 -05:00
Jasmine Iwanek
921af7000e Various bits from M&K 2022-11-06 18:54:39 -05:00
Miran Grča
d13faa820e Merge pull request #2819 from jriwanek-forks/warnfixes
More compile warning fixes
2022-11-06 23:57:16 +01:00
OBattler
b2c22c9f4a Added Voodoo Banshee/3 YUV -> 16/24/32-bit RGB blits, fixes #2246. 2022-11-06 23:54:36 +01:00