Cacodemon345
0a55e75b06
MGA: Gamma-correct hardware cursor
2023-12-24 02:16:51 +06:00
Cacodemon345
70d6d5954b
MGA: Implement gamma correction for 24+ bpp modes
2023-12-24 01:46:10 +06: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
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
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
TC1995
552740b2bd
S3 wraparound fix.
...
Just a quick fix for Commander Keen 4 EGA's flickering.
2023-12-18 14:01:38 +01:00
Miran Grča
394a62d880
Merge pull request #3901 from 86Box/tc1995
...
MGA fixes 2:
2023-12-18 13:57:54 +01:00
OBattler
c7f4e59e49
Restoring the old changes.
2023-12-18 13:57:33 +01:00
TC1995
718fb759af
There, log excess disabled.
2023-12-18 13:47:23 +01:00
TC1995
f5642ab1c3
MGA fixes 2:
...
1. Reverted the packed chain4 and fb_only sides to 1 when extended mode is set, but with the call to svga_recalctimings removed from port 0x3df due to mode issues, this should fix all the MGA mode issues I know.
2. Cleaned up the rendering order in svga_recalctimings, especially 4bpp and 8bpp.
2023-12-18 13:42:32 +01:00
OBattler
80e5c4f5ac
Temporarily reverted all the Matrox mode changes since they broke even standard SVGA modes.
2023-12-18 10:02:18 +01:00
TC1995
9573d37364
And warning fixes.
2023-12-18 00:41:51 +01:00
TC1995
c1ba150e3c
Oops, they actually can mix together, but not with plain (non-packed) chain4 stuff enabled, should fix more mode issues in the MGA Millennium card.
2023-12-18 00:40:31 +01:00
TC1995
c62182cd2e
MGA Fixes:
...
1. LFB access is now done properly through the right svga_read/write linear calls.
2. Lowres 8bpp mode and Packed/Extended 8bpp+ mode don't mix together, fixes Debian Woody matroxfb module when testing the modes while keeping other compatibility intact (basically enable packed stuff only when gdcreg5 bits 5-6 are 0 when extended mode is set).
3. Small cleanup in the line accel stuff.
2023-12-18 00:08:51 +01:00
RichardG867
4b402c22cd
vid_mga: Implement DDC on the Millennium
2023-12-16 18:26:39 -03:00
GreaseMonkey
0848f4a38e
Disable blink in 8bpp modes on MGA; Re-instate main 8bpp hires renderer
...
I don't actually know if 8bpp blink is a thing on a Matrox Millennium, but the video BIOS seems to act like it's not.
2023-12-17 08:46:12 +13:00