Commit graph pcem/src/pc.c
Author SHA1 Message Date
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
01ad1ed98c Add option to remember window size & position. 2016-06-10 20:49:03 +01:00
SarahW
8790a58f8f Update version number to v11.
Update readme.txt for v11.
2016-06-05 20:59:51 +01:00
SarahW
f6a4c54741 Floppy drive type defaults to sensible value. 2016-05-01 12:27:26 +01:00
TomW
0faa803061 CD-ROM changes from Battler, including :
- New disc change handling
- Additional ATAPI commands
- CD drive-level volume control
2016-03-08 20:47:05 +00:00
TomW
5b3d307181 CD-ROM IDE channel now configuarable. Based on patch from Battler. 2016-03-06 17:23:51 +00:00
TomW
50dfd8b7a5 Moved mem_add_bios() call to model code. Fixes Intel Flash. 2016-01-23 15:21:33 +00:00
TomW
39c95ee0af Moved BIOS mapping initialisation - SiS 496/497 now boots again without requiring hard reset. 2016-01-17 20:57:30 +00:00
TomW
64454dded2 Added CD-ROM .ISO support. Patch from RichardG867.
Minor cleanup to CD-ROM handling.
2015-12-15 21:09:00 +00:00
TomW
eebdc165b2 FDC changes :
- Seperated disk and disk drive emulation
- Support more drive types - 5.25" dual RPM, 3.5" DD, 3.5" HD, 3.5" HD 3-Mode
- Support drive swapping (FDC37c665 only)
- Support FDC FIFO
- Support other FDC 'enhanced mode' behaviour
- Support IBM XDF format images
- Formatting now formats both tracks, and uses correct 'fill' byte
- Various other improvements

Many of these changes provided by Battler
2015-12-12 16:31:08 +00:00
TomW
79202cc5c0 Changed timer base frequency on XT models to 14.318MHz - PIT, CGA and 4.77MHz CPU should now stay in perfect sync. 2015-11-25 21:50:38 +00:00
TomW
37a6f796de Fix crash on loading with invalid mem_size values in config. 2015-11-19 19:44:38 +00:00
TomW
c47df21a82 XT models can now have less than 640kB RAM. 2015-11-18 20:28:57 +00:00
TomW
fa7e77b013 Fix Linux configure/makefile. Bump version number up to v10.1. 2015-11-07 11:19:29 +00:00
TomW
67dea77677 Added command line option to specify config file to use on startup. 2015-11-06 21:23:46 +00:00
TomW
8e9adf91de Added command line option to start in fullscreen mode. 2015-11-02 18:05:23 +00:00
TomW
30826ba98a Bumped version number up to v10.
Updated readme file.
2015-10-31 17:49:22 +00:00
TomW
4e9ee6e927 Can now select to emulate 1.2MB 5.25" disc drive, with double stepping. 2015-08-24 21:09:35 +01:00
TomW
25286c8f0b Windows MIDI out device now selectable. 2015-08-23 20:59:15 +01:00
TomW
f339f00315 Interpreter and dynamic recompiler now present in a single binary. 2015-08-21 20:55:36 +01:00
TomW
e10ee63a10 Added support for up to 4 IDE hard drives. 2015-07-12 11:43:12 +01:00
TomW
feaf399a2d Cache setting now handled correctly on startup. 2015-04-07 18:06:03 +01:00
TomW
644d17fc7f Fixed bug which ejected discs on hard reset. 2015-04-02 19:54:47 +01:00
TomW
a8159f8c09 Various changes to FDC emulation.
Support for multiple disc image formats.
Added preliminary FDI support.
2015-03-19 21:33:19 +00:00
TomW
708cf896d1 Added usable 3DFX emulation. 2015-03-08 15:55:03 +00:00
TomW
ba715706b6 Added code generation for memory versions of MOV, and memory source versions of ADD, SUB, AND, OR, XOR and CMP. 2015-02-08 17:17:14 +00:00
TomW
b4592cdea3 Implemented new memory mapping to improve performance of self modifying code.
New scheme allows code blocks to cross pages.
Reduced code block size down to 2kB.
2015-01-28 21:58:02 +00:00
TomW
84ac04d2df Added Intel Premiere/PCI (Batman's Revenge) and Advanced/EV (Endeavor) motherboards.
Added emulation of i430LX and i430FX chipsets.
Added support for PCI configuration type 2, used by i430LX.
Added AT disable keyboard command, and fixed enable keyboard command.
Added emulation of Intel 28F001BXT flash ROM, used by Advanced/EV.
Fixed a bug in REP when using multiple 66/67 prefixes.
2014-11-23 20:27:41 +00:00
TomW
2be271d050 Added menu option to send CTRL-ALT-DELETE to emulated machine. Patch from GeeDee. 2014-11-18 18:38:12 +00:00
TomW
13226a2bd4 Added Pentium and Pentium MMX emulation. 2014-11-17 20:41:02 +00:00
TomW
4676daade4 Initial commit of dynamic recompiler.
Various CPU changes to support dynamic recompiler.
2014-11-05 21:24:16 +00:00
TomW
26152e6522 Updated version number to v9.
Updated documentation for next release.
2014-10-04 19:39:09 +01:00
TomW
56b455844e Initial port to Linux (using Allegro).
64-bit fixes.
Some changes to aid portability.
A few other tweaks.
2014-09-04 21:07:24 +01:00
TomW
66b9ccf1ab Added configuration load/save options. 2014-08-23 21:32:36 +01:00
TomW
048d332949 Force CD-ROM TOC to be loaded on startup, booting from CD-ROM should be more reliable. 2014-08-21 20:44:18 +01:00
TomW
2207f704dd Added per-device configuration.
Reworked configuration parser a bit.
Added configuration for S3 ViRGE and 8-bit Sound Blasters.
IRQ 2 routed to IRQ 9 on AT machines.
2014-06-30 21:31:28 +01:00
TomW
3c8a675d01 Reorganised Windows-specific code a bit. 2014-06-24 21:15:42 +01:00
TomW
4cb7d58d53 Added joystick emulation 2014-06-08 13:45:26 +01:00
TomW
2ff2210b3b Innovation SSI-2001 emulation. Using ReSID-FP. 2014-05-11 14:09:13 +01:00
TomW
2ca4ead570 Implemented preliminary S3 ViRGE 2D blitter emulation.
Misc ViRGE fixes.
Changes to memory mapping.
Changes to PCI handling.
Disabled 'AMI WinBIOS 486 PCI' due to incomplete chipset emulation.
Invalid GUS register reads no longer kill the emulator.
2014-03-20 14:03:55 +00:00
TomW
31bc0ef789 Middle button now releases mouse. Based on patch from HalfMinute. 2014-02-11 19:44:32 +00:00
TomW
f18f10574a Preliminary PCjr emulation.
Improvements to PIT and serial emulation.
2014-01-12 11:37:09 +00:00
TomW
aff104977d Updated version number to v8.1. Updated documentation for bugfix release. 2014-01-03 17:53:16 +00:00
TomW
8cc1da7f3e Updated version number to v8. 2013-12-21 09:55:49 +00:00
TomW
c6227d1fc6 Added fullscreen mode.
Some code tidying.
2013-12-07 13:43:06 +00:00
TomW
72f934d141 Direct3D video output. Fixed redraw when DirectDraw/Direct3D device is lost. 2013-08-13 19:20:28 +01:00
TomW
f431e74917 Video optimisations. Fixed VRAM mask on S3. 2013-07-09 19:30:53 +01:00
TomW
c9aa6dc3a9 Removed obsolete INT 13 hard disk emulation. 2013-07-07 13:26:46 +01:00
TomW
58085bcc87 Re-organisation of video emulation. 2013-06-24 20:42:35 +01:00
TomW
9312de19ac Now up to date with current dev version.
Changes since v0.7 :
- Major CPU reorganisation. This has possibly broken some stuff, though I fixed all the regressions I could find
- Lazy flags. This brought 10% speed improvement at one point, but that's probably been lost now
- 430 VX chipset emulation
- IDT Winchip emulation (currently sans MMX). Timing is probably wrong
- Fixed a few FPU bugs
- Timer reorganisation
- Sound reorganisation
- Other general reorganisation
- AdLib Gold emulation
- Windows Sound System emulation
- Pro Audio Spectrum 16 emulation. This currently works with most DOS stuff, but not in Windows
- Major improvements to GUS emulation. Has the downside that it now conflicts with SB emulation, so probably best to not enable both simultaneously
- New graphics cards :
  - ATI-18800 (VGA Edge-16)
  - ATI-28800 (VGA Charger)
  - ATI Mach64GX (Graphics Pro Turbo). Quite a few features missing, but Windows doesn't seem to use half the features of this card
  - Cirrus Logic CL-GD5429. Blitter is a bit broken
  - Oak OTI-067
  - S3 Trio64 (Number Nine 9FX)
  - S3 Virge. Only framebuffer stuff at the minute, Windows won't recognise the card
  - Trident TGUI-9440
  - VGA. Doesn't work yet
- Beginnings of 3DFX emulation, however this is in extremely early stages and doesn't do anything useful
- Fixed DMA bug stopping floppy drives working in Windows 3.x
- Fixed some other stuff probably
- Broke some other stuff probably as well
2013-05-27 17:46:42 +01:00