Commit Graph

622 Commits

Author SHA1 Message Date
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
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
TC1995
fee0ea1d24 Ported the x87 fix from the other emulator as well as the GUS one.
Fixed 15bpp mode in all cards.
2021-05-30 22:07:22 +02:00
TC1995
7a3e98b1e5 One more fix for the Cirrus. 2021-05-30 02:56:51 +02:00
TC1995
35b5301670 Fix build headers and dumb cirrus undeclared parts. 2021-05-30 02:01:16 +02:00
TC1995
d63ce5ab82 Port of the reworked svga memory addressing, normal chain4 mapping and ma13/14 mapping for non-CGA modes.
Fixed ET4000/W32 (without letters) hardware cursor.
Fixed non-interlaced 1280x1024x8bpp Cirrus mode in the 5434.
Added a note regarding the Radius (HT209) 8bpp render.
Reworked the TGUI9440, but still WIP.
2021-05-30 01:52:43 +02:00
TC1995
ee9dd9ab3f Fixed 1280x1024x8/16bpp and 1600x1200x8/16bpp video modes in the S3 trio class cards.
The 1990 Spock BIOS uses ID 6 for the boot drive.
2021-05-24 23:13:30 +02:00
OBattler
a41adb884d Merge branch 'master' of https://github.com/86Box/86Box 2021-05-22 03:16:23 +02:00
OBattler
e695cb0e3b CRTC on CGA-like graphics chips is now on the entire 3D0 to 3D7 port range, fixes scrolling in some old games. 2021-05-22 03:16:02 +02:00
TC1995
d2c6452ff5 Reworked the HTVGA/Video7 clocks. Fixes the HT209 2401 error on MCA.
Fixed 16 color in the Realtek 3106 card.
Reworked the Sierra 1148x for the second time.
Registers that only exist on 928/80x and up are not used by the 911/924 anymore.
2021-05-20 20:57:54 +02:00
TC1995
b655d7c053 Updated CMake makefile for the video cards part. 2021-05-12 18:52:37 +02:00
TC1995
1b642b4aba Port 0x105 on the ISA-based HT209 is only initialized from port 0x46e8 to avoid conflicts with the IBM PS/1 2011 and 2121's already existing initialization of the ports.
Reworked the Sierra SC1148x and AT&T49x ramdacs to use the RS2 signal when available.
Added the Realtek RTG3106 video card.
2021-05-12 18:51:02 +02:00