Commit Graph

1482 Commits

Author SHA1 Message Date
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
Miran Grča
e4c6479d92 Merge pull request #1550 from 86Box/master
Bring the branch up to part with master
2021-07-13 21:46:24 +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
Miran Grča
ede9ef7065 Merge pull request #1547 from 86Box/master
Bring the branch up to part with master
2021-07-12 17:46:39 +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
Miran Grča
920b9b417d Merge pull request #1544 from 86Box/master
Bring the branch up to par with master.
2021-07-12 05:58:47 +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
Miran Grča
b674372248 Merge pull request #1542 from 86Box/master
TGUI96x0 banking fixes.
2021-07-10 00:00:04 +02:00
OBattler
49232557d7 TGUI96x0 banking fixes. 2021-07-09 23:58:56 +02:00
Miran Grča
fb4f2d3192 Merge pull request #1534 from 86Box/master
Trident TGUI9680 linear framebuffer PCI BAR is now correctly 4 MB ali…
2021-07-06 19:40:57 +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
Miran Grča
24b63e1c3b Merge pull request #1533 from 86Box/master
Bring the branch up to par with master.
2021-07-06 19:30:03 +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
Miran Grča
294a917ac3 Merge pull request #1529 from 86Box/master
Bringing the branch up to par with master.
2021-07-05 01:32:45 +02:00
TC1995
6acbf62f42 Ported the latest changes from PCem. 2021-07-05 01:21:02 +02:00
OBattler
29c8e36e6e Fixed miscellaneous bugs reported by Coverity. 2021-07-04 20:50:03 +02:00
OBattler
4f6df76f10 Revert "Revert "Merge branch 'feature/machine_and_kb' into master""
This reverts commit f2cd3756dd.
2021-07-04 17:40:39 +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
TC1995
82142c1ce5 More fixes to the standard IBM VGA 256 color mode on the Realtek RTG3106 card. 2021-06-18 18:02:52 +02:00
TC1995
24bc25a393 Implemented the Scan Line accel command, required by 4Play Win16 game under Win95 using the 4.02 Trident TGUI9440 drivers. 2021-06-18 17:51:50 +02:00
TC1995
3cad7d88fe The Trio64V2 seems closer to the ViRGE more than I thought and now CRTC regs 0x6B and 0x6C no longer are aliases to 0x59 and 0x5a (only for the trio64v2, the rest is fine as is). 2021-06-18 17:45:18 +02:00
Alexander Babikov
abb0e27c02 Suppress GCC false positive warnings in vid_voodoo_codegen_x86[-64].h 2021-06-18 18:27:52 +05:00
TC1995
dd8559f851 Cleared svga->fast when appropriate so that word writes can be executed right, fixes graphical glitches under Win95 using the 5422/5424. 2021-06-17 19:07:51 +02:00
TC1995
9cc00ab5fc Massive overhaul to the Trident TGUI code:
Implemented the Graphics Engine linear address from CRTC34-35, required by OS/2.
Implemented 0x21xx acceleration ports.
Implemented Bresenham Line accel command required by OS/2.
Implemented 0xb7fxx linear mapping.
Implemented basic PCI bios rom bar (9440 only).
Revamped Trident TGUI cursor code.
Temporarily removed threading from the code as it caused too many graphical glitches.
Slight improvements to the Recalctimings function.
Un-hardcode the vram mask from the PCI write BAR0 part.
2021-06-17 18:57:31 +02:00
TC1995
f423e07f13 Made all the non-ViRGE S3 cards disable double word access due annoying acceleration issues in some instances of the software cursor for now. 2021-06-15 17:25:36 +02:00
TC1995
c703fedbe8 Ported the latest Voodoo changes from the other emulator. 2021-06-15 17:17:56 +02:00
TC1995
c3c8da49db Removed log excess. 2021-06-05 20:52:10 +02:00
TC1995
76271ddd08 Fixed 256 color modes in the Oak OTI cards.
Made the New MMIO-capable S3 cards behave like the ViRGE for the double word/packed chain-4 addressing.
2021-06-05 20:50:38 +02:00
OBattler
b4d35af149 ICS 53xx/GENDAC/SDAC RAMDAC fixes. 2021-06-05 20:24:51 +02:00
OBattler
eef77b7c86 Added a way to force legacy mode as a temporary fix for the Voodoo Banshee/3 until there's a proper fix. 2021-06-04 02:41:13 +02:00
OBattler
9161f9a071 Slight fix. 2021-06-03 23:54:12 +02:00
OBattler
e240342c4b Implemented packed Chain 4 support on the Voodoo Banshee and 3. 2021-06-03 23:18:43 +02:00
TC1995
a8f86df2a5 Properly fix the by16 addressing of the Cirrus 542x. 2021-05-31 13:53:44 +02:00
TC1995
963b530d10 Ported the Cirrus by16 fix. 2021-05-30 23:40:56 +02:00