Commit graph pcem/src/vid_voodoo.c
Author SHA1 Message Date
SarahW
ae52810cc8 Separate Voodoo command written count from main thread and FIFO thread. Fixes hangs in some games. 2017-11-26 17:01:35 +00:00
SarahW
e80921f29d Fix Voodoo caching of textures ending at the exact end of texture memory. Fixes FMV in Return to Castle Wolfenstein. 2017-11-22 21:00:42 +00:00
SarahW
a1fc8da064 Fixed clipping rectangle on Voodoo, Return Fire II now works. 2017-11-20 20:48:27 +00:00
SarahW
a8ce4ebc86 Voodoo now clamps texture caching to valid LOD levels. 2017-11-11 20:50:51 +00:00
SarahW
d497fb04fc Increase size of Voodoo texture cache to account for split LODs. Fixes crashes on emulator exit with some games (eg Powerslide). 2017-11-03 21:17:24 +00:00
SarahW
c14bacd783 Added support for multiple texture base addresses on Voodoo. Fixes bad textures in Powerslide. 2017-11-03 21:16:49 +00:00
SarahW
b0215f309a Voodoo output now works when only the secondary card has output enabled. 2017-08-16 20:09:00 +01:00
SarahW
bb64507b7b Fix strncat() use in voodoo_add_status_info(). 2017-08-16 19:38:24 +01:00
SarahW
6589952e9a Fixed Voodoo 2 non-SLI TMU config. 2017-08-15 20:53:15 +01:00
SarahW
9a63308ffd Added Voodoo SLI emulation. 2017-08-15 20:26:06 +01:00
SarahW
ae04fd4ba1 Unknown Voodoo registers writes with CMDFIFO enabled now log warnings rather than fatal()ing. Jane's WWII Fighters now runs. 2017-08-10 21:49:44 +01:00
SarahW
182d22cb95 Fix unused variable in vid_voodoo.c. 2017-06-13 21:33:18 +01:00
pcem_emulator
7fe91626d6 Added new GUI based on wxWidgets. Patch from bit. 2017-05-29 15:38:48 +01:00
pcem_emulator
d2245f2d45 Ported configuration manager to Allegro GUI 2017-05-15 22:03:38 +01:00
SarahW
d366da23ec Windows config dialogue now only allows PCI graphics cards on PCI systems. 2017-05-02 15:15:45 +01:00
SarahW
3a12ca8882 Implement Voodoo vRetrace register. 2017-04-28 20:50:36 +01:00
SarahW
2b892d2a7a Fixed compiler warnings for Windows builds.
Added -Werror to Windows makefiles.
2017-04-11 19:34:41 +01:00
SarahW
f2a42ccf7e Voodoo screen filter improvements. Patch from leilei. 2017-02-22 20:49:54 +00:00
SarahW
d20868f930 Add read of more Voodoo registers. Tomb Raider demo not works. 2017-02-22 19:49:34 +00:00
SarahW
df5a85d5c2 Force Voodoo buffer recalculation on graphics reset. Fixes menus in System Shock 2. 2017-02-18 13:07:01 +00:00
SarahW
d0c8053b5c Fixed out-of-bounds Voodoo texture address lookup that caused stale texture cache data. 2017-02-09 21:50:47 +00:00
SarahW
f51f0f0d60 Fixed Voodoo 2 setup of W1. Fixes issues with Serious Sam. 2017-02-08 21:48:18 +00:00
SarahW
04c454401f Corrected Voodoo 2 blitter source/dest tiled bits
Chroma test now applied during screen-to-screen blits
Fixes 2D flickering in Star Trek Starfleet Academy
2017-02-06 21:24:16 +00:00
SarahW
577d37b2af Mask Voodoo depth buffer accesses and SGRAM fills correctly.
Bad CMDFIFO packets are now ignored instead of killing the emulator.
NFS III now works on V2 in 1024x768.
2017-02-05 17:25:25 +00:00
SarahW
e6b4f88065 Voodoo only writes to depth buffer when depth buffering enabled, regardless of whether depth writes are enabled or not
V2 clipping coordinates are 12 bits, instead of 10 as on Voodoo Graphics.
V2 block width is 6 bits long.
Battlezone now works at 1024x768 on Voodoo 2.
2017-02-05 16:34:59 +00:00
SarahW
4072dbd26d Fix ordering of components in Voodoo 2 2D blitter chroma range registers. Fixes mouse pointer in Populous : The Beginning. 2017-01-27 20:39:49 +00:00
SarahW
e05f20a372 Mark Voodoo as busy when CMDFIFO is not empty - fixes flickering HUD / other 2D bits in some games 2017-01-26 21:59:14 +00:00
SarahW
6d9624505d Voodoo fast fill command now affected by Y origin bit 2017-01-23 21:04:55 +00:00
SarahW
acb4307954 Voodoo texture cache now handles updates to non-square textures correctly 2017-01-14 20:57:46 +00:00
TomW
939ca35d4b Voodoo filter improvements. Patch from leilei 2016-12-21 12:15:35 +00:00
SarahW
9c1ac5cc37 Implemented Voodoo triple buffering properly 2016-12-17 21:54:44 +00:00
SarahW
bffc0745c9 Fixed off-by-one window size when using Voodoo 2016-12-17 15:40:50 +00:00
SarahW
86ad7c7e0a Marked Voodoo CMDFIFO read/write pointers as volatile - fixes random CMDFIFO and vertex ordering crashes. 2016-12-13 15:37:09 +00:00
SarahW
70d758f0a2 Voodoo LFB word write now supports depth-only data, fixes Episode 1 Racer. 2016-12-13 14:03:54 +00:00
SarahW
6ddc017987 Don't wake up Voodoo FIFO thread on every write, instead add a delay. This prevents the situation where it is woken up for every single access. Major speedup on many 3DFX games. 2016-12-12 21:12:35 +00:00
SarahW
c5889e311f Implemented Voodoo 2 triangle setup cull ping-ponging. Fixes missing triangles in Starsiege Tribes. 2016-11-22 19:42:08 +00:00
SarahW
e162b6166e Voodoo now implements texture RGB as a multiplier input in the colour combiner. 2016-11-20 17:16:00 +00:00
SarahW
7084337906 Voodoo non-recompiler now implements texture alpha reverse blending correctly. 2016-11-20 17:15:18 +00:00
SarahW
de1d72b92b Voodoo non-recompiler now uses correct W coordinate for TMU #1 2016-11-20 17:14:48 +00:00
SarahW
52fd357f3d Voodoo CLUT data can be written via CMDFIFO. 2016-10-22 16:13:42 +01:00
SarahW
396992f102 More accurate PCI timing, mainly for Voodoo. 2016-10-22 16:01:49 +01:00
SarahW
31c311924c Added Voodoo 2 emulation. 2016-10-22 14:18:06 +01:00
SarahW
0b5c3d24ea Added support for Voodoo with 2 TMUs (Obsidian SB50 with Amethyst daughterboard).
As part of this change, Voodoo now converts textures to ARGB8888 and caches ahead of rendering. Minor speedup.
Also fixed Z clamping when depth bias in use.
2016-10-01 16:42:04 +01:00
SarahW
b92634dea6 Added missing Alpha+YIQ texture format to Voodoo.
Added depth source select to Voodoo.
Fixes graphics issues with Requiem : Avenging Angel
2016-08-29 17:29:55 +01:00
SarahW
9f4b159121 Move video blit to seperate thread. 2016-07-18 21:15:32 +01:00
SarahW
17865d84bc If Voodoo FIFO is full and FIFO thread is waiting for swap to complete, process swap immediately. Fixes hangs in Carmageddon and TOCA 2. 2016-05-26 21:38:21 +01:00
SarahW
9970f030c5 Fixed off-by-one error in Voodoo when Y coordinates are reversed. 2016-04-09 20:53:21 +01:00
SarahW
74786231c5 Added Voodoo depth biasing. 2016-04-08 21:40:15 +01:00
TomW
92e45c33e7 Added x86-64 Voodoo recompiler. 2016-03-23 21:16:41 +00:00
TomW
88256eff59 Removed global temporary variables from Voodoo recompiler - fixed noise when using 2 render threads, also speedup. 2016-02-12 21:40:34 +00:00