Commit Graph

36 Commits

Author SHA1 Message Date
David Hrdlička
e60af6c29d Clean up plat.h a bit 2022-04-20 01:03:39 +02:00
Jasmine Iwanek
d28cec126a src/video 2022-04-12 17:26:07 -04:00
Jasmine Iwanek
3b73ce330c src/video 2022-03-18 18:07:09 -04:00
Jasmine Iwanek
801f81fbda clean up device_config_t formatting 2022-02-26 23:31:28 -05:00
Jasmine Iwanek
4674756664 More newline and whitespace cleanups 2022-02-20 16:26:40 -05:00
TC1995
012046bd89 Added the Matrox Millennium card to dev branch and its respective bitblt additions and ROM. 2022-02-03 20:08:46 +01:00
Jess Lovelace
f18615ae87 refactored device_t and all declarations 2022-02-02 16:31:22 -05:00
David Hrdlička
7381ab6928 Minor changes to threading
- Renamed `cpp11_thread.cpp` to `thread.cpp`
- Removed features that are only supported by Win32 threads (`thread_wait` with timeout and mutex with spinlock)
- Fixed formatting in `thread.cpp`
2021-12-17 19:59:25 +01:00
OBattler
7047517408 Video threads are now woken before the wait for termination, fixes the hangs. 2021-07-16 19:22:58 +02:00
OBattler
78c3f6759f Removed all usage of TerminateThread()/thread_kill(), thread_wait() is used instead now. 2021-07-16 06:45:32 +02:00
TC1995
fd5ac14f26 Fixed scrolling anomalies in the EGA and SVGA card cores for Commander Keen to work right without glitches. 2021-07-12 22:12:27 +02:00
RichardG867
aed2b179ab Add DPMS support to Mystique 2021-04-13 15:26:12 -03:00
David Hrdlička
dfbbe08a07 rewrite the emulator to use UTF-8 internally 2021-03-30 09:46:49 +02:00
OBattler
cd0f344221 Video fixes and added the Tseng ET2000. 2021-02-18 21:55:39 +01:00
OBattler
6e233f4ac8 SDL renderer improvements and fixes and added SDL OpenGL option;
Various performance improvements;
Fixed USB UHCI HCHalt;
Cirrus Logic CL-GD 5422/24 fixes and removed them from the Dev branch;
The Storage controllers sections of Settings now has its own corresponding section of the configuration file;
Fixed the AT clock divisors for some Pentium OverDrive CPU's;
Added the ACPI RTC status (no ACPI RTC alarm event yet).
2020-11-26 18:20:24 +01:00
RichardG867
64249d50a3 I2C overhaul part 7: S3 Trio and Cirrus Logic 2020-11-25 00:16:42 -03:00
RichardG867
d6b1d2c63a I2C overhaul part 5: late, but there's still stuff to do 2020-11-23 14:49:49 -03:00
OBattler
0faf6692c9 WARNING: CONFIGS MIGHT PARTIALLY BREAK WHERE DEVICE NAMES HAVE CHANGED.
Changes to device_t struct to accomodate the upcoming PCI IRQ arbitration rewrite;
Added device.c/h API to obtain name from the device_t struct;
Significant changes to win/win_settings.c to clean up the code a bit and fix bugs;
Ported all the CPU and AudioPCI commits from PCem;
Added an API call to allow ACPI soft power off to gracefully stop the emulator;
Removed the Siemens PCD-2L from the Dev branch because it now works;
Removed the Socket 5 HP Vectra from the Dev branch because it now works;
Fixed the Compaq Presario and the Micronics Spitfire;
Give the IBM PC330 its own list of 486 CPU so it can have DX2's with CPUID 0x470;
SMM fixes;
Rewrote the SYSENTER, SYSEXIT, SYSCALL, and SYSRET instructions;
Changed IDE reset period to match the specification, fixes #929;
The keyboard input and output ports are now forced in front of the queue when read, fixes a number of bugs, including the AMI Apollo hanging on soft reset;
Added the Intel AN430TX but Dev branched because it does not work;
The network code no longer drops packets if the emulated network card has failed to receive them (eg. when the buffer is full);
Changes to PCI card adding and renamed some PCI slot types, also added proper AGP bridge slot types;
USB UHCI emulation is no longer a stub (still doesn't fully work, but at least Windows XP chk with Debug no longer ASSERT's on it);
Fixed NVR on the the SMC FDC37C932QF and APM variants;
A number of fixes to Intel 4x0 chipsets, including fixing every register of the 440LX and 440EX;
Some ACPI changes.
2020-11-16 00:01:21 +01:00
OBattler
6b884112fa The Matrox code now actually uses the DMA bus master API instead of directly accessing the RAM array. 2020-06-07 07:21:27 +02:00
OBattler
3027422e88 PCI graphics cards now correctly use PCI timings instead of VLB timings. 2020-05-06 00:23:07 +02:00
David Hrdlička
2a5382a97b Remove mutex names, fixes #722
Named mutexes are used for inter-process synchronization, using them to synchronize threads of a single process is just begging for trouble when running multiple instances of the application.
2020-04-27 13:24:43 +02:00
TC1995
77140b874a Ported the latest Win9x MGA fix from PCem. 2020-04-01 00:40:29 +02:00
TC1995
e9710d4b25 Ported the latest Matrox MGA fixes from PCem.
Removed useless header.
2020-03-31 00:33:49 +02:00
David Hrdlička
a505894a10 Move all include files to src/include
- 86Box's own headers go to /86box
- munt's public interface goes to /mt32emu
- all slirp headers go to /slirp (might want to consider using only its public inteface)
- single file headers from other projects go in include root
2020-03-29 19:53:29 +02:00
OBattler
6b46dcc0aa Merge pull request #566 from 86Box/bugfix/mga_fixes
Fixed some fatal's that turned out to be missing parts of the blt and…
2020-03-25 01:49:59 +01:00
Daniel Gurney
0c509fd551 Remove version tree-wide 2020-03-25 00:46:02 +02:00
OBattler
590583f7ad Removed an excess log line from the Matrox code and two unnecessary files. 2020-03-23 08:54:32 +01:00
OBattler
490c04fcae Current WIP code. 2020-02-29 19:12:23 +01:00
OBattler
e17c47f590 Disabled excess logging in the Matrox code. 2020-01-21 07:29:28 +01:00
TC1995
e6c75a7f1a Fixed some fatal's that turned out to be missing parts of the blt and the width bpp. 2020-01-19 01:19:40 +01:00
TC1995
4c29f34571 Fixed compile failure. 2020-01-18 21:35:26 +01:00
TC1995
ce8557bf96 Fixed various possible anomalies + implemented a 32-bit bltmod setting required by some Win9x Matrox Mystique drivers. 2020-01-18 21:27:10 +01:00
OBattler
c9b065f9d0 Fixed the Matrox Mystique's on the VIA machine. 2020-01-18 16:52:19 +01:00
OBattler
bde65cb5ce More Matrox clean-ups, fixed the interlaced modes (1920x resolutions now work), and added the Matrox Mystique 220. 2020-01-18 04:33:57 +01:00
OBattler
6ec5d9bcbc Cleaned up the Matrox code, added a dummy ILOAD FILTER opcode to make AMIDIAG no longer hang, added the 8 MB memory option, and fixed 32-bit blits with 8 MB is set. 2020-01-18 02:47:57 +01:00
TC1995
7c15df1fd7 Added Matrox MGA (Mystique) emulation from PCem. 2020-01-17 00:24:18 +01:00