Commit Graph

42 Commits

Author SHA1 Message Date
TC1995
ed7d811e65 Actually do interlacing right on B69000 (August 14th, 2025) 2025-08-14 00:06:56 +02:00
Daniel Gurney
aef9d1ed94 Revert "Merge branch 'bugfixes' into master"
This reverts commit 8250b57325, reversing
changes made to 6c643d05b8.
2025-07-01 03:04:14 +03:00
starfrost013
adb8b388a8 v_disp -> vdisp_latch; get rid of even more unused shit 2025-06-21 00:55:39 +01:00
starfrost013
dd7f3d0aae ma -> memaddr
ma_latch -> memaddr_latch
maback -> memaddr_backup
ca -> cursoraddr
sc -> scanline
oldsc -> scanline_old
2025-06-10 22:53:45 +01:00
TC1995
07341003dc C&T 69000 changes of the day (June 1st, 2025)
Divide by 3 the destination address on color patterns to make sure the pattern position is perfectly aligned. Fixes color patterns in Win3.1x and Win9x (and possibly NT-based and other stuff).
2025-06-01 13:21:36 +02:00
Cacodemon345
6f6e64e321 Some minor fixes 2025-05-25 15:42:57 +06:00
TC1995
b7319cf60b Fix warnings and build. 2025-04-22 21:24:31 +02:00
Cacodemon345
9182deaa2b C&T B69000: Revert optimizations that made GUI acceleration slow 2025-03-17 23:16:03 +06:00
Cacodemon345
65020a80c8 Revert "C&T 69000: All ROPs now implemented, also fixed transparency bitblts"
This reverts commit 000af483f3.
2025-03-17 22:53:36 +06:00
Cacodemon345
2019af174f Revert "C&T 69000: Fix bad refresh rate"
This reverts commit b1a77195ab.
2025-03-17 22:53:00 +06:00
Cacodemon345
1bf78aebfd C&T 69000: Adjust interrupt conditions 2025-03-17 21:45:50 +06:00
Cacodemon345
b1a77195ab C&T 69000: Fix bad refresh rate 2025-03-17 21:23:32 +06:00
OBattler
49463607c1 C&T 69000: Rewrite the PCI register handling and intialize the registers to sane default, fixes the card's detection by the Windows 98 driver installer. 2025-03-17 04:29:58 +01:00
Cacodemon345
000af483f3 C&T 69000: All ROPs now implemented, also fixed transparency bitblts
Several optimizations also implemented
2025-03-16 01:46:34 +06:00
Cacodemon345
74368bfe7a Don't include cpu.h in timer.h
Change the name of the define used to indicate SVGA multi-monitor-capable cards
2025-03-06 19:26:11 +06:00
Jasmine Iwanek
5f273265ae Assorted warning fixes 2025-02-02 03:24:50 -05:00
Jasmine Iwanek
81b8038bc5 Clean up .available & .poll 2025-02-01 03:38:52 -05:00
TC1995
3f14c7f590 Chips PCI card fixes (July 20th, 2024)
Cleaned up the code and fixed the reset and LFB accesses. NT 4.0 now works with its v2.47 drivers without a soft reset (it used to only with a soft reset originally and, without it, hang with a blank screen upon reaching the GUI).
2024-07-20 01:09:42 +02:00
RichardG867
7a402649cd C&T 69000: Fix I2C naming oversight 2024-07-17 18:13:10 -03:00
RichardG867
44be6a0dbf C&T 69000: Fix PCI slot assignment and internal name 2024-07-13 19:14:12 -03: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
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
4c3cceec69 Fixed off by one errors in (S)VGA horizontal blanking start calculation. 2024-02-18 17:54:14 +01:00
Cacodemon345
a0b984f79c Revert no-longer-needed horizontal blanking changes 2024-02-18 16:57:30 +06: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
Cacodemon345
8166af1b77 C&T 69000: Fix VBIOS size 2024-02-16 00:59:25 +06:00
Cacodemon345
f5995a4719 vid_svga.c: Hardware cursors with negative Y values work properly now
* Fixes cursor disappearing completely in Matrox cards in some cases.
* Allows emulated video adapters allowing negative Y values for hardware cursor to render those properly
2024-02-15 00:34:24 +06:00
Alexander Babikov
9b87dbe7ba Fix warnings in vid_chips_69000.c 2024-02-14 14:57:10 +05:00
Alexander Babikov
e8406cdbc7 Rename vid_c&t_69000.c to avoid & in the filename
Apparently CMake chokes on it in a few cases
2024-02-14 14:56:16 +05:00