Commit Graph

1214 Commits

Author SHA1 Message Date
Cacodemon345
dddf46f28a TVP3026: Implement gamma correction for 15/16 bpp modes 2023-12-30 02:31:56 +06:00
Cacodemon345
4d7fd68bbc Millennium and Millennium 2: Enable gamma correction only for 24+ bpp
TVP3026 datasheet poorly or doesn't document at all gamma correction for 15/16 bpp
2023-12-30 02:10:45 +06:00
Cacodemon345
148e466b80 Implement BAR swap for Matrox Mystique 220
Revision ID now properly indicates a Mystique 220 card
2023-12-30 01:28:14 +06:00
Cacodemon345
5663f9aa3b Millennium II: Don't ignore OPTION_INTERLEAVE
Cleanups
2023-12-30 01:20:19 +06:00
Cacodemon345
a037b7618e MGA: Fix most remaining display problems with Millennium II 2023-12-29 15:45:26 +06:00
Cacodemon345
592229af94 1. 16MB option
2. rowoffset fixes
2023-12-29 14:59:09 +06:00
Cacodemon345
d1af2fe85d Millennnium II now working 2023-12-29 13:19:46 +06:00
Cacodemon345
8ba35218fa Millennium II: Fix squished image on MGA modes 2023-12-29 12:24:20 +06:00
Cacodemon345
277581daea Non-working Millennium II 2023-12-29 02:13:40 +06:00
TC1995
d9dfa8d8d5 More ATI accel fixes and undocumented stuff.
1. Apparently some stuff uses read-only port 0x86ee and expects it to return 0 while port 0xf6ee is an alias to 0x82e8, this should fix hangs in Majong 8514 using ATI's DOS drivers.
2. 8514 data available bits are reset properly when new parameters for a new command are installed (port 0xCEEE), fixes remaining hangs with some stuff.
2023-12-28 02:01:45 +01:00
OBattler
3483cb02b3 Removed an unused variable from video/vid_svga_render.c. 2023-12-27 21:15:07 +01:00
TC1995
979198d592 More ATI changes plus one IBM 8514/A fix:
1. Made the 4 color mode (67h) work properly now, including its 4 schemes on all ATI cards that support said mode.
2. Shadow set now has a true purpose for 8514/A compatibility on ATI Mach8/32.
3. Non-ATI 8514/A used to not work before because of the dev->local variable was not being set to 0 in the ibm8514_init() function, now it's fixed.
2023-12-27 21:01:25 +01:00
TC1995
db45cb8c0b Forgot one file to commit in the branch. 2023-12-27 18:40:29 +01:00
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