Commit graph

1,193 commits

Author SHA1 Message Date
SarahW
ee3f9210dc Implemented basic register allocation.
Mainly handles 'virtual' registers at the moment (eg current and last PC values, segment override status, etc).
2018-06-23 19:04:36 +01:00
SarahW
03fe25d818 First stage of dynamic recompiler rewrite.
Basic IR generation calls C implementation of all instructions.
Backend generation implemented for x86, x86-64, ARM and ARM64.
2018-06-17 20:26:15 +01:00
SarahW
e6dce0920b Disable SDL thread naming on Windows. Fixes running PCem through GDB. 2018-06-05 18:22:47 +01:00
SarahW
e44ca65ad6 Removed old bitrotted Win32 port. 2018-06-04 22:08:38 +01:00
SarahW
b62127f7a8 Move BIOS loading out of mem.c. 2018-06-04 22:03:45 +01:00
SarahW
8ac2157f87 Fixed AT systems broken by rev 1184. 2018-06-04 21:38:18 +01:00
SarahW
cbf4b9f813 Configurable MAC address. Patch from Tux. 2018-06-04 21:02:36 +01:00
SarahW
38e842d88d Load BASIC on Generic XT clone if present. Patch from Greatpsycho. 2018-06-04 20:20:05 +01:00
SarahW
82fcbd99de Allow 704kb on Generic XT clone when MDA/CGA/Hercules are in use. Patch from Greatpsycho. 2018-06-04 20:19:47 +01:00
SarahW
2955df2c5a Fixed strncpy() length when parsing command line. 2018-06-04 20:06:11 +01:00
Greg V
e3f801c2e8 Disable lfs on FreeBSD
It has the off64_t type, but none of the legacy *64 functions.
2018-05-18 02:52:11 +03:00
Greg V
f002abe258 Add dummy cdrom ioctl module for other OSes 2018-05-18 02:51:33 +03:00
Greg V
d5b7a69ff6 Respect the WX_CONFIG_PATH variable
The configure script takes a --with-wx-config argument, we should respect it.
It is very necessary for FreeBSD, which installs wx configs under more specific names such as 'wxgtk2u-3.0-config'.
2018-05-18 02:48:43 +03:00
SarahW
d70382380e Update version number in configure/configure.ac for v14 release. 2018-04-20 14:16:22 +01:00
SarahW
429f49abd1 Update version number and readme for v14 release. 2018-04-20 14:14:10 +01:00
SarahW
7ce5c0c356 More readme.txt updates. 2018-04-20 11:19:51 +01:00
SarahW
8a1cef9851 Tweak DIV timing for Cyrix 486es. Improves Cyrix 486 CPU speed detection on SiS496/497. 2018-04-20 10:58:43 +01:00
SarahW
d489dddeee Tweak 486 prefetch timing when cache disabled, to account for burst accesses. Improves CPU speed detection on SiS496/497. 2018-04-20 10:58:12 +01:00
SarahW
270b6d733a Updates to readme.txt 2018-04-19 22:12:21 +01:00
SarahW
a33f719808 Fix up ROM presence detection on Elonex PC-425X and Packard Bell PB520R and PB570. 2018-04-19 22:05:02 +01:00
SarahW
d4f56b1f27 Correct names of Toshiba laptops. 2018-04-19 22:01:27 +01:00
SarahW
1a28e657b5 NCR PC4i shipped with 256kb RAM as minimum. 2018-04-19 22:01:01 +01:00
SarahW
056eefb196 Reset internal cache status correctly on soft CPU reset. Fixes CPU speed detection on Elonex PC-425X. 2018-04-19 22:00:33 +01:00
SarahW
3d388564c1 Clear carry flag on DIV/IDIV on non-Cyrix processors. Fixes CPU type detection on Elonex PC-425X. 2018-04-19 22:00:09 +01:00
SarahW
e4ddbd8441 Remove waitstates from PIT register accesses. Fixes speed issues with Desert Strike. 2018-04-18 21:10:01 +01:00
SarahW
0b964d51c1 Mark Epson PC AX2e as having PS/2 mouse. Fixes 8602 error. 2018-04-18 20:59:18 +01:00
SarahW
de3379a19f Tweaked XT keyboard code a bit. Fixes Keyboard Error reported by AMI XT clone. 2018-04-18 20:59:01 +01:00
SarahW
51db026b90 SB 2.0 mirrors the OPL2 at ports 2x0/2x1 when CMS/Gameblaster chips are not present. Fixes music in Syndicate. 2018-04-18 16:05:01 +01:00
SarahW
7644c771de Voodoo 2D blitter now marks destination areas as dirty when writing to the front buffer. Fixes FMV in Urban Chaos. 2018-04-17 17:17:39 +01:00
SarahW
1107fc4f28 Force full display redraw on window resize and enter/leave fullscreen. 2018-04-16 17:29:42 +01:00
SarahW
796f401b71 SCSI CD-ROM should not fail on START_STOP_UNIT command with Start set and LoEj clear. Fixes Solaris 4.2 with AHA-1542C. 2018-04-15 20:39:26 +01:00
SarahW
5bfd5aa823 Write SCSI status to AHA-1542C/BusLogic CCB and BusLogic malibox following command completion. Fixes Windows 2000 with BusLogic. 2018-04-15 20:38:39 +01:00
SarahW
3feeea3bbe All bits of BusLogic ISR register are read/write. Fixes BusLogic detection on Solaris 2.4. 2018-04-15 20:37:55 +01:00
SarahW
37c8a16478 Reset AHA-1542/BusLogic mailbox pointers on mailbox initialisation command. Fixes Solaris 2.4 with AHA-1542. 2018-04-15 20:37:08 +01:00
SarahW
20e255ceb7 Don't process Sound Blaster 16-bit transfers when DMA disabled. Fixes Visual Player 2.0. 2018-04-13 21:16:33 +01:00
SarahW
9dc02e7185 Implemented Trio32-only host data mode. Fixes text in Windows 3.1. 2018-04-12 21:31:01 +01:00
SarahW
4cea5cc59f Implemented Trio64 polygon fill commands. Fixes issues with Paintbrush on Windows 3.1. 2018-04-12 21:26:45 +01:00
SarahW
8300b3a7e2 Speed up AT keyboard controller. Fixes OS/2 v1.x PS/2 mouse driver on PS/2 systems. 2018-04-11 20:16:08 +01:00
SarahW
bd06b5a1cc Add segment limit checking to opcode F6 (16-bit version) as temporary workaround for hang when opening Windows 9x DOS box on Diamond Stealth 32. 2018-04-11 17:37:41 +01:00
SarahW
4ba11c5a13 Always decode CRTC index bit 5 on VGA compatibles. Fixes Joe Montana Football. 2018-04-11 17:00:58 +01:00
SarahW
d6b74b945b Clear _mem_exec array when clearing out old memory mappings. Patch from Greatpsycho. 2018-04-11 15:25:30 +01:00
SarahW
0fe9b99953 SB16/AWE32 support SB2/Pro style high speed DMA commands, contrary to Creative Labs documentation. Fixes sound in Earthworm Jim. 2018-04-11 15:22:35 +01:00
SarahW
4263bc8227 Added monitor type configuration to Plantronics Colorplus. Plantronics now doesn't inherit settings from the last emulated CGA system. 2018-04-10 17:21:18 +01:00
SarahW
138430ad8f Fixes to Trio64 read mask handling. Fixes some graphics issues in OS/2 Warp. 2018-04-10 16:20:48 +01:00
SarahW
38fa1cbfd1 Trio64 maps 32-bits to colour & mask registers even when 32-bit registers are disabled. Fixes bad colours in OS/2 Warp in 32-bit colour mode. 2018-04-10 16:20:17 +01:00
SarahW
25ac99a6ef Clamp CD-ROM command data to the allocation length. Fixes some emulator deaths when DMA enabled. 2018-04-08 21:38:48 +01:00
SarahW
031f64c1a3 Invalid CPUID instructions should return zero in EBX/ECX/EDX. Fixes CPU type test and subsequent invalid 3DNow! instruction execution in NFL Blitz 2000. 2018-04-08 17:16:04 +01:00
SarahW
7ffb019962 CL-GD54xx now defaults to 8 bpp correctly when enhanced RAMDAC modes not set. 2018-04-08 12:42:22 +01:00
SarahW
82ad526745 PIIX zero length transfer represents 64 kbytes. Fixes CD-ROM on BeOS. 2018-04-08 07:56:48 +01:00
SarahW
1ff836bfc1 Shortened time between ATAPI packet command starting and requesting command data. Fixes CD-ROM on BeOS. 2018-04-08 07:56:12 +01:00