Commit Graph

25 Commits

Author SHA1 Message Date
Jasmine Iwanek
81b8038bc5 Clean up .available & .poll 2025-02-01 03:38:52 -05:00
TC1995
a0d662e9c5 S3 changes (and TVP3026) of the day (August 15th, 2024)
1. TVP3026: disable lut mapping on 24bpp modes (mainly the S3 Vision968 drivers which use the TVP3026 ramdac).
2. S3 Vision968 (MiroVideo 40SV Ergo): Corrected 1280x1024 24bpp resolution.
3. ViRGE class: limit the FIFO entries in the bitblt regs to less than 16 entries and make the Image Transfers FIFO writes wraparound to 1 and reads to 0 (to allow at least a read to a write in the thread without hanging the entire emulator). Fixes Win3.1 PBRUSH colors while keeping performance on par with PCem.
2024-08-15 23:04:48 +02: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
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
OBattler
1b5ac0f68a TVP3026: Correctly apply the RAMDAC multiplex mode. 2024-02-06 23:35:43 +01:00
OBattler
bfee63da82 Fixes a warning in the TVP3026 RAM DAC code. 2023-12-30 00:08:44 +01: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
RichardG867
4b402c22cd vid_mga: Implement DDC on the Millennium 2023-12-16 18:26:39 -03:00
Jasmine Iwanek
81bb5e564b Better fallthrough annotation macro. 2023-08-09 20:09:36 -04:00
Jasmine Iwanek
0cc00a6b0f sonarlint vid_tvp3026_ramdac.c 2023-08-09 16:52:11 -04:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
d1127e68fa Even more sonarlint work 2023-06-04 23:39:14 -04:00
Cacodemon345
03a578708c vid_mga: Make Matrox Millennium multi-monitor compatible 2023-03-07 22:03:04 +06:00
Jasmine Iwanek
610401de7a Yet more clang-formatting 2023-02-28 23:53:57 -05:00
Cacodemon345
2ca0fb3dd2 vid_tvp3026_ramdac: Don't ignore CCR2 and CCR3 bits for Cursor RAM reads/writes
Fixes hardware cursor under Windows 95
2023-02-17 12:39:04 +06:00
Jasmine Iwanek
a40630ba63 Even more tabs to spaces 2023-01-07 14:09:51 -05:00
Jasmine Iwanek
883e7c256a clang format in src/video (#2654) 2022-08-31 20:19:29 -03:00
Cacodemon345
8a3367ff6f Multi-monitor support (backend preparation part) 2022-07-03 01:18:23 +06:00
Jasmine Iwanek
3b73ce330c src/video 2022-03-18 18:07:09 -04:00
Jasmine Iwanek
4674756664 More newline and whitespace cleanups 2022-02-20 16:26:40 -05:00
Jess Lovelace
f18615ae87 refactored device_t and all declarations 2022-02-02 16:31:22 -05:00
TC1995
a2be64dcb1 Added TVP3026 clock emulation and hooked up to the corresponding S3 cards needing it.
Added the SPEA Mercury Lite 928PCI-based card and its corresponding accel changes.
Restored the S3 ViRGE threaded-FIFO but with small changes.
2022-01-28 17:45:03 +01:00
TC1995
296df745ed S3 & TVP3026: Part 1.
Initial implementation of the tvp3026 ramdac, (clock still missing, will be added later).
2021-09-02 16:04:58 +02:00