Commit Graph

2102 Commits

Author SHA1 Message Date
Maxwell Scott
39734bfe26 Forgotten VLB alphabetization. 2026-01-09 16:10:43 +07:00
Maxwell Scott
727568bb91 Fixed the alphabetization for Voodoo3 3500 (PAL) 2026-01-09 13:36:58 +07:00
Maxwell Scott
c4b482234e Alphabetize the video card/chip order properly
Also slightly correct the name for TriGem
2026-01-09 13:32:48 +07:00
AITUS95
e0de4c7f87 Refactor dirty line calculation 2026-01-08 23:48:37 +01:00
AITUS95
61918e4d72 Implement wait states for MMIO reads
Added wait states for MMIO reads to reduce excessive polling.
2025-12-30 21:14:13 +01:00
Cacodemon345
15e6841d8a Fix drawing of 2D polygons on ATi Mach64 2025-12-31 00:28:22 +06:00
OBattler
6af1524cfe Video: Add the graphics card before any coprocessor cards such as the 8514/a. 2025-12-27 17:13:25 +01:00
Cacodemon345
803453cdcb Fix card detection by S3VBEFIX 2025-12-27 17:45:40 +06:00
Cacodemon345
9bcf3c0c9e S3: Allow gamma correction in Trio3D/2X 2025-12-27 17:15:45 +06:00
OBattler
f0ab2e9b78 Extended the screenshot functionality to allow taking both raw and (renderer/resize-)processed screenshots, to both file and clipboard, made the functionality available on the toolbar as well, and moved the recently added "Force interpretation" button to the end of the toolbar. 2025-12-25 03:44:23 +01:00
OBattler
1275f13d68 (S)VGA render: Make sure the overscan is not blitted to a line whose pointer is NULL, fixes #6591. 2025-12-23 00:22:00 +01:00
Miran Grča
2f96db17f1 Merge pull request #6601 from Cacodemon345/voodoo-fix-linux
Fix black/white dot glitches in Voodoo 2
2025-12-21 21:01:46 +01:00
Cacodemon345
41ed34c67f Fix black/white dot glitches in Voodoo 2 2025-12-22 01:57:13 +06:00
Miran Grča
43ce40e1ff Merge pull request #6599 from Cacodemon345/voodoo-fix-linux
Fix glitched texts on Linux Voodoo drivers
2025-12-21 20:56:59 +01:00
starfrost013
e45fecf5f2 remove several more unused functions 2025-12-21 19:32:22 +00:00
starfrost013
56020b92f7 remove obsolete (2012-era) comment 2025-12-21 19:31:35 +00:00
starfrost013
5e959e4b2e remove fontdat2 and fontdatm2 2025-12-21 19:12:28 +00:00
starfrost
64b0462fcb Merge branch '86Box:master' into bugfixes 2025-12-21 18:49:59 +00:00
starfrost013
407a0958f2 rename load font to video_load_font, get rid of loadfont_ex; use calloc and don't malloc magic amount of vram 2025-12-21 18:49:10 +00:00
Cacodemon345
61ed89f297 Fix glitched texts on Linux Voodoo drivers
Also fix bad rectangle fills on Voodoo 2 if SLI is enabled
2025-12-22 00:39:31 +06:00
Cacodemon345
cba44d222e Fix refresh rate display if Voodoo 1/2 Graphics is active (#6598) 2025-12-21 18:04:09 +01:00
Miran Grča
db0fab6c8f Merge pull request #6597 from starfrost013/bugfixes
Get rid of some entirely unused video functions
2025-12-21 17:15:07 +01:00
starfrost013
1739b8303c Get rid of some entirely unused video functions 2025-12-21 16:13:56 +00:00
Cacodemon345
e59bb4dc2e Voodoo stippling support for 3D 2025-12-21 22:00:24 +06:00
RichardG867
539a1c199c SVGA: Increase VRAM top margin as a temporary workaround to an OOB in voodoo_banshee_blitter 2025-12-20 18:05:23 -03:00
Cacodemon345
3b8dc9a0c1 Do perspective correction with floating-point math
Fixes Actua Soccer with Matrox Mystique patch
2025-12-20 22:02:34 +06:00
TC1995
913c7c682b Refresh rate fixes for mach8/32 and tgui9440/96x0
The Trident ones are a reworked port of MAME's code.
2025-12-17 22:13:37 +01:00
Cacodemon345
62a116586f 1. Allow agpMoveCMD register reads
2. Fix bad depth + 16-bit RGB565 writes
2025-12-18 01:40:42 +06:00
Miran Grča
242d272c1a Merge pull request #6568 from AITUS95/master
Voodoo 1: Fix Screamer Rally regression while keeping Final Racing fix
2025-12-17 10:27:04 +01:00
AITUS95
bd29eadfd8 Reduce cmdfifo_depth to 20 2025-12-17 10:00:19 +01:00
AITUS95
df3fa89798 Voodoo 1: Reduce FIFO wake delay from 2000 to 500 2025-12-17 03:53:05 +01:00
AITUS95
7e05cdcce5 Voodoo 1: Change cmdfifo_depth threshold from >300 to <80 2025-12-17 03:51:19 +01:00
OBattler
6e8f1204cf And non-ViRGE S3. 2025-12-15 22:08:29 +01:00
OBattler
da3b367604 And ATi Mach64 as well. 2025-12-15 22:07:39 +01:00
OBattler
01a1b5f30d S3 ViRGE: Get rid of atomics on x86. 2025-12-15 22:05:18 +01:00
Cacodemon345
601155fdd6 Implement Voodoo alpha planes and alpha mask support
Fallback to interpreter if alpha planes are used for now
2025-12-14 23:27:18 +06:00
RichardG867
2ca88989c4 BT48x: Remove excess logging 2025-12-13 16:46:23 -03:00
TC1995
a37b813db2 Mach64: fix wrong refresh rates based on the character width to be calculated for the crtc timer.
svga->char_width should be 8 when Mach64 extended modes are enabled.
2025-12-11 21:10:34 +01:00
Cacodemon345
48f6db24e2 Add ASUS TX97-XV (HP OEM) board
Shipped with either ATi RAGE II or ATi Mach64 VT3
2025-12-04 23:44:07 +06:00
AITUS95
490d88798b Restore FIFO wait loop in Voodoo LFB readback to avoid regressions 2025-11-30 00:09:49 +01:00
AITUS95
7c8cafb021 Fix Voodoo1/2 LFB readback slowdown by removing FIFO busy-wait loop
Refactor FIFO handling to check for emptiness before waking thread.
2025-11-29 20:33:18 +01:00
TC1995
030edf4bee Fixes for most video cards, ramdacs and clock generators
1. Actually place the correct clocks in the PVGA-based ICS90c64a (see sources).
2. Make sure the difference between 4bpp and 8bpp in the BT484/5 ramdac is actually seen and done.
3. Forgot the ATI panning flag for the plain Mach64GX cards.
4. Fix standard VGA graphics mode for Japanese text in the Mach32 so that it's rendered correctly (if bit 5 of ati 0xb0 and bit 0 of 0x4aee clock select are 0).
5. Normalize ET4000AX clocks.
6. ET4000W32 series: fix some hwcursor issues in win3.1/winos2 (in non-24bpp modes) as well as well as the chips' clocks. Cleanup of the modes too.
7. Video7  HT208 cards: Add the 7.04 HP OEM bios and implement the clocks according to its manual (HT208, below).
8. More fixes of the stalls caused by FIFO stuff in non-FIFO modes (S3 stuff).
9. Remove unused code in vid_svga.c (vga core layer)
2025-11-27 00:18:59 +01:00
AITUS95
eee4ec9f87 voodoo1: apply higher CMDFIFO wake threshold only for Voodoo1 2025-11-26 19:40:51 +01:00
AITUS95
e5e51b3c34 voodoo1: apply FIFO wake delay only when type == VOODOO_1
Updated the wake delay for the FIFO thread based on the card type.
2025-11-26 17:06:15 +01:00
AITUS95
1f45cf2872 voodoo1: restrict increased CMDFIFO threshold to VOODOO_1 only 2025-11-26 17:04:54 +01:00
AITUS95
ee48c1be89 Increase WAKE_DELAY from 1000 to 2000 2025-11-26 15:02:23 +01:00
AITUS95
689fd67d63 Increase command FIFO depth threshold from 200 to 300 2025-11-26 15:01:09 +01:00
AITUS95
4608737831 voodoo: improve CMDFIFO wake logic to reduce excessive FIFO processing 2025-11-26 14:05:24 +01:00
AITUS95
961131201e voodoo: reduce FIFO thread wake frequency to avoid performance stalls 2025-11-26 14:04:24 +01:00
TC1995
70545ec25d Refresh rate and acceleration fixes and cleanups for displays.
1. Some fixes to the S3 refresh rates using the bt48x ramdac as well as 32bpp acceleration (actually pixtrans reads) fixes, which are actually one single dword rather than two words. (This fixes some graphical bugs in 32bpp mode using OS/2 Warp with the Elsa 928 drivers).
2. Add undocumented ports 0x82ec and 0x82ed, needed by the Elsa OS/2 928/805i cards to operate correctly and not getting stuck at a blank screen.
3. Workaround a read select register issue when reading back the accelerated height (0xbee8 index 0x0f bits 3-0 returning a non-height index, in this case, 0x0e) so that the height is not zeroed on writes after the first reads, allowing text and fonts to be displayed on OS/2 Warp 3's built-in S3 864 drivers in every bpp.
4. Don't run the mach8/32 specific clock if we're in plain VGA text mode.
5. Some cleanups to the et4000w32 chip series, including a clock (refresh rate) fix for OS/2's built-in drivers and the extended crtc parameters to be run only on graphics modes.
2025-11-11 00:22:34 +01:00