Commit Graph

9943 Commits

Author SHA1 Message Date
Cacodemon345
7bba9cee78 Matrox Mystique: Fix display flickering issues for real
Direct3D tests under Windows 95 do not flicker anymore, and the MSICUBE sample program renders correctly.
2023-12-23 14:03:18 +06:00
OBattler
539f9a06a5 Mystique: Disable line compare, turns out it was disabled for a reason. 2023-12-22 23:21:57 +01:00
OBattler
ede2ce9102 And reverted it again. 2023-12-22 23:12:25 +01:00
OBattler
f1f6ac2752 Merge branch 'master' of https://github.com/86Box/86Box 2023-12-22 23:11:38 +01:00
OBattler
ad6ddfb31e Mystique and Millennium: Revert the ma change. 2023-12-22 23:11:24 +01:00
TC1995
524fd30c0c ATI Mach8/32 fixes regarding 1992 ATI Ultra drivers for Windows 3.1x:
1. For some reason, background colors were always black under those drivers in 8bpp mode, added a tweak to fix it (as well as Clock colors).
2. Likewise for the red scrolling in pbrush or write, added a tweak to its bitblt read mask.
3. Don't call svga_recalctimings in the hdisp/vdisp ports directly, fixes screen size on said drivers without affecting other stuff.
2023-12-22 19:43:51 +01:00
TC1995
bf52c1172b EGA:
Implement PEL panning per hardware features.
2023-12-22 19:29:42 +01:00
OBattler
816bc6f559 Mystique: Only update maback, the change will take place at the next retrace. 2023-12-22 11:45:46 +01:00
Miran Grča
799a9aa883 Merge pull request #3921 from Cacodemon345/patch-147
mystique_line_compare: Re-enable line compare behaviour
2023-12-22 11:31:35 +01:00
Cacodemon345
6b7cb3a0d4 mystique_line_compare: Return 1
Reduces glitches on M3D, although it doesn't eliminate it completely
2023-12-22 15:14:53 +06:00
Cacodemon345
9ca9abebf4 MGA: Don't reset screen size every recalctimings
Fixes intense resizing.
2023-12-22 14:01:26 +06:00
OBattler
e469861d2b And finally, ACPI. 2023-12-21 15:06:56 +01:00
OBattler
72cb0bedd0 And QT. 2023-12-21 15:06:04 +01:00
OBattler
011d4b50ec Minor pause changes. 2023-12-21 15:05:15 +01:00
TC1995
082337a381 Don't call svga_recalctimings() on MGA's port 0x3df, fixes Debian Woody's matroxfb screen test. 2023-12-21 13:36:46 +01:00
Miran Grča
77afa07960 Merge pull request #3918 from Cacodemon345/mga-busmastering-fixes
Matrox Mystique: Force window resizing
2023-12-21 11:02:19 +01:00
Cacodemon345
2d6ffe081e Matrox Mystique: Force window resizing 2023-12-21 14:40:32 +06:00
Miran Grča
c887df8509 Merge pull request #3916 from Cacodemon345/mga-busmastering-fixes
Fix M3D programs
2023-12-20 21:05:21 +01:00
Cacodemon345
765a1f524b Fix M3D programs 2023-12-21 02:03:27 +06:00
OBattler
f1ca1a2b68 Merge branch 'master' of https://github.com/86Box/86Box 2023-12-20 20:50:00 +01:00
OBattler
04103ee9b1 Made the RTL8139 use the same 93x6 EEPROM implementation as the DEC Tulip's, also cleaned up the I/O and memory access handlers a bit. 2023-12-20 20:49:51 +01:00
Alexander Babikov
fdae410884 qt: Set the .desktop file name on *nix
May fix generic icon instead of 86Box's icon showing up on Wayland
2023-12-20 20:18:51 +05:00
Alexander Babikov
aabbad31d8 qt: Set the window icon per-application, instead of per-window 2023-12-20 20:18:50 +05:00
Miran Grča
69d38811a6 Merge pull request #3914 from Cacodemon345/mga-busmastering-fixes
MGA: More Mystique busmastering fixes
2023-12-20 11:25:18 +01:00
Cacodemon345
7a8fe414c5 MGA: 3D busmastering now works (albeit slowly) 2023-12-20 16:24:04 +06:00
Cacodemon345
bf30678d5f MGA: More Mystique busmastering fixes
* Use mutex locking when reporting SOFTRAPEN
* IEN register now correctly returns values it currently holds
* Restore VLINEPEN interrupt
2023-12-20 13:48:45 +06:00
Miran Grča
0fed169ecf Merge pull request #3912 from Cacodemon345/mga-busmastering-fixes
Mystique: SOFTRAP register writes correctly reset the primary DMA channel
2023-12-19 20:49:25 +01:00
Cacodemon345
1773ebfbf3 Mystique: SOFTRAP register writes correctly reset the primary DMA channel 2023-12-20 01:38:14 +06:00
OBattler
1201b52890 Fixed the RTL8139 MAC address. 2023-12-19 20:09:00 +01:00
OBattler
c64748ca6c Slight RTL8139 mapping fixes, now Windows 2000 pings correctly, but still all 00's MAC address. 2023-12-19 20:02:07 +01:00
OBattler
7495c2537b Fixed a warning in video/vid_ati18800.c. 2023-12-19 19:32:23 +01:00
TC1995
d38ad2eb23 ATI EGA Wonder 800+ fixes.
1. Reverted the migration from ATI 18800 as the EGA code had the proper palette.
2. Add support for the 800x600 resolution required by said card.
2023-12-19 19:03:54 +01:00
Miran Grča
3f498ea8e0 Merge pull request #3910 from 86Box/tc1995
More MGA fixes.
2023-12-19 18:51:46 +01:00
Miran Grča
06df42cacd Merge pull request #3909 from Cacodemon345/mga-busmastering-fixes
Matrox Mystique: Attempt fixing 3D busmastered drawing
2023-12-19 18:51:33 +01:00
Miran Grča
71d6a7ff23 Merge pull request #3906 from iamgreaser/gm/t64v2-revision-id
Report correct S3 Trio64V2/DX revision ID
2023-12-19 18:51:17 +01:00
TC1995
1e71efc5bb More MGA fixes.
Re-introduced the mystique read/write linear functions but with a check (!svga->fast) in the byte ones to make sure the generic svga linear functions are enabled when needed, this should keep compatibility stable while also fixing the amount of memory of NT 4.0's MGA Millennium drivers.
2023-12-19 18:48:49 +01:00
Cacodemon345
8226a5e39c Matrox Mystique: Attempt fixing 3D busmastered drawing
NT 4.0's OpenGL screensavers only display one frame before freezing the system
2023-12-19 16:27:05 +06:00
Miran Grča
3a0e75d6d7 Merge pull request #3908 from Cacodemon345/mga-busmastering-fixes
Matrox Mystique: Make it work under Windows NT 4.0 for real
2023-12-19 09:17:29 +01:00
Cacodemon345
3a5bbe9ad3 vid_mga: Busmastering works properly now 2023-12-19 13:46:27 +06:00
Cacodemon345
1f91c0e2ec More work on busmastering
NT 4.0 freezes as of now. No idea, although the data aren't filled with total nonsense anymore
2023-12-19 12:59:18 +06:00
Cacodemon345
3ba6e337c5 Revert "MGA: Count for cases where DMA header data is not immediately available"
This reverts commit efe9784aad.
2023-12-19 12:02:58 +06:00
Cacodemon345
efe9784aad MGA: Count for cases where DMA header data is not immediately available
Fixes crashes on NT 4.0
2023-12-19 11:42:01 +06:00
GreaseMonkey
0bd67a1bc4 Report correct S3 Trio64V2/DX revision ID
Doesn't seem to affect much, but we might as well fix it.
2023-12-19 13:11:01 +13:00
TC1995
6eb05e14d5 ATI EGA Wonder 800+ and 18800 refactoring:
1. Proper cleanup of the code.
2. Migrate the card in question to the VGA class list as it's actually a rebadged VGA Edge (thus 18800).
3. Some VGA only features are not supported on this card and are documented in the recalctimings.
2023-12-18 23:43:37 +01:00
Alexander Babikov
bf1f425267 prt_escp.c: Try to use courier.ttf if dotmatrix.ttf is missing 2023-12-19 03:14:45 +05:00
Alexander Babikov
ff446fab9b prt_escp.c: Fall back to roman.ttf instead of dotmatrix.ttf for unhandled typefaces 2023-12-19 03:14:45 +05:00
OBattler
46c5f9c0cc Added a missing sanity check to device/isapnp.c, fixes crash with ISA PnP sound cards on the PB520R. 2023-12-18 22:33:15 +01:00
Cacodemon345
111b623811 Fix logical error 2023-12-19 03:00:54 +06:00
Cacodemon345
12d5d6c260 Matrox Mystique: Bus-mastering fixes
* Make all bus-mastering-related variables atomic
* Do not, under any circumstances, attempt to read beyond PRIMEND and SECEND

This allows NT 4.0's Mystique drivers to work with busmastering enabled.
2023-12-19 02:18:08 +06:00
RichardG867
313bf84b04 i2c_eeprom: Random cleanups 2023-12-18 15:42:24 -03:00