Commit Graph

1446 Commits

Author SHA1 Message Date
TC1995
38e044ca34 Tseng Labs fixes and bug-compatible fixes too.
ET3000AX: the chip in question should not support 1MB of video memory.
ET4000AX: the early TC6058AF revision can support 1MB of video memory (e.g.: Diamond Speedstar BIOS D3.10, undumped anyway), and actually don't update the rowoffset to 256 when using such chip in 320x200x256 mode. Fixes the copper demo in said chip revision.
2024-04-02 15:09:18 +02:00
TC1995
42be0ab641 Voodoo: vertical display programming fix.
Apparently some software reprograms the vertical display wrong sometimes (in this case, vdisp + 2).
This should fix software titles that use such techniques...
2024-04-02 00:20:27 +02:00
OBattler
ee7df06168 Voodoo: Honor monitor overscan. 2024-04-02 00:08:40 +02:00
OBattler
46840b239d MGA: Implement hardware dithering modes by Cacodemon345, fixes Windows 3.1 dynamic resolution switching. 2024-04-01 12:57:48 +02:00
OBattler
97ba1cd8e0 Moved the ATi VGA Wonder 18800 out of the Dev branch. 2024-03-28 00:18:30 +01:00
OBattler
7a4a44d1d1 Matrox: Apply DirectDraw transparency fixes by Cacodemon345. 2024-03-27 17:24:06 +01:00
Alexander Babikov
8e06b5449f Overhaul plat_get_string()
Now takes constants with human-readable names instead of
Win32 string table IDs, language.h is no longer needed

ui_msgbox*() no longer accepts string IDs as arguments directly,
plat_get_string() must be explicitly called to retrieve the string
2024-03-20 20:33:28 +05:00
RichardG867
a3b8e0f1b2 DDC: Clarify some comments 2024-03-10 18:17:32 -03:00
RichardG867
e0c5eb49f1 DDC: EDID data improvements, hopefully fixes 1600x1200 on older OSes 2024-03-10 18:01:09 -03:00
OBattler
f4a7fd7190 Added two more ET4000AX BIOS'es. 2024-03-09 19:07:54 +01:00
OBattler
cb8b6b68a7 And made them on par with the Tseng ET4000AX, as the available data suggests. 2024-03-09 13:31:42 +01:00
OBattler
3061e9343c Give the TVGA 8900D-R faster timings. 2024-03-09 13:30:13 +01:00
OBattler
ca2492e893 Added the Trident TVGA 8900 D-R. 2024-03-09 13:18:31 +01:00
OBattler
3e6b4aa9e1 S3 Trio64V+ VLB: Limit to a maximum of 2 MB video memory. 2024-03-06 22:51:24 +01:00
TC1995
929fa7328d Mach8/32 horizontal display changes.
Make sure for the 9001st time to display correctly the horizontal side of the display (looking at you, ATI 1992 set for win3.1x and Mach8/32 drivers for OS/2 1.2x).
2024-03-01 19:50:23 +01:00
Cacodemon345
fd31aba2a1 MGA: Implement X11 hardware cursor 2024-02-29 13:58:05 +06:00
OBattler
5af0ccd145 Assorted Voodoo and warning fixes. 2024-02-29 06:48:16 +01:00
Cacodemon345
9d4f4f0a70 MGA: Move BPLAN handling to the right place 2024-02-28 14:08:55 +06:00
Cacodemon345
0275ff3523 MGA: Implement BPLAN for BITBLT operations 2024-02-27 16:16:06 +06:00
TC1995
c13272ec48 S3 80x cursor fixes:
1. The SPEA specific cards using the 801/5 chip apparently have an ID that's not 0xa0, rather, they either use 0xa2 or greater for the stepping. Fixes wrong colors in 800x600 modes and greater in 8bpp mode.
2. HWCursor addresses for 8bpp are now properly implemented if the 8bpp mode bit (CRTC3a bit 4) is checked, no longer relaying on GDCREG5 bit 6). Fixes garbage cursor in the SPEA 80x cards drivers (BigWin) using 8bpp mode.
2024-02-25 14:06:25 +01:00
Cacodemon345
a0ef980a2c S3 ViRGE/GX2: Fix frozen display when stream processors are enabled 2024-02-25 14:33:17 +06:00
TC1995
c00e854fce Fix compile.
See above.
2024-02-24 21:52:06 +01:00
TC1995
21230f933e Temporary solution to a 24bpp issue and hblank.
So that 24bpp color is not discolored anymore as well as hblank bugs being nulled.
2024-02-24 21:50:01 +01:00
Cacodemon345
b49cd0baf4 S3 ViRGE: Buffer flips no longer trigger recalctimings 2024-02-24 02:51:42 +06:00
OBattler
2e482bf560 Merge branch 'master' of https://github.com/86Box/86Box 2024-02-23 17:02:50 +01:00
OBattler
9124e8165b Removed the incorrect usage of CRTC register 3 bits 5 and 6. 2024-02-23 17:02:42 +01:00
Miran Grča
89eeb6af39 Merge pull request #4195 from Cacodemon345/patch-164
S3 ViRGE: a bit of cleanup
2024-02-23 16:52:39 +01:00
cartifanwlr
c57dfed4e7 Fix the internal name of the S3 Trio64V+ VLB 2024-02-23 18:41:41 +03:00
Cacodemon345
181ffbcffb S3 ViRGE: a bit of cleanup 2024-02-23 20:47:27 +06:00
Cacodemon345
45dff17d58 S3 ViRGE/GX2: Fix screen overlay staying on Windows XP 2024-02-23 16:25:50 +06:00
Cacodemon345
a893aba1ca S3 ViRGE: Respect blend control compose modes on pre-GX2 ViRGE
Fixes video overlay staying on-screen on Linux.
2024-02-23 14:27:26 +06:00
TC1995
46fbb3bb9e Video related changes:
IBM/ATI 8514/A side:
Made mode switches more immediate when actually switching from VGA to 8514/A and viceversa.

Tseng ET4000AX/W32 series side:
Actually use bit 2 of index 0x3f for the horizontal blank start bit 8 instead of bit 4 (horizontal retrace start), fixes skew issues with the et4000w32i rev B. card with resolutions like 1024x768 at 15 or 16bpp and others.
2024-02-22 13:35:04 +01:00
OBattler
8cf8ccf3b3 Added the STB PowerGraph 64 Video (S3 Trio64V+ VLB). 2024-02-22 01:08:21 +01:00
OBattler
58a0c840c1 Added SiS 550x, 558x, 559x, (5)600, UMC UM8890, UMC UM8663 Super I/O Chips, UMC UM8673F and Winbond W83769F IDE Contollers, and a number of machines, and fixes to the UM888x 486 chipset. 2024-02-22 00:52:20 +01:00
Cacodemon345
1b5d84f366 C&T 69000: DPMS
Also draw black overscan when monitor is turned off via DPMS.
2024-02-21 02:25:40 +06:00
Cacodemon345
80adef5ee6 C&T 69000: Fix black cursor on Red Hat Linux 8 2024-02-21 01:43:36 +06:00
TC1995
8b4fb1b2ab TVP3026: remove excess logs.
See above.
2024-02-20 19:11:47 +01:00
TC1995
963b7eec04 Some temporary video changes regarding the horizontal display.
S3 side:
Temporary changes to match the release (due to tomorrow) of 86box. Said changes are about the horizontal display of the tvp3026-based S3 chips.

IBM/ATI 8514-based:
Temporarily commented out the hblank side of it due to htotal bugs.

TVP3026 side:
When the upper clock selection bits are 0 and when extended VGA modes are set, double the hdisp.
2024-02-20 18:41:51 +01:00
Cacodemon345
10c744d665 Remove frequency logging 2024-02-19 16:07:14 +06:00
Cacodemon345
6f22d58a4f C&T 69000: Fix pattern drawing in 16-bpp modes 2024-02-19 16:01:49 +06:00
Cacodemon345
91aa53d8a6 More correct linear mapping behaviour 2024-02-19 04:31:08 +06:00
Cacodemon345
cfebf4439b C&T 69000: avoid stale linear mappings 2024-02-19 04:19:55 +06:00
OBattler
873d8791e2 Override the (S)VGA blanking calculation for the S3 Trio32, Trio64, Trio64V+, and Trio64 V2/DX. 2024-02-18 21:34:13 +01:00
OBattler
4c3cceec69 Fixed off by one errors in (S)VGA horizontal blanking start calculation. 2024-02-18 17:54:14 +01:00
Alexander Babikov
0fa364dec3 MGA cleanup 2024-02-18 19:12:57 +05:00
Miran Grča
1e23813057 Merge pull request #4165 from Cacodemon345/chips_69000_rop_fix
C&T 69000: Fix ROP 0xFF `WHITENESS` on 16+ bpp modes
2024-02-18 12:28:18 +01:00
Cacodemon345
a0b984f79c Revert no-longer-needed horizontal blanking changes 2024-02-18 16:57:30 +06:00
OBattler
26dcf9cb73 Make the horizontal blanking loops no longer loop eternally. 2024-02-18 11:54:11 +01:00
Cacodemon345
2928e2cf79 C&T 69000: Make sure horizontal blank period does not exceed horizontal total
Fixes machine freezes in certain circumstances
2024-02-18 16:35:32 +06:00
Cacodemon345
4adb484184 C&T 69000: Fix ROP 0xFF WHITENESS on 16+ bpp modes
Fixes blue background on Write in Windows 3.11 drivers
2024-02-18 12:23:21 +06:00