Commit Graph

1583 Commits

Author SHA1 Message Date
TC1995
39a6a681a2 Update indentation. 2024-08-21 22:48:02 +02:00
TC1995
66902d67fb Mach64 changes of the day (August 21st, 2024)
Re-thread the video chip family again but with fixes to avoid desyncs and some cleanups.
2024-08-21 22:45:18 +02:00
MaxwellS04
eabfc12290 Merge branch '86Box:master' into mirocrystal_3d 2024-08-21 07:22:01 +07:00
OBattler
71ff5c8c63 ViRGE: Fixed some warnings that only appear when compiling a debug binary. 2024-08-21 01:33:54 +02:00
TC1995
aebaabb6b8 ViRGE changes of the day (August 20th, 2024)
1. ROM updated to 1.03.
2. Re-apply more fixes that were missed during the restructuring to be on par with PCem's speed.
3. Implemented Command DMA bus mastering required by Diamond Stealth 3D specific drivers (especially the GX2-based 4000).
4. Some indentation fixes.
2024-08-20 15:45:56 +02:00
OBattler
882aabf95d Diamond S3 86c911: Use the correct clock chip, fixes #4730. 2024-08-18 20:35:47 +02:00
OBattler
04b5a99ae9 (S)VGA render: Actually use the DAC mask, fixes #4720. 2024-08-18 06:34:04 +02:00
OBattler
dc8d237126 S3 ViRGE: Force bit 2 of CRTC register 33h to be set when read, fixes Windows 95 GX2 lock-ups. 2024-08-17 19:46:29 +02:00
OBattler
366ebea651 S3 ViRGE fixes by TC995 and switched threads on Windows builds back to Win32 threads since the C++ threads were breaking the ViRGE blitting in some cases (eg. CD Gamer on 24 bpp). 2024-08-17 01:22:06 +02:00
MaxwellS04
a02b4e52c3 Fixed configuration 2024-08-17 00:53:02 +07:00
MaxwellS04
24e2c65c40 Fixed a compile-breaking mistake 2024-08-16 20:44:51 +07:00
MaxwellS04
ab71f9d3e2 Added the miroCRYSTAL 3D, based on a S3 ViRGE. 2024-08-16 20:36:26 +07:00
OBattler
88741b021e S3 ViRGE: Some minor memory mask fixes. 2024-08-16 05:58:24 +02:00
OBattler
537e6f76de S3 ViRGE: Replace code with re-cleaned-up PCem code with our changes manually re-applied, also revert hardware cursor offset checks, which fixes black bars in games. 2024-08-16 05:43:55 +02: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
OBattler
08fc20bcc5 S3 Virge: Bring the threading completely up to par with PCem. 2024-08-14 22:47:06 +02:00
TC1995
a7b7b1af67 Attempt at fixing the threading of the ViRGE. 2024-08-14 20:33:32 +02:00
TC1995
70c622aecd S3 ViRGE class: Rethreading for future investigation. 2024-08-14 19:24:55 +02:00
TC1995
5247214061 Video changes of the day (August 12th, 2024, S3/TGUI/SVGA))
SVGA: Added an indicator of the internal line to make matters easier for some vertical resolution problems.
TGUI 9400CXi: Fixed the basic acceleration as much as I could.
TGUI 9440AGi+: As with the line indicator, make matters easier for some resolution problems plus some refactoring of the bpp. Added write protection to some regs based on some documentation on the vt8601.
TGUI cursor: fixed the left edge of the cursor X offset.
S3: Apply the vblankstart = dispend statement only on enhanced modes, fixes vertical display on The Incredible Machine for DOS.
Commented out some excess logs.
2024-08-12 19:52:52 +02:00
Miran Grča
091cf60f48 Merge pull request #4707 from jriwanek-forks/cleanups
Cleanups & fixes
2024-08-09 16:55:23 +02:00
Jasmine Iwanek
892f066ffa Don't depend on DEV_BRANCH
Allows things to be compiled independently
2024-08-08 20:25:03 -04:00
Jasmine Iwanek
c59e12ab09 Deal with more magic numbers in vid_ega.c 2024-08-08 18:58:14 -04:00
TC1995
6a04cde42a TGUI9440 (VLB/PCI) change of the day (August 9th, 2024)
Adjust the resolution accordingly for 1280x1022x256 (weird resolution using NT 3.1 drivers) as well as the X axis mouse movement in interlaced mode.
2024-08-09 00:47:27 +02:00
Miran Grča
d2214bbbb0 Update vid_voodoo_banshee.c
Fix heap corruption.
2024-08-09 00:39:42 +02:00
OBattler
479ab87f17 EGA Render: Apply the (S)VGA Render blink fix by greasemonkey. 2024-08-08 00:56:19 +02:00
OBattler
6118f7080d Compaq EGA: Put the dot poll timer into the correct time after a timings recalculation, fixes POST errors on non-Compaq machines. 2024-08-07 17:34:09 +02:00
Jasmine Iwanek
493e82f488 Fix mistake in vid_ega.c 2024-08-07 01:29:13 -04:00
Jasmine Iwanek
5b8b5d739b Deal with some magic numbers in vid_ega.c 2024-08-07 01:07:50 -04:00
OBattler
fbfb6849c4 Compaq EGA: Implement C&T behavior where reads in mode 0 return 0xFF if bit 2 of GDC register 4 is set, fixes video memory size detection, fixes #4571. 2024-08-07 05:08:41 +02:00
OBattler
5782f812e0 UYVY format implementation, fixes #4682. 2024-08-03 19:54:39 +02:00
OBattler
c32c685070 vid_svga.c: Allocate 8 bytes more of video memory to avoid segmentation faults. 2024-07-28 03:44:45 +02:00
RichardG867
b19bf7782b MGA: Fix warning with devbranched G100 2024-07-26 16:44:31 -03:00
OBattler
e377e58881 Assorted fixes and Dev branched the Matrox G100 and the PCL printer. 2024-07-26 00:39:11 +02:00
TC1995
b91a0d1a14 Initial implementation of the timed FIFO on the ViRGE
See above.
2024-07-25 21:40:37 +02:00
Miran Grča
4387b3e137 Merge pull request #4626 from jriwanek-forks/qtvideo
Initial underlying code support for more than 2 video cards
2024-07-20 05:47:59 +02:00
Miran Grča
e3c03bc5eb Merge pull request #4628 from jriwanek-forks/device
Less dummy devices
2024-07-20 05:46:59 +02:00
Jasmine Iwanek
322adf1c2b Initial underlying code support for more than 2 video cards 2024-07-19 23:27:21 -04: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
Jasmine Iwanek
27c8bdd57e Less dummy devices 2024-07-19 16:57:11 -04:00
RichardG867
7a402649cd C&T 69000: Fix I2C naming oversight 2024-07-17 18:13:10 -03:00
TC1995
541b2ee556 PVGA fixes of the day (July 16th, 2024)
Actually fix it correctly as well as fixing 16 color mode that was made corrupt after the cleanup of the bank commit.
2024-07-16 21:32:21 +02:00
OBattler
ec4fbc60b4 BT48x sanity checking, fixes #4607. 2024-07-14 23:58:29 +02:00
TC1995
b4e049db7e Compile fix on PVGA.
See above.
2024-07-14 20:51:00 +02:00
TC1995
fcc6b78316 PVGA 256 col+ fixes (July 14th, 2024)
Sometimes 256 color+ would still glitch because the generic way of enabling 8bpp mode is triggered instead. This fixes some stuff that relies on it.
2024-07-14 20:19:51 +02:00
RichardG867
44be6a0dbf C&T 69000: Fix PCI slot assignment and internal name 2024-07-13 19:14:12 -03:00
TC1995
1b6fd190fb Video changes of the day (July 8th, 2024)
IBM 8514/A set:
Fixed a one off video bug that was causing the VGA video to not be restored after quitting a 8514/A GUI session (namely on Win2.x' 8514/A's driver).
ATI Mach32:
Fixed another vertical display issue when activated (in 1280x1024 mode, when 1024 was 1022).
All involved:
Apply RG's changedvram fix to 8514/A, Mach8/32 and XGA's changedvram pointers.
2024-07-08 21:21:06 +02:00
RichardG867
357701dbb5 SVGA: Make changedvram 1 page bigger to fix adjacent page checks going OOB when the framebuffer is at top of VRAM (Voodoo 3 drivers) 2024-07-02 17:54:44 -03:00
OBattler
6a0f869d8a Merge branch 'master' of https://github.com/86Box/86Box 2024-06-26 23:08:09 +02:00
OBattler
1df242d9bb MGA: Fix texture filtering completely on G100. 2024-06-26 23:07:59 +02:00
TC1995
bfb4602e85 S3 fixes of the day.
1. Ported the S3 ViRGE reset fix to the Pre-ViRGE cards.
2. Slight cleanup on the acceleration and logs.
3. Unused sequencer register data now return 0xff instead of 0. This fixes Scorched Earth 1.x on DOS using S3 Trio32/64/V+/V2/868/968 cards (on other S3 it works fine as is).
2024-06-26 22:51:34 +02:00