Commit graph

301 commits

Author SHA1 Message Date
TomW
cd8d2a6824 Added FP_ENTER() to FPU instructions that were missing it. 2015-08-10 17:50:56 +01:00
TomW
0e76e79962 Fixed CPL in IRET and RETF instructions when returning to conforming code segment. 2015-08-10 17:50:15 +01:00
TomW
68546ea3cb Corrected CPL on INT to conformant code segment. 2015-08-10 15:01:36 +01:00
TomW
8056c314c5 Fixed disc_changed array overrun - fixes disc error in OS/2 v1.3. 2015-08-10 08:38:25 +01:00
TomW
9715794e08 Recompiler now handles divide exceptions correctly - now runs Flight Simulator 5.1 with QEMM 2015-08-09 13:06:01 +01:00
TomW
8ee5c763bd PIT now reloads the timer count when hardware triggered strobe completes - no longer causes the emulator to hang. 2015-08-09 12:17:34 +01:00
TomW
959be30bd7 deviceconfig_open() now frees correct data pointer. 2015-08-09 10:04:14 +01:00
TomW
44f80b879e Implemented correct Voodoo pixel clock calculation. 2015-08-08 20:57:17 +01:00
TomW
f75a24f539 Rewrote recompiler implementation of NEG. 2015-08-08 16:05:05 +01:00
TomW
34c0db9c10 Masked off the lower 12 bits of CR3. DESQview/X now works. 2015-08-08 11:25:16 +01:00
TomW
2db98723c7 REP instructions in 32-bit mode with both 0x66 and 0x67 prefixes now work correctly - fixes QEMM and DESQview. 2015-08-07 21:31:00 +01:00
TomW
81d13e37f6 Implemented dirty blitting for Voodoo. 2015-08-06 20:14:08 +01:00
TomW
14b73fb7e6 Fixed device requested in MingW64 OpenAL code. Patch from Battler. 2015-08-05 20:46:55 +01:00
TomW
5f391a1992 Reduced number of unnecessary register loads in x86-64 recompiler. 2015-08-05 20:31:20 +01:00
TomW
0bf08d9e74 x86-64 recompiler now at parity with x86-32 2015-08-04 18:36:27 +01:00
TomW
396306bc39 Added VTech Laser Turbo XT and Laser XT3. Patch from te_lanus. 2015-08-02 11:35:09 +01:00
TomW
6b7d387787 Added AMI XT clone. Patch from nerd73. 2015-07-25 18:33:38 +01:00
TomW
04a0859f79 Effective address calculations now implemented by recompiled code in x86-64 recompiler. 2015-07-19 16:59:58 +01:00
TomW
406b16fa28 Add Voodoo Graphics to Linux configure menu 2015-07-18 16:53:52 +01:00
TomW
634c235dc2 Fix Linux build. Enable 64-bit recompiler in Linux. 2015-07-18 16:03:39 +01:00
TomW
08254b8dfb Initial 64-bit recompiler.
Various 64-bit fixes.
Various fixes to allow building under MinGW-w64.
2015-07-18 12:11:54 +01:00
TomW
5be9127d64 Added 3DFX screen filter and gamma correction. Patch from leilei. 2015-07-14 20:42:14 +01:00
TomW
854a2ee2a6 Fixed Final Fantasy 7 broken by rev 277. 2015-07-14 20:09:14 +01:00
TomW
6bc394b4c6 Recompiler now handles reset caused by a newly generated codeblock. 2015-07-12 15:22:58 +01:00
TomW
d79814692f Flush memory->codeblock list heads on CPU reset - fixes "block->next->pc=0" errors on reset on some machines. 2015-07-12 14:53:03 +01:00
TomW
e590bd9ca2 Added FDC37c655 SuperIO chip for Intel Premiere/PCI. 2015-07-12 14:22:47 +01:00
TomW
13ca7eadd4 Implemented LPT control register. 2015-07-12 14:09:26 +01:00
TomW
f49e8a6cab Intel Premiere/PCI now uses PS/2 mouse. 2015-07-12 12:12:27 +01:00
TomW
e10ee63a10 Added support for up to 4 IDE hard drives. 2015-07-12 11:43:12 +01:00
TomW
c84cf05dc2 Minor optimisations to recompiler memory functions. 2015-07-10 20:58:41 +01:00
TomW
51489d031c Reduced number of segment/selector checks in recompiler - minor speedup. 2015-07-08 20:40:37 +01:00
TomW
80555e9d2a Added Compaq Deskpro 386 emulation. 2015-06-30 20:17:43 +01:00
TomW
b9ad63e2fc Windows MIDI code now handles sysex messages correctly. 2015-06-30 17:47:03 +01:00
TomW
78a36b2e9d IOCTL CD-ROM code now returns 'not ready' when TOC can not be read. Should fix crashes in Windows 9x when CD drive empty or disc changed. 2015-06-27 16:39:06 +01:00
TomW
3e1600ae9e XTIDE support added for PS/1. 2015-06-27 14:37:10 +01:00
TomW
9f09e9c370 Added PS/1 model 2011 emulation. 2015-06-21 16:03:33 +01:00
TomW
0bf3e231e5 Improvements to PS/2 mouse emulation. 2015-06-21 15:34:27 +01:00
TomW
b5a498683a Writing to read-only data selector now causes a fault. 2015-06-21 14:54:58 +01:00
TomW
fd2fc0e02b Implemented serial scratch register.
Serial IER register only 4 bits wide.
2015-06-21 14:52:53 +01:00
TomW
de6369b82f Disc function pointers cleared when disc ejected.
Read address on an ejected disc now times out.
Write protect bit in ST3 now set correctly (Sense Drive Status command).
Fixes discs on Windows 95.
2015-06-21 14:51:58 +01:00
TomW
b7947bd68b Fixed BIOS ROM file offset for IBM VGA. Marked VGA as working. 2015-06-13 20:16:02 +01:00
TomW
63d33deb10 Added Mobile Pentium MMX CPUs (120-300 MHz). 2015-06-13 16:50:53 +01:00
TomW
f3607c2308 Added code generation for :
- FCOM/FUCOM
- FSUBR/FSUBRP/FDIVR/FDIVRP
- FLDCW/FSTCW
- FILD/FIST/FISTP (16-bit, 32-bit and 64-bit variants)
- FLD/FST/FSTP double precision
- Integer and double precision variants of FADD/FSUB/FMUL/FDIV
Also added 64-bit readmemq/writememq functions.
2015-06-13 16:14:35 +01:00
TomW
f5a920e2e5 Voodoo buffer swaps now processed when VGA passthrough enabled - fixes Re-Volt. 2015-06-06 14:26:38 +01:00
TomW
a44be6194c Further fixes to framebuffer read hangs in Voodoo - fixes International Rally Championship. 2015-06-05 20:48:29 +01:00
TomW
685e2460d4 Added RGB555 and ARGB1555 LFB formats for Voodoo. 2015-06-04 21:49:09 +01:00
TomW
75fa159caf Reworked Voodoo thread synchronisation, helps performance. 2015-06-01 19:17:26 +01:00
TomW
ca7bd3740b Fixed hang in Voodoo emulation when a framebuffer read occurs while a swap request is pending - fixes Tomb Raider. 2015-05-31 16:43:55 +01:00
TomW
90aa13aa29 Voodoo PCI mapping disabled if base address is zero - fixes Voodoo + Sis496/497. 2015-05-31 12:30:52 +01:00
TomW
4b2eb2e252 Added Power on Setup register (46e8) for OAK OTI-067 - no longer goes to monochrome after reset. 2015-05-31 11:19:06 +01:00