Commit graph pcem/src
Author SHA1 Message Date
SarahW
c682e070a6 Fix x87 tag register when using MMX instructions. Fixes numerous issues when an MMX process is running at the same time as one or more other MMX/FPU processes (usually seen running 3dfx games with AudioPCI). 2019-05-11 18:41:31 +01:00
SarahW
451e80a333 Fall back to interpreter version of FADD if x87 rounding mode is not nearest. Fixes software rendering in Battlezone. 2019-05-11 11:45:08 +01:00
SarahW
83f2869123 Don't unroll a loop if x87 top of stack is different at the start and end of the loop. Fixes Battlezone. 2019-05-11 11:44:33 +01:00
SarahW
2b6b14f175 Set BUSY_STAT in ATAPI code. Fixes 'Device failed to request command' error when installing Windows ME. 2019-05-08 21:50:52 +01:00
SarahW
6a27983f17 In Windows IOCTL CD-ROM code, only try reading via SPTI if ReadFile returned success but didn't read all requested data. Fixes Red Alert 2 installer. 2019-05-08 21:49:47 +01:00
SarahW
5ef5fc1f98 Tweak Voodoo swap pending code. Fixes hang in Carmageddon 3DFX version. 2019-05-05 17:08:17 +01:00
SarahW
5e35e48ec7 XMM registers are not preserved across function calls, and should be flushed & discarded by the recompiler prior to calling external functions. Fixes graphics issues in some games (eg World Cup 98 title/menus). 2019-05-05 14:49:10 +01:00
SarahW
e2a9629a89 Fix typo in Makefiles. 2019-05-05 09:22:26 +01:00
SarahW
8a7c3d78e7 Fix timer bugs in Windows Sound System emulation. 2019-05-04 18:26:14 +01:00
SarahW
cfd2e4e14c Fix gameport timing when no joystick plugged in. Fixes phantom joystick in some games (eg Rayman, The Lion King, Zone 66). 2019-05-04 16:02:55 +01:00
SarahW
12439b7c62 Add 82091AA AIP SuperIO for Packard Bell PB520R. Fixes floppy drives and duplicate ports in Windows 95. 2019-05-04 15:53:46 +01:00
SarahW
7be2eb53e2 Restore correct CS on abort while processing a CALL to a non-conforming code segment. Fixes OS/2 Warp. 2019-05-02 21:54:08 +01:00
SarahW
277b4c3988 Mask PC correctly on IRET to V86 mode. Fixes Windows NT 3.51 installer. 2019-05-02 19:55:29 +01:00
SarahW
49f2f34249 Fixed CTRL-ALT-DEL menu option broken by recent keyboard changes. 2019-05-01 21:38:28 +01:00
SarahW
66b0b9c926 Use inline assembly routine for x87 comparisons on x86-64. Fixes Unreal. 2019-05-01 20:18:13 +01:00
SarahW
abb5184ed4 Loading SS in v86 mode (but not real mode) does reset the stack size. Fixes DOS programs in Windows 9x. 2019-04-30 21:47:17 +01:00
SarahW
b98a6d63b1 Fix up offset calculations in x86-64 absolute address opcode generation, and add pointer to RAM array in NO_IMMEDIATES blocks. Fixes crashes/segfaults with x86-64 recompiler. 2019-04-30 21:20:00 +01:00
SarahW
57be2ef8d4 Add ability to change AT keyboard scancode and disable translation. Fixes keyboard in Solaris 8. 2019-04-28 18:35:11 +01:00
SarahW
4476fee2ec Loading SS in real mode does not change stack size. Fixes Solaris 8 bootup. 2019-04-28 18:34:33 +01:00
SarahW
16a86adbf8 Force implicit dependency on previous register version when accessing a partial register. Fixes graphics issues in Windows 95 on Packard Bell PB410A using built-in HT216 video. 2019-04-28 10:04:30 +01:00
SarahW
16bc3bb6ec Don't call addreadlookup() from get_phys() unless the address being translated is in RAM. Fixes Windows 95 install on Packard Bell PB410. 2019-04-27 18:31:22 +01:00
SarahW
8cb5c5eff2 Fixed register typo in 0x81 NO_IMMEDIATES ADC/SBB. Fixes SB audio in Worms. 2019-04-27 12:47:45 +01:00
SarahW
6560782b73 Fix missing text cursor on PC1512. 2019-04-26 17:55:33 +01:00
SarahW
b9e7f1b9d6 Correct fixed horizontal timing on PC1512 video. Fixes refresh rate. 2019-04-26 17:48:22 +01:00
SarahW
f7e8aa652e Fix pixel clock on HT216-32. 2019-04-26 17:32:14 +01:00
SarahW
5d9b14ac4a Fix pixel clocks on ATI-28800, ET4000 and Trident graphics cards. 2019-04-26 17:28:01 +01:00
SarahW
9aca6a8cb8 Don't double-add the T1000/T1200 video device. Fixes T1000/T1200 video. 2019-04-26 17:06:38 +01:00
SarahW
650b8cb5da Fix waitstate on accessing timer on timer registers on Premiere/PCI and Packard Bell PB520R. 2019-04-26 15:16:33 +01:00
SarahW
3508059f16 Make RTC/NVR a normal device instead of a special thing. Fixes nvr_recalc() being called on systems without NVR, which could cause timer crashes. 2019-04-26 14:59:34 +01:00
SarahW
58e42fda81 Don't enable RTC clock on speed change if RTC timer not enabled. Fixes crash when changing configuration with XT models. 2019-04-26 09:02:55 +01:00
SarahW
c876f1376d Remove obsolete linux/osx Makefiles. Users of those platforms should use autoreconf; ./configure; make instead. 2019-04-25 08:17:40 +01:00
SarahW
22ebbec201 Makefile.am fixes. 2019-04-25 08:14:51 +01:00
SarahW
c8f012f7f9 Makefile fixes. 2019-04-24 21:25:52 +01:00
SarahW
2f19e036f2 Disable fflush in pclog() accidentally enable in a previous commit. 2019-04-24 17:49:54 +01:00
SarahW
b3f61c09c0 Clamp 286/386 prefetch queue size. 2019-04-24 17:49:28 +01:00
SarahW
1242754343 Fix IM-1024 timing. 2019-04-24 17:48:00 +01:00
SarahW
f23dc883fc Merge from trunk 2019-04-24 12:51:38 +01:00
SarahW
38b9ada47b Fix incorrect op/uop separation for PUNPCKH* on x86 backend. 2019-04-24 12:28:39 +01:00
SarahW
9ee37e424e Rename codegen_backend.c to codegen_block.c 2019-04-24 12:15:26 +01:00
SarahW
1db2fc6908 Use mmap() to allocate Voodoo recompiler memory on Linux instead of malloc() + mprotect(). Based on patch from Martin_Riarte. 2019-04-23 21:23:14 +01:00
SarahW
fb32dfceca Added Image Manager 1024 emulation. Patch from John Elliott. 2019-04-23 20:44:26 +01:00
SarahW
443ae04fa3 Add Bull Micral 45 emulation. Patch from dns2k. 2019-04-23 17:00:05 +01:00
SarahW
50e7de5214 Merge from trunk 2019-04-18 20:46:38 +01:00
SarahW
4b7328f06e Add cassette emulation to IBM PCjr. 2019-04-17 20:37:48 +01:00
SarahW
84a098bc98 Add read-only cassette emulation to IBM 5150 PC. Patch from JohnElliott. 2019-04-17 20:37:23 +01:00
SarahW
750d7021e4 Fix warning in laserxt.c 2019-04-17 18:47:39 +01:00
SarahW
4851a2fa9b Add software turbo control to Laser Turbo XT. Patch from Greatpsycho. 2019-04-17 18:36:02 +01:00
SarahW
081701a3c8 Allow access to Korean font ROM on ATI Korean VGA when Korean character display mode isn't activated. Patch from Greatpsycho. 2019-04-17 18:22:22 +01:00
SarahW
077304fb83 Disable memory > 640kb on XT systems when EGA/VGA cards in use. Patch from Greatpsycho. 2019-04-17 18:17:35 +01:00
SarahW
0a5198828a Latch Voodoo vertices at the start of triangle_setup() before sorting to prevent any races. 2019-04-17 18:04:05 +01:00