Commit Graph

2089 Commits

Author SHA1 Message Date
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
Juan Carlos González Amestoy
a1c29154ae Fix color value in the IBM 8153 palette 2025-11-08 11:57:19 +01:00
OBattler
f71da53ee8 Matrox: Simplify some transc checks. 2025-11-08 03:33:26 +01:00
OBattler
e0aa4c74d4 Bochs VBE: Simplify horizontal blank end calculation. 2025-11-08 03:30:57 +01:00
OBattler
6afc72b860 IBM PS/ValuePoint 433: Fix on-board ET4000/W32. 2025-11-05 17:36:54 +01:00
OBattler
3dc3cfc00d ATi Mach8 EEPROM: Remove superfluous (and emulator-crashing!) fseek(). 2025-11-05 15:03:32 +01:00
OBattler
daf34f3dcd (S)VGA: Bring back specific pel panning behavior for some ATi and Tseng graphics cards, closes #6437. 2025-11-05 02:54:51 +01:00
pixel-jupiter
c490e3e14c PCjr: Fix inverted horizontal screen movement 2025-11-04 07:43:51 +03:00
OBattler
30743b6dfd Tandy warning fix from pixel_jupiter. 2025-11-02 03:51:47 +01:00
TC1995
79614f6ada Swap the XGA 4bpp rendering nibbles for proper display.
Fixes incorrect rendering of XGA 4bpp accelerated modes (INMOS XGA ISA and XGA MCA add-ons)
2025-11-02 00:52:20 +01:00
Bozo Scum
811cdcdb9a eliminate Missing ROM file error for 'Tsengs ET4000w32p Rev.B (VideoMagic)' on case-sensitive platforms such as Linux 2025-10-30 15:37:30 +08:00
bozoscum
e5e9cf6fc0 Merge branch '86Box:master' into master 2025-10-30 15:33:06 +08:00
Miran Grča
8b02672a2d Merge pull request #6419 from pixel-jupiter/tandy-shake
Tandy: Implement CRTC-based display shifting (R2 & R7 registers)
2025-10-29 18:11:59 +01:00
bozoscum
5333af80d1 Merge branch '86Box:master' into master 2025-10-28 18:12:10 +08:00