Commit Graph

1583 Commits

Author SHA1 Message Date
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
Cacodemon345
575317fa08 ...and don't otherwise 2024-02-18 02:52:29 +06:00
Cacodemon345
29c7b80fcf Only skip hblank calculations when actually needed 2024-02-18 02:43:56 +06:00
Cacodemon345
451bc3d425 C&T 69000: Patterns are no longer horizontally reversed
Fixes mouse dragging glitches under Windows 2000 on 16+ bpp
2024-02-18 02:39:14 +06:00
Cacodemon345
cfa1e0d793 C&T: Implement clock select and LCD panning properly 2024-02-17 15:45:32 +06:00
Cacodemon345
996e365a8c Implement missing ROPs 2024-02-16 15:02:05 +06:00
Cacodemon345
9b070310a0 Disable logging 2024-02-16 14:40:29 +06:00
Cacodemon345
f9aa97e1d3 Fix text drawing on defined quadword aligned modes with CPU source 2024-02-16 14:05:50 +06:00
Cacodemon345
19b8dbb1d2 C&T: Clear bit 7 of CRTC register 0x40 on vertical blank start, fixes DirectDraw hangs 2024-02-16 12:32:58 +06:00
Miran Grča
8bf3751c98 Merge pull request #4158 from 86Box/tc1995
MGA updates for the vram detection and stuff.
2024-02-15 23:15:51 +01:00
Miran Grča
6d8f3340e8 Merge pull request #4155 from Cacodemon345/c&t_69000_vbios_size_fix
C&T 69000: Fix VBIOS size
2024-02-15 23:10:18 +01:00
TC1995
e9f0af21a0 MGA updates for the vram detection and stuff.
1. The Debian issue mystery lies around chain2_read/write being required when the LFB mapping is enabled too when MGA modes are set without blitting, however, when it is blitting, immediately tell chain2 to not interfere with the mapping. Fixes Debian once and for all as well as VRAM detection correctly while keeping existing compatibility fine.
2. Undev branch the G100 per above. (Revert if more bugs are revealed).
3. An AND with 0 is not tolerable as it nulls the LFB, fixes hang ups with Win2000 using the Millennium II and possibly the G100.
4. the Extended CRTCs now have a call for timing recalculation, fixes mode changes when blitting is going on.
2024-02-15 23:10:05 +01:00
Cacodemon345
d37b72e251 vid_tvp3026_ramdac: Implement warp-around for hardware cursor buffer32 drawing
Fixes crashes on Windows 2000
2024-02-16 01:24:35 +06:00
Cacodemon345
8166af1b77 C&T 69000: Fix VBIOS size 2024-02-16 00:59:25 +06:00