Commit Graph

648 Commits

Author SHA1 Message Date
Miran Grča
ca4f66c7a9 Merge pull request #1664 from 86Box/tc1995
Fix 3 for the dword mode for duke3d/lxpic/standard and miro drivers f…
2021-09-05 23:50:18 +02:00
TC1995
b9cdf0521f Fix 3 for the dword mode for duke3d/lxpic/standard and miro drivers for win3.1 (I swear).
Re-added the byte swap bit in pix trans write word mode that was accidentally removed, fixes buttons in pifedit using the 968 in Win3.1.
2021-09-05 23:17:38 +02:00
Miran Grča
0de3c10341 Merge pull request #1661 from 86Box/tc1995
Fix the dword mode fix in the S3 code.
2021-09-05 20:31:03 +02:00
OBattler
6536a04590 Implemented Hercules overscan, closes #1638. 2021-09-05 20:30:43 +02:00
TC1995
e37f477ebf S3 dword mode:
CRTC14 bit 6 (standard dword mode) has the highest priority over CRTC31 bit 3 (S3 dword mode), so if the latter is enabled while the former is disabled, it's byte mode. Fixes both Duke3D, LXPIC and Win3.1 running at the same time (once and for all).
2021-09-05 19:53:03 +02:00
TC1995
1c634759c5 Fix the dword mode fix in the S3 code. 2021-09-05 19:25:16 +02:00
OBattler
b834365f30 Fixed CRTC register readout on the Hercules, fixes #1656. 2021-09-05 19:03:32 +02:00
TC1995
0ae17cbb3e S3 changes/improvements:
Overhauled the read portion of the PIX TRANS command (fixes white corruption in some instances while keeping everything already working fine).
Fixed Miro 10SD recalctimings issue about losing graphics mode.
DWORD mode SVGA CRTC bit fixed when S3 DWORD mode bit is enabled.
2021-09-05 18:10:54 +02:00
TC1995
16996ab2a2 Added the 3dfx Velocity 100 per request, alongside its BIOS. 2021-09-05 01:16:56 +02:00
OBattler
2415673c7a Some small S3 fixes (bugs found by clang). 2021-09-03 00:41:10 +02:00
TC1995
229e61b74d Minor pix trans fixes to the S3 code (R/W). 2021-09-03 00:27:08 +02:00
TC1995
391c6a3571 S3 & TVP3026: Part 2.
Reworked the pix tranfer register to allow a word in a byte transfer.
Added an alternative bios selection for the SPEA Mirage 801 card (3.05I and 4.01, the latter being the default now.
Added the MiroCrystal 10SD 805 VLB, Phoenix 801 ISA, MiroVideo 40SV 968 VLB/PCI, SPEA Mercury P64V 968 PCI , SPEA Mirage P64 Trio64 VLB cards.
Removed some non-working S3 cards like the Trio64V+ VLB and Elsa Winner 2000 Pro X VLB (only PCI variants of these cards are now in)
2021-09-03 00:05:43 +02:00
Miran Grča
2d6194aecc Merge pull request #1644 from 86Box/tc1995
S3 & TVP3026: Part 1.
2021-09-02 20:17:06 +02:00
OBattler
84f4b8cac7 Added a bunch of parameters (including one to specify custom ROM path), fixed a warnings, removed excess commented out code from video/vid_voodoo.c, and made Makefile.mingw quiet again. 2021-09-02 20:15:46 +02: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
TC1995
87abf37e2f Added Short Vector accel command to the TGUI cards and some cleanups and fixes. 2021-09-02 15:21:20 +02:00
David Hrdlička
69a8c63c33 cmake: no SSE2 flag on non-x86 targets 2021-08-29 04:55:05 +02:00
OBattler
ecc54b1717 Fixed the indentation of blit_thread(). 2021-08-26 13:54:32 +02:00
OBattler
d9ac4ea75f Fixed a small typo. 2021-08-25 14:05:41 +02:00
OBattler
4ad78598ea Fixed IBM RGB28 RAMDAC hardware cursor position calculation. 2021-08-25 13:58:01 +02:00
TC1995
ded00ef3c0 Improvements to the Paradise VGA cards (mainly c30) using the DOSBox-x code as a base (while making the banks unchanged) and some horrible tweaks as shown in the code (pardon...). 2021-08-17 18:58:37 +02:00
TC1995
9673cc8f9c Fixed pitch bugs on NT 4.0 using the TGUI9440/96x0 cards, should work fine by now (tested on my end though). 2021-08-17 14:08:42 +02:00
TC1995
74d88ec6bb Fixed display start address on S3 pre-ViRGE and ViRGE cards upon recalculation of its timings plus when the banking register is enabled, this also fixes the flickering of Quake while having Commander Keen working without glitches. 2021-08-08 13:24:11 +02:00
OBattler
07e7c1dd9e More Hercules fixes. 2021-08-02 04:24:23 +02:00
OBattler
3c64da96bd More Hercules fixes, closes #1566. 2021-07-30 03:41:32 +02:00
OBattler
f52a688713 Hercules fixes (and implemented undocumented behavior where with page 1 set in text mode, characters are read from page 1 and attributes from page 0), closes #1562. 2021-07-28 05:12:35 +02:00
TC1995
fc832333fc Fixed S3 Trio32 PCI ID. 2021-07-19 00:11:45 +02:00
OBattler
7047517408 Video threads are now woken before the wait for termination, fixes the hangs. 2021-07-16 19:22:58 +02:00
OBattler
78c3f6759f Removed all usage of TerminateThread()/thread_kill(), thread_wait() is used instead now. 2021-07-16 06:45:32 +02:00
TC1995
49d86a5004 Removed code that is not ready yet. 2021-07-12 22:19:20 +02:00
TC1995
b04811df5e Restored the dithersub option on Voodoo Banshee (it was removed by accident). 2021-07-12 22:15:33 +02:00
TC1995
fd5ac14f26 Fixed scrolling anomalies in the EGA and SVGA card cores for Commander Keen to work right without glitches. 2021-07-12 22:12:27 +02:00
TC1995
ef0eae56e7 Fixed bit 12 of the cur_x/y coordinates in the s3 cards which fixes the wrong fonts position in the trio64v+/trio64v2 under win9x. 2021-07-12 11:32:41 +02:00
TC1995
40b593d3ad Added the TGUI9660 and fixed a compile bug (technically a 32-bit color bug) in said card and the 9680.
Added I2C/DDC support to the 9660 and 9680 as well as PCI IRQ support.
Extended the MMIO base addressing to 4MB for the 9660/9680.
2021-07-11 15:06:23 +02:00
OBattler
49232557d7 TGUI96x0 banking fixes. 2021-07-09 23:58:56 +02:00
Miran Grča
0297243a50 Trident TGUI9680 linear framebuffer PCI BAR is now correctly 4 MB aligned. 2021-07-06 19:40:16 +02:00
TC1995
6fdb91d472 Implemented the Command/ROP register in the Dword/Long side of the write routing. Fixes main rendering under Win9x using the DirectX/Win98 TGUI9440/96xx drivers.
Implemented clipping in the SRC CPU flag of BitBLT in the TGUI9440/96xx, fixes more rendering problems.
2021-07-06 18:32:41 +02:00
TC1995
6acbf62f42 Ported the latest changes from PCem. 2021-07-05 01:21:02 +02:00
Daniel Gurney
f2cd3756dd Revert "Merge branch 'feature/machine_and_kb' into master"
This reverts commit 6604a29d7e, reversing
changes made to 1d7fca0abd.
2021-07-04 18:22:52 +03:00
Miran Grča
f579ddafe3 Merge pull request #1523 from 86Box/master
Same as before.
2021-07-04 00:40:12 +02:00
TC1995
762dc8ea05 Fixed the difference in handling the bresenham command between the 9440 and 96xx. 2021-07-04 00:34:11 +02:00
Miran Grča
737093117d Merge pull request #1521 from 86Box/master
Bring this feature branch up to part with master.
2021-07-04 00:32:50 +02:00
TC1995
d7a9a4f1f3 Properly fixed the Bresenham line draw command on TGUI9440.
Added the TGUI9680 card and its corresponding 32bit mode and clipping.
Patterns on bitblt are more properly emulated.
2021-07-03 23:16:49 +02:00
OBattler
fd4817a87b All the current WIP work (warning: the PIT is currently using some temporary test rewrite that is going to be undone). 2021-06-29 19:11:19 +02:00
Bad Sector
150cfbd553 S3 ViRGE fog implementation. 2021-06-26 05:43:37 +03:00
TC1995
f2a20b0478 Correct src_y/x on the tgui9440 bresenham command once again. 2021-06-21 17:06:45 +02:00
TC1995
5083cde12b Improved the fix for the Bresenham one. 2021-06-21 02:04:19 +02:00
TC1995
7c5d02c958 Apparently the typo that was fixed caused new small border glitches, so, reverting it. 2021-06-20 21:42:12 +02:00
TC1995
6dc973eb47 Fix typo on bresenham src x. 2021-06-18 18:18:38 +02:00
TC1995
51655552e2 Fixed a small skew issue under win95 using the ET4000/W32p in 4bpp/16 color mode. 2021-06-18 18:08:06 +02:00