Commit graph

1,461 commits

Author SHA1 Message Date
SarahW
a9509e04ee Cirrus GD5429 doesn't support PCI, so don't look at the PCI command register when updating mappings. Fixes GD5429 on PCI systems. 2019-05-17 17:03:38 +01:00
SarahW
c39dc641a6 Reset Cirrus Logic hidden DAC counter on accesses to 3c7/3c8/3c9. 2019-05-16 22:07:57 +01:00
SarahW
e2c7bf02ab Add support for 64x64 cursors to Cirrus Logic cards (used by OS/2 Warp). 2019-05-16 22:05:18 +01:00
SarahW
12f8751e5c Fix read of Cirrus Logic cursor position registers. OS/2 Warp now detects CL cards correctly. 2019-05-16 21:52:07 +01:00
SarahW
51341c5ca6 Support CD-ROM commands with zero allocation length. Fixes 'Device failed to request command' on PB570. 2019-05-15 19:51:57 +01:00
SarahW
de3bb62e0c Interpreter now updates TSC every instruction. Fixes Desert Strike. 2019-05-14 20:32:32 +01:00
SarahW
1f57a70a21 Slow down sector read/write speed on AT Fixed Disk Adapter. Fixes OS/2 v1.0 hard drive formatter. 2019-05-13 19:39:56 +01:00
SarahW
a1e2ee3218 Set eviction/mask entries in pages[] array for remapped pages. Fixes crashes on PS/2 and possibly some other models. 2019-05-13 17:49:33 +01:00
SarahW
388229aeb5 Rework bit depth selection on SDAC to add a few missing cases. 2019-05-12 18:00:48 +01:00
SarahW
aa933688eb Fix reads of 3C6 on SDAC (Bahamas 64) when not returning command register or RAMDAC ID. 2019-05-12 18:00:19 +01:00
SarahW
51c4a1455e Fix clock selection on S3 Vision864 w/SDAC (Bahamas 64). 2019-05-12 17:59:21 +01:00
SarahW
bd8cade1fb Remove 4 MB option from Bahamas 64; this card only supports up to 2 MB. 2019-05-12 17:58:37 +01:00
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