Commit graph

470 commits

Author SHA1 Message Date
SarahW
9970f030c5 Fixed off-by-one error in Voodoo when Y coordinates are reversed. 2016-04-09 20:53:21 +01:00
SarahW
c83e9ed14e Changes to Voodoo recompiler :
- Invalid cc_mselect values now return zero
- Fixed texture alpha in colour combiner
- Fixed typo in cca_invert_output
- Only clip alpha value if it's actually used
2016-04-09 20:43:19 +01:00
SarahW
74786231c5 Added Voodoo depth biasing. 2016-04-08 21:40:15 +01:00
SarahW
14df80109b Added recompiler block tree to x86-64 recompiler. Fixed return value in codeblock_tree_find() that could cause GCC to generate bad code. 2016-04-08 20:49:03 +01:00
SarahW
36bb949126 If recompiler block hash table points to wrong block, then walk tree to find correct block instead of recompiling. Speedups of 10-20% on games that were seeing hash aliasing, eg Quake III, System Shock 2, UltraHLE etc 2016-04-06 20:48:36 +01:00
TomW
c9111b22a2 Updates and fixes to Linux IOCTL CD-ROM code. Based on patch from Battler 2016-04-04 15:15:08 +01:00
SarahW
11eb87b436 Implemented ATAPI audio channel select. Based on patch from Battler. 2016-04-04 11:44:40 +01:00
TomW
99df1f6d87 Adjust MSF->LBA conversion in Windows IOCTL CD-ROM code.
Improve raw sector read in Windows IOCTL CD-ROM code.
Patch from Battler.
2016-04-04 11:08:23 +01:00
TomW
db3519657a Windows IOCTL CD-ROM code no longer stops CD audio when reading disc size. Fixes CD audio in OS/2. 2016-03-31 21:24:01 +01:00
TomW
c00b16a44c Added IDE Verify Once command. Fixes hard disc formatting on early OS/2 versions. Patch from Battler. 2016-03-30 21:00:03 +01:00
TomW
0ecd777257 Added CTRL-ALT-DEL menu option to Allegro GUI. Patch from Greatpsycho. 2016-03-29 20:49:30 +01:00
TomW
b0dceca71a Move memory files around: *.nvr, eeprom files -> nvr/ ; mda.rom -> roms/. Patch from cooprocks123e. 2016-03-29 20:11:43 +01:00
TomW
8d90f77279 Access bit now set in selector descriptors. 2016-03-29 20:06:55 +01:00
TomW
c06d8913ce Corrected faulted selector on not present fault when JMPing to call gate pointing to not-present selector. Fixes OS/2 2.0 with some video drivers. Patch from Battler. 2016-03-24 20:21:56 +00:00
TomW
38af408445 Fixed compilation issues with Linux CD-ROM code. 2016-03-23 21:17:09 +00:00
TomW
92e45c33e7 Added x86-64 Voodoo recompiler. 2016-03-23 21:16:41 +00:00
TomW
673a3527af Don't cause illegal instruction exception on unknown REP instruction. Patch from Battler. 2016-03-17 21:47:56 +00:00
TomW
91405ece3c Added missing stereo panning to GUS. 2016-03-14 18:00:16 +00:00
TomW
9347d28ff3 Fixed race condition with ViRGE 2D blitter. 2016-03-09 20:04:21 +00:00
TomW
0faa803061 CD-ROM changes from Battler, including :
- New disc change handling
- Additional ATAPI commands
- CD drive-level volume control
2016-03-08 20:47:05 +00:00
TomW
5b3d307181 CD-ROM IDE channel now configuarable. Based on patch from Battler. 2016-03-06 17:23:51 +00:00
TomW
4531f5c7a7 IDE fixes for 'unusual' configurations. 2016-03-06 17:23:01 +00:00
TomW
e7de1a6742 Direct3D blitting code doesn't do anything if updated area is 0 - fixes crash on Intel HD graphics. 2016-03-02 19:16:51 +00:00
TomW
23005e8682 Fixed crash in Configuration window. 2016-03-02 18:11:08 +00:00
TomW
4011a246ff Added code generation for MMX instructions 2016-02-24 20:55:48 +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
TomW
0a46e11efe Move ViRGE 2D blitter to seperate thread. 2016-02-11 20:35:49 +00:00
TomW
1dc92ffbfe Set Sound Blaster auto-init DMA to 64k on DSP reset - Jazz Jackrabbit works again. 2016-02-10 20:50:13 +00:00
TomW
9795fe8f34 Fixed read data on OPL3 - Windows Sound System works again. 2016-02-10 20:49:45 +00:00
TomW
3a57341837 Refactored sound code - slight speedup. 2016-02-10 20:49:28 +00:00
TomW
0b6be244ac Added 386 LOADALL instruction, removed 286 LOADALL from non-286 CPUs. Patch from Battler. 2016-02-07 18:15:43 +00:00
TomW
94f33aa873 More accurate timing for INT, IRET, CALL far, RET far and JMP far. 2016-02-06 18:08:10 +00:00
TomW
0ad692ad5c Implemented Mach64 VGA 256kb wraparound. 2016-02-06 15:59:50 +00:00
TomW
cef4049bf5 Added missing return types to get_phys() functions. Patch from John Elliott. 2016-02-04 20:35:43 +00:00
TomW
467b742af5 Added Hercules InColor emulation. Patch from John Elliott. 2016-02-04 20:35:23 +00:00
TomW
673d785743 Writing to a memory page with code present only causes code block flushes if the data changes, or if a block is currently being recompiled. 2016-02-03 21:09:05 +00:00
TomW
f7e4a0f32e Fixed crash on XT models when accessing unmapped areas 2016-02-01 20:57:18 +00:00
TomW
b38a3fd838 Fix overflow and scaling in Linux 8-bit blitting code. 2016-02-01 20:44:48 +00:00
TomW
2bc2bbc939 Cached results of MMU lookup in get_phys(). 2016-01-27 21:05:28 +00:00
TomW
20c3415202 Reworked TVGA banking. Fixes some Windows 3.x drivers. 2016-01-23 18:01:03 +00:00
TomW
50dfd8b7a5 Moved mem_add_bios() call to model code. Fixes Intel Flash. 2016-01-23 15:21:33 +00:00
TomW
38fb86cb95 stack32 is now always 0 or 1, to prevent failed comparisons in 386_dynarec.c.
Only clear an entry in codeblock_hash if it's pointing to the block actually being deleted.
Speeds up menus in Railroad Tycoon II significantly.
2016-01-23 14:36:59 +00:00
TomW
39c95ee0af Moved BIOS mapping initialisation - SiS 496/497 now boots again without requiring hard reset. 2016-01-17 20:57:30 +00:00
TomW
c0b136248a Add -mstackrealign to Makefile.mingw. 2016-01-15 22:08:08 +00:00
TomW
7b5766598e Fixed typo in cpu.c when initialising FPU dynarec opcode tables for 486SX CPUs. 2016-01-15 20:10:44 +00:00
TomW
4846e66fd7 Fixed typo in PIT structure. 2016-01-15 20:10:08 +00:00
TomW
231be4ce0e Fixed Voodoo rendering when integer and floating point coordinates are mixed - fixes HUD in Starsiege Tribes, map in NFS II SE and NFS III. 2016-01-14 21:49:36 +00:00
TomW
0601d2d919 Fixed clamping of T coordinate in Voodoo recompiler - fixes lightmaps in Starsiege Tribes 2016-01-14 20:41:34 +00:00
TomW
1b2f58326e Update ViRGE mapping on writes to PCI command register - fixes text console in Debian 5.0. 2016-01-13 20:47:58 +00:00
TomW
e69c41d0d6 Fixed 3DFX recompiler on Linux 2016-01-12 21:28:53 +00:00