Commit graph

549 commits

Author SHA1 Message Date
SarahW
d27c7a0947 Replaced Windows critical section with mutex - fixes some issues with window movement/resizing when using Direct3D output. 2016-08-28 20:31:12 +01:00
SarahW
6aef53e854 Remove remaining references to 32-bit addresses in x86-64 recompiler. 2016-08-28 15:58:30 +01:00
SarahW
ea4cd4f35c Added simpler Linux makefiles for those who don't want to use autoconf. Based on patch from moochmcgee 2016-08-28 15:58:52 +01:00
SarahW
ab7ef825c5 Fixed build issue in allegro-video.c 2016-08-28 14:39:41 +01:00
SarahW
5a02b518b8 Moved FPU register stack into cpu_state structure.
Fixed a couple of FPU bugs in x86-64 recompiler that were introduced in rev 543, fixes lightmap issues in Half-Life.
2016-08-25 21:09:02 +01:00
SarahW
eb126fd822 Moved more variables into cpu_state structure. 2016-08-21 21:28:23 +01:00
SarahW
c664682758 Move some more variables into cpu_state structure. Minor speedup (~2%). 2016-08-17 21:28:16 +01:00
SarahW
a65411466e Corrected GUS IRQs when GF1 and MIDI IRQs are combined.
Corrected voice playback when rollover is enabled.
Fixes issues with Windows 3.1 GUS drivers.
2016-08-16 20:29:12 +01:00
SarahW
4e9400bfca IBM PC now has correct memory size switch settings implemented - should now boot correctly on configurations other than 640kb. 2016-08-16 18:37:34 +01:00
SarahW
5f6fb407d4 Force re-seek on disc loading - fixes issues with disc change not seen on some models. 2016-08-16 18:13:41 +01:00
SarahW
4e299a8038 Rewrote handling of host time synchronisation. Amstrad machines now boot again.
Also fixed a bug where the emulated time ran 100x faster than expected.
2016-08-15 20:28:02 +01:00
SarahW
535604b760 Pack decoded ModR/M data into a single word - minor recompiler speedup. 2016-08-14 16:29:54 +01:00
SarahW
31298d6be1 Recompiler no longer sets tempc variable before calling opcode routine. 2016-08-14 11:22:07 +01:00
SarahW
57e2a45d83 PIC mask is set to 0 when ICW1 is written - Crystal Dream 2 now works. 2016-08-11 20:25:00 +01:00
SarahW
2457ff050f Fixed vblank start on ET4000 - now displays 1280x1024 correctly. 2016-08-01 16:29:51 +01:00
SarahW
064acbf07d Added self-modifying code fix to x64-64 recompiler. 2016-08-01 16:12:13 +01:00
SarahW
81b1bfc07f Fix self-modifying code bug, Windows 3.1 works again. 2016-08-01 15:04:17 +01:00
SarahW
42237ac1f8 Recompiler now only recompiles a block after seeing it twice. Improves performance on stuff that uses self modifying code - eg Doom, Duke Nukem 3D, Windows 95 idle 2016-07-31 12:33:37 +01:00
SarahW
d027c55269 Reduced ET4000/W32p FIFO by one entry - fixes display corruption with some drivers. 2016-07-26 21:04:39 +01:00
SarahW
9111b282f9 Added option to disable CGA snow emulation. 2016-07-21 21:36:51 +01:00
SarahW
ea40fefa4f Added missing svga_recalctimings() call to STG and unknown ET4000 RAMDACs. 2016-07-21 20:50:18 +01:00
SarahW
ef4d0ce9c2 Added Thrustmaster FCS emulation. 2016-07-21 20:14:17 +01:00
SarahW
68fdba354f Added CH Flightstick Pro emulation. 2016-07-20 22:04:50 +01:00
SarahW
074de51639 RTC changes :
- Replace linux-time.c and win-time.c with universal rtc.c code
- Add RTC binary and 12-hour modes, century register, and alarm support
- Cleaned up nvr.c a bit
- Fix handling of update ended flag
- Add ability to disable host clock synchronisation
Changes from Battler and Mahod.
2016-07-19 20:25:27 +01:00
SarahW
9f4b159121 Move video blit to seperate thread. 2016-07-18 21:15:32 +01:00
SarahW
7818f459ee Improved CGA composite filter. Filter by reengine, patch from Battler. 2016-07-08 19:57:47 +01:00
SarahW
4ae8f2d260 REP instructions now handle trap flag correctly, Windows NT 3.51 now works on 386 systems. 2016-06-28 21:58:21 +01:00
SarahW
9283bd320f Added files missing from 520. 2016-06-23 17:55:38 +01:00
SarahW
7980438e1f Reworking of joystick support :
- Joystick type now selectable
- Added emulation of standard joysticks with up to 8 buttons
- Added emulation of Microsoft Sidewinder pads
- Host->emulated joystick button & axis mapping now configurable (only on Windows atm)
- Gameport registers now take 1us to access - helps Sidewinder drivers
2016-06-21 22:00:31 +01:00
SarahW
9021d9f2c2 PIT now supports read-back of timer status - Sidewinder Windows 9x driver setup no longer hangs. 2016-06-21 21:55:06 +01:00
SarahW
01ad1ed98c Add option to remember window size & position. 2016-06-10 20:49:03 +01:00
SarahW
541c9f0030 Fixed Voodoo x86 codegen data allocation - should work with DEP enabled. 2016-06-06 21:27:52 +01:00
SarahW
8790a58f8f Update version number to v11.
Update readme.txt for v11.
2016-06-05 20:59:51 +01:00
SarahW
8521ef6435 Disable ViRGE memory dumping in release build. 2016-06-05 20:59:36 +01:00
SarahW
45c7eab585 Fixed Sound Blaster CD audio volume. 2016-06-05 18:00:50 +01:00
TomW
7bd35a0c10 Update Makefile.am 2016-06-05 08:24:18 +01:00
SarahW
2c8dfb11d3 Corrected CRTC address mask on Mach64 - SuSE 6.3 YaST2 doesn't give broken display anymore. 2016-06-02 19:35:46 +01:00
SarahW
17865d84bc If Voodoo FIFO is full and FIFO thread is waiting for swap to complete, process swap immediately. Fixes hangs in Carmageddon and TOCA 2. 2016-05-26 21:38:21 +01:00
SarahW
a2f96effad Added 0xDC aliases for FCOM/FCOMP - Trespasser now works. 2016-05-25 19:23:36 +01:00
SarahW
d2b6ea7fa3 Mix sound sources in 32-bit buffer, then clip to 16-bit for output. Fixes overflow in some situations, eg MegaRace on SB16. 2016-05-22 16:04:19 +01:00
SarahW
9a5ac02902 Clear DSKCHG on any seek command, regardless of whether the head actually moves - fixes floppy in OS/2 Warp. 2016-05-22 13:50:41 +01:00
SarahW
b35e17c2b4 Corrected XDF track 0 layout, fixes OS/2 Warp setup. 2016-05-22 13:50:10 +01:00
SarahW
7fbb99fe75 Don't quit emulator on triple fault when dynamic recompiler enabled. 2016-05-21 21:14:00 +01:00
SarahW
696f25a8a4 Fixed OPL3 percussion mode. 2016-05-19 21:18:00 +01:00
SarahW
02153343ab Fixed clamping issue with RGB iterator in Voodoo code generation. Fixes artifacts in Alien vs Predator. 2016-05-18 20:08:13 +01:00
SarahW
abf975e2af x86-64 recompiler now saves/restores correct registers on entry/exit of code block. 2016-05-18 20:06:28 +01:00
SarahW
4024be8e52 ViRGE 2D blitter wraps X coordinates at 11 bits. Fixes missing text with some Windows drivers. 2016-05-15 21:09:26 +01:00
SarahW
693d6fe757 Removed incomplete ATAPI Get Configuration command, Windows XP setup now works again. 2016-05-15 19:54:56 +01:00
SarahW
ffb1a46fc1 Brought Linux GUI up to date. 2016-05-15 11:58:58 +01:00
SarahW
512c8e5d44 Winchip FPU timings now more accurate. 2016-05-14 19:36:40 +01:00