Commit graph

941 commits

Author SHA1 Message Date
SarahW
2f1514d3b2 Dynarec now jumps straight to GPF handler if it hits a NULL selector instead of relying on interpreter code to detect the GPF. Fixes hang in Windows 98 SE upgrade setup. 2017-11-27 21:09:42 +00:00
SarahW
f0b213fef0 Mask ViRGE source colour to current destination colour depth. Fixes chroma transparency in Beasts and Bumpkins. 2017-11-26 17:46:21 +00:00
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
542eb75483 Fixed bug in Voodoo recompiler breaking cc_localselect_override. Fixes colours in Return Fire II. 2017-11-23 21:11:43 +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
4af811699e Fix dynarec timer granularity to 5us. Fixed speed issues in Tubular Worlds. 2017-11-19 21:55:49 +00:00
SarahW
97ac443f70 More fixes/improvements to T3100e. Patch from John Elliott. 2017-11-19 21:30:42 +00:00
SarahW
717d815604 Tweak flat DS/SS dynarec optimisation, should reduce block churn when routines are called both with and without flat DS/SS.
Fixed incorrect STACK32 flag when entering V86 mode that was hidden by block churn.
Protected and V86 mode status now considered when selecting block.
2017-11-15 21:55:27 +00:00
SarahW
13496ba7b9 Implement IDE Check Power Mode command. Fixes Windows NT4 with SP4 or later. 2017-11-13 21:56:44 +00:00
SarahW
a16fdb195e Adaptec/BusLogic cards now pad out command with zeros if command length is longer than stated in the CCB. Fixes Windows NT 4.0 installation (sends 10 byte instead of 12 for READ CD). 2017-11-12 12:53:22 +00:00
SarahW
a8ce4ebc86 Voodoo now clamps texture caching to valid LOD levels. 2017-11-11 20:50:51 +00:00
SarahW
0634cba224 Added autoconf test for off64_t and related calls. 2017-11-11 20:48:03 +00:00
SarahW
43eabc727c Added OS X support to build system. 2017-11-11 20:23:01 +00:00
SarahW
64cb5f580f Recompiler now works on Mac OS X. 2017-11-11 20:21:20 +00:00
SarahW
e8919433b2 Fix OpenAL include path on Mac OS X. 2017-11-11 20:20:35 +00:00
SarahW
7c9bb73b57 Voodoo x86-64 recompiler now works correctly with addresses above 4GB. 2017-11-11 20:20:16 +00:00
SarahW
170cf99ffb Fix out-of-bounds array access in Mouse Systems mouse emulation. 2017-11-11 20:16:40 +00:00
SarahW
4c42cc1596 Implement Headland fast reset. Fixes AMI 386SX clone. 2017-11-06 22:10:32 +00:00
SarahW
f2e1e307c6 Don't write directly to PC speaker state when writing PIT control byte. Fixes engine cacophony in Hard Drivin' II. 2017-11-06 21:38:07 +00:00
SarahW
bb4fbdd9c2 Fixed >32 bit shifts on 808x CPUs. Fixes Titus the Fox. 2017-11-05 17:17:58 +00:00
SarahW
b97d525e0c Fix 8-bit RAMDAC palette handling. 2017-11-05 15:42:04 +00:00
SarahW
5af136bc61 Disable NE2000 debug output by default. 2017-11-05 15:00:10 +00:00
SarahW
363fc1b01c Improve NE2000 interrupt handling. 2017-11-05 14:53:19 +00:00
SarahW
bc4f98d814 Changes to LaserXT/3 :
- Changed LaserXT/3 processor to 8086.
- Changed LaserXT/3's minimum memory size to 512KB and granularity to 128KB.
- Changed EMS size granularity to 256KB on Laser Turbo XT and 512KB on LaserXT/3. Base memory size is calculated automatically.
- The mem_set_mem_state() function call for above of 1MB is called only when the memory size is more than 1024KB.
Patch from Greatpsycho.
2017-11-04 13:45:39 +00:00
SarahW
3fa1e23cf5 Fixed bugs in Voodoo recompiler. Fixes Descent Freespace. 2017-11-04 12:38:40 +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
0e028ca64c Fixed typo in Voodoo recompiler, fixes crash in Powerslide. 2017-11-03 21:09:41 +00:00
SarahW
e388086943 Fixed a number of issues in Voodoo recompiler, fixes dark rendering in MiG-29 Fulcrum. 2017-10-29 16:07:46 +00:00
SarahW
65a9d17674 Toshiba T3100e improvements :
* Enables [Fn]+key combinations (using right-Ctrl or right-Alt as [Fn]). In particular:
* Implements switching the built-in display adapter between the 'internal' plasma display ([Fn]+[Home]) and an 'external' CGA monitor ([Fn]+[End])
* Allows the video font to be toggled between thin and thick ([Fn]+[Right arrow]).
* Implements the four hardware fonts of the original, selectable in BIOS setup.
* Implements CRTC register 12h (attribute mapping and display type)
Patch from John Elliott
2017-10-28 16:03:44 +01:00
SarahW
4747d90702 Fix PCI mapping on ET4000W32/p. 2017-10-28 15:07:24 +01:00
SarahW
c0f948931a Added segment limit checking to opcodes A0 & A1. Fixes all hanging with Trio64 in Windows 95. 2017-10-27 22:15:42 +01:00
SarahW
4974c9cfb1 Use standard VGA RAMDAC on Trio32/64 instead of SDAC - the internal Trio RAMDAC does not implement any extended registers. 2017-10-25 21:09:03 +01:00
SarahW
7d484e0928 Mask off accesses to SDAC extended registers. Fixes out-of-bounds register writes causing corruption seen sometimes in Windows 95. 2017-10-25 20:53:32 +01:00
SarahW
4a489dab1b Remove 512kb configuration from Trio64 - this is not actually supported by the chip. 2017-10-22 12:41:38 +01:00
SarahW
39a68d757b Rework video memory handling to cater for open bus and VRAM address wrapping. Fixes more hangs with Trio64 and Windows 95. 2017-10-22 12:41:10 +01:00
SarahW
da6e537b31 Add S3 Enhanced Mode Mappings address override. Fixes some hangs with Trio64 and Windows 95. 2017-10-22 12:40:09 +01:00
SarahW
3f29d38288 Reset CPU on all AT commands that pulse bit 0, not just 0xf0. Fixes XENIX286. Patch from Greatpsycho. 2017-10-22 12:39:28 +01:00
SarahW
ed000e77c8 Only set IFULL immediately following keyboard selftest on Toshiba T3100e. Fixes Samsung SPC systems. Patch from Greatpsycho. 2017-10-22 12:38:45 +01:00
SarahW
0d5d7ac005 Removed Allegro port. 2017-10-19 21:19:18 +01:00
SarahW
f4fe56edb2 Reworked TGUI code to avoid altering memory mappings outside of main thread. 2017-10-19 21:01:11 +01:00
SarahW
0dfc69af24 When loading config file specified on the command line, use the correct CMOS RAM files. 2017-10-18 20:16:24 +01:00
SarahW
6b7682105b Corrected read of SB Pro mixer registers on SB16. Fixes sound in One Must Fall, Jazz Jackrabbit and probably other games. 2017-10-18 20:03:56 +01:00
SarahW
1e75653c5c Fixed CMS/Game Blaster detection. 2017-10-17 21:39:37 +01:00
SarahW
9a2f541898 Corrected T3100e font ROM loading. Patch from John Elliott. 2017-10-17 20:38:45 +01:00
SarahW
8b4ab935d2 SCAT fixes. Patch from Greatpsycho. 2017-10-16 19:42:31 +01:00
SarahW
c71963727a Recompiler now uses logical address of 0xffffffff rather than 0 to represent invalid block. Fixes some Unixes when recompiler enabled. 2017-10-15 21:32:01 +01:00
SarahW
5f0d43f782 Prefetch simulation no longer counts prefixes when prefetch calculation disabled (eg when CPU cache enabled). Fixes hang on reset on 486+ CPUs. 2017-10-15 21:29:49 +01:00
SarahW
3ba03410fd MMU now handles CPL on read-only pages correctly. Fixes AT&T SVR4 2.1. 2017-10-15 21:28:52 +01:00