Commit Graph

1201 Commits

Author SHA1 Message Date
TC1995
1798b2e51c ATI VGA mode fixes:
1. Fixed 4-bit packed modes.
2. Preparation of fixing the 2-bit modes.
3. Extra: fixed the accelerator mode switches again (Mach8/32 only).
2023-12-27 16:07:03 +01:00
OBattler
c240db50ba Restored some accidentally reverted parentheses. 2023-12-27 15:49:13 +01:00
OBattler
35450fe632 Restored some previously reverted changes. 2023-12-27 15:47:42 +01:00
OBattler
2002f8e34e Fixed the variable's name. 2023-12-27 15:38:43 +01:00
OBattler
a2a180ad8e Merge branch 'master' of https://github.com/86Box/86Box 2023-12-27 15:37:44 +01:00
OBattler
d9a571c179 A small preparation in vid_svga. 2023-12-27 15:37:37 +01:00
Cacodemon345
c597a44c87 Mystique: Make sure dxdiag on D3D 9.0b doesn't crash the emulator on
Win98SE
2023-12-27 14:46:01 +06:00
TC1995
f0f52279c4 Restore correct CGA compatible mode behavior in (S)VGA. 2023-12-27 02:48:55 +01:00
OBattler
7678a86d6c MGA: LUT enable/disable and corrected 15bpp gamma correction. 2023-12-27 02:21:48 +01:00
OBattler
aab48daff7 Fixed the two warnings in video/vid_mga.c. 2023-12-25 13:10:48 +01:00
Cacodemon345
1bd4bbdfa1 MGA: Implement gamma-correction for <= 16 bpp modes 2023-12-25 15:24:52 +06:00
Cacodemon345
278661c41c Mystique: Don't do busmastering until SOFTRAP status is read
MSICUBE sample for Windows 9x no longer freezes the entire VM after a while
2023-12-25 14:05:07 +06:00
Cacodemon345
0eb2b2915e Don't apply to Millennium 2023-12-24 14:22:23 +06:00
Cacodemon345
7701caf231 Mystique: Fix flickering display on Direct3D 2023-12-24 14:18:55 +06:00
Miran Grča
69ae4b4ee7 Merge pull request #3929 from Cacodemon345/mga-busmastering-fixes
MGA: Gamma-correct hardware cursor
2023-12-23 21:29:42 +01:00
Cacodemon345
0a55e75b06 MGA: Gamma-correct hardware cursor 2023-12-24 02:16:51 +06:00
Miran Grča
1f37e27687 Merge pull request #3927 from jriwanek-forks/mystique
Un-dev matrox mystique
2023-12-23 20:49:05 +01:00
Cacodemon345
70d6d5954b MGA: Implement gamma correction for 24+ bpp modes 2023-12-24 01:46:10 +06:00
Jasmine Iwanek
933f402cc9 Un-dev matrox mystique 2023-12-23 13:27:25 -05:00
OBattler
708a700abd Mystique: Made the changes apply only to the Millennium. 2023-12-23 15:27:08 +01:00
TC1995
012527fc4e MGA flicker fixes.
It's time to end the flickers once and for all by making the start address correctly emulated in vblank_start when in power graphics mode.
2023-12-23 15:02:15 +01:00
OBattler
28775d2583 Millennium: Do not ignore the interlace bit. 2023-12-23 14:11:46 +01:00
Cacodemon345
94dfb353c0 Fix NASCAR Racing 1994 regression 2023-12-23 14:21:50 +06:00
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
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
Cacodemon345
2d6ffe081e Matrox Mystique: Force window resizing 2023-12-21 14:40:32 +06:00
Cacodemon345
765a1f524b Fix M3D programs 2023-12-21 02:03:27 +06: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
Cacodemon345
1773ebfbf3 Mystique: SOFTRAP register writes correctly reset the primary DMA channel 2023-12-20 01:38:14 +06: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