Commit Graph

143 Commits

Author SHA1 Message Date
Alexander Babikov
0e53b86d25 Move the Matrox Millennium II and G100 to the Dev branch 2024-02-13 22:28:27 +05:00
OBattler
f3d585a1e1 Fix horizontal blanking calculation, fixes some S3 blanking excesses. 2024-02-07 00:11:02 +01:00
OBattler
a21b8d865d MGA: Line draw rework/fixes by TC1995, fixes the Setup bug reported by Luennix. 2024-01-23 19:15:50 +01:00
Cacodemon345
2390d2d2ae MGA: Do not reset DWORD expected counter while SOFTRAP read is still pending
Fixes Matrox Simple Interface games without breaking Windows 2000 drivers
2024-01-13 13:38:19 +06:00
OBattler
996530a94e Horizontal blanking calculation now takes into account horizontal timings multiplications and divisions, fixes a lot of S3 (and ViRGE) modes. 2024-01-13 03:54:56 +01:00
OBattler
ca4f5bad13 More horizontal blanking calculation fixes (and actually use blank start, not retrace start), fixes graphics cut-off on Voodoo on Windows 98 SE. 2024-01-13 00:41:45 +01:00
OBattler
cd0636ee04 Fixed horizontal retrace start and end extensions on almost every applicable card, fixes #4025. 2024-01-11 14:42:54 +01:00
Cacodemon345
8e9a2e0b79 Apply blanking extensions to more SVGA cards.
* Fix duplicated logic in vid_svga.c
* Voodoo 3/Banshee emulation now has blanking extensions applied
* S3 ViRGE and Matrox video cards as well
* Tseng ET4000-series cards as well
* Fix off-by-one error in vid_cl54xx.c

Trident cards are yet to be investigated. XGA and 8514/A are yet to be made blanking extensions compliant. Mach64, Paradise/WDC and OAK OTI cards remain as-is for now.
2024-01-11 01:48:49 +06:00
Miran Grča
72ff425fe0 Merge pull request #3981 from Cacodemon345/mga-g100
Make Matrox Productiva G100 usable as secondary display
2024-01-02 11:37:38 +01:00
Cacodemon345
64c930f95f G100 is now correctly added as AGP device 2024-01-02 14:34:12 +06:00
Cacodemon345
318403b133 Fix G100 VBIOS mapping 2024-01-02 14:12:02 +06:00
Cacodemon345
af5aafbc0e Make Matrox Productiva G100 usable as secondary display
Confirmed working in Windows 98 SE at least
2024-01-02 13:49:22 +06:00
Miran Grča
4324650a4e Merge pull request #3979 from Cacodemon345/mga-g100
MGA: Fix busmastering under Windows 2000
2023-12-31 17:54:00 +01:00
Cacodemon345
941d5bfdf8 Fix busmastering under Windows 2000 2023-12-31 22:46:21 +06:00
Miran Grča
05b974cd35 Merge pull request #3978 from Cacodemon345/mga-g100
MGA G100: Fix fog acceleration
2023-12-31 14:54:18 +01:00
Cacodemon345
f8e55d0edc MGA G100: Fix fog acceleration
Minor variable cleanups
2023-12-31 19:47:25 +06:00
Miran Grča
a59431a940 Merge pull request #3977 from Cacodemon345/mga-g100
Fix detection of MGA G100 video RAM when 16MB
2023-12-31 14:27:40 +01:00
Cacodemon345
7b75d6f11d Fix detection of MGA G100 video RAM when 16MB 2023-12-31 19:18:20 +06:00
OBattler
89f395ded1 MGA: Fixed two warnings. 2023-12-31 12:10:34 +01:00
Cacodemon345
0ee66c4be8 Whitespace removal 2023-12-31 16:45:52 +06:00
Cacodemon345
b1cf6c8657 Remove logging 2023-12-31 16:44:54 +06:00
Cacodemon345
6366e1c58c Implement proper alpha stipple 2023-12-31 16:43:01 +06:00
Cacodemon345
ca21ea528a Matrox Productiva G100 working (expect maybe alpha stipple) 2023-12-31 14:54:00 +06:00
Cacodemon345
bd1a5e03b0 Somewhat-working Matrox Productiva G100 2023-12-31 02:19:11 +06:00
Cacodemon345
26c1c77758 Fix yet another dumb copy-paste mistake 2023-12-30 20:50:17 +06:00
Cacodemon345
bdae2ace60 Fix a dumb copy-paste mistake 2023-12-30 18:03:26 +06:00
Cacodemon345
08428d497b Disable 32-bit Z buffer on Mystique 220 and earlier 2023-12-30 16:10:28 +06:00
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
OBattler
c240db50ba Restored some accidentally reverted parentheses. 2023-12-27 15:49:13 +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
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