Commit Graph

6609 Commits

Author SHA1 Message Date
David Hrdlička
9bf93f7074 Add rules for YAML files to .editorconfig 2021-12-20 15:07:33 +01:00
David Hrdlička
043ab9ce77 MSVC workarounds should apply to all non-MinGW builds 2021-12-20 15:07:33 +01:00
David Hrdlička
6809f379cd Remove unneeded build actions; fix some comments 2021-12-20 15:07:33 +01:00
David Hrdlička
38fddca97a Move CI-related build info to the root build file 2021-12-20 15:07:26 +01:00
David Hrdlička
e5ed33b91b Determine the value of CMAKE_MSVC_RUNTIME_LIBRARY properly 2021-12-20 14:37:51 +01:00
David Hrdlička
6a76fb5746 Move Mac related stuff from the main build file 2021-12-20 14:37:46 +01:00
David Hrdlička
564c353d38 Bump version number in vcpkg.json 2021-12-20 12:00:07 +01:00
Jasmine Iwanek
6fa603839e Add support for a joystick port at 0x209 2021-12-19 22:44:24 -05:00
Jasmine Iwanek
055c0ecd69 Mistake 2021-12-19 22:06:36 -05:00
Jasmine Iwanek
70056c9ed0 Revert "Default UART to 16550"
This reverts commit 85eaaf9d2d.
2021-12-19 21:22:38 -05:00
Jasmine Iwanek
b80de956b3 Revert "Merge branch 'uart' of https://github.com/jriwanek-forks/86Box into uart"
This reverts commit 3eb3f0eb1e, reversing
changes made to 149666b54b.
2021-12-19 21:21:55 -05:00
Jasmine Iwanek
3eb3f0eb1e Merge branch 'uart' of https://github.com/jriwanek-forks/86Box into uart 2021-12-19 21:21:36 -05:00
Jasmine Iwanek
149666b54b Consistency and naming 2021-12-19 21:21:34 -05:00
Jasmine Iwanek
948624b6f4 Default UART to 16550 2021-12-19 21:15:48 -05:00
Jasmine Iwanek
4f8d1a9ede Revert "AT UART to 16450"
This reverts commit 8c4cd92490.
2021-12-19 20:22:11 -05:00
Jasmine Iwanek
8c4cd92490 AT UART to 16450 2021-12-19 19:55:05 -05:00
Jasmine Iwanek
89726bc155 XT UART to 8250 2021-12-19 19:54:54 -05:00
Jasmine Iwanek
85eaaf9d2d Default UART to 16550 2021-12-19 19:54:23 -05:00
Jasmine Iwanek
9d1898e9f3 Fix a prior derp cleanly 2021-12-19 19:54:02 -05:00
Jasmine Iwanek
c798a6849b Stubs for 16650-16950 UARTs 2021-12-19 19:53:25 -05:00
Miran Grča
366a7d92db Merge pull request #1946 from jriwanek-forks/patch-joystick
More Joysticks
2021-12-20 01:13:26 +01:00
Jasmine Iwanek
bf9c9075da support gameport at 0x208-0x20f also 2021-12-19 18:18:20 -05:00
Jasmine Iwanek
487e5a198a Add more generic joysticks
3axis, 2 button
3axis, 4 button
standardize naming
2021-12-19 18:18:01 -05:00
OBattler
4d2ed33ff2 Fixed the emulator. 2021-12-19 23:41:23 +01:00
OBattler
bc90f99350 Finally got rid of the AT and PCI global variables. 2021-12-19 20:00:27 +01:00
OBattler
9ec4fd3bdd Fixed a CPU reset mess. 2021-12-19 19:14:21 +01:00
OBattler
bdc8c711bf Merge branch 'master' of https://github.com/86Box/86Box 2021-12-18 17:49:27 +01:00
OBattler
fe4ae456f8 File dialogs now set wopenfilestring to all 0x00's before reusing it. 2021-12-18 17:49:14 +01:00
Miran Grča
e99eb8f64d Merge pull request #1943 from 86Box/tc1995
Added QEMU's fifo8 code.
2021-12-18 15:01:05 +01:00
TC1995
688748adbe Added QEMU's fifo8 code.
Added the NCR 53c90 SCSI MCA card and reworked the AMD PCscsi/Tekram DC390 code to use a better port.
2021-12-18 14:44:14 +01:00
Miran Grča
ae128ebb0e Merge pull request #1940 from ts-korhonen/master
Fix window resizing not always working
2021-12-17 21:35:09 +01:00
ts-korhonen
a03d0f0461 Merge branch 'master' of https://github.com/86Box/86Box 2021-12-17 22:28:11 +02:00
ts-korhonen
766f15d858 Better c++ compatibility to the doresize change 2021-12-17 22:26:21 +02:00
ts-korhonen
805638ddd8 Fix window resize not always working
Change doresize to atomic_flag to prevent race condition
2021-12-17 22:15:21 +02: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
149c67335a Added a sanity check to the PCap code. 2021-12-17 19:23:46 +01:00
OBattler
64c38701c6 Might as well revert it completely. 2021-12-17 19:15:40 +01:00
OBattler
ea88934c21 Unique lock on event set and reset. 2021-12-17 19:14:28 +01:00
OBattler
57f879ba0b No notify on reset event. 2021-12-17 19:11:02 +01:00
OBattler
8996a61ba4 And one last fix. 2021-12-17 18:57:22 +01:00
David Hrdlička
0131550432 Revert "Use recursive mutexes in the C++ thread implementation"
This reverts commit 153ac6df9a.
2021-12-17 18:51:29 +01:00
OBattler
9c7a3477aa Proper reimplementation of C++11 thread event signaling and the network code now uses an atomic instead of mutexes for wait. 2021-12-17 18:48:13 +01:00
David Hrdlička
153ac6df9a Use recursive mutexes in the C++ thread implementation 2021-12-17 18:32:11 +01:00
David Hrdlička
e0a73a99ec Turn the RtMidi module into a full standalone MIDI module
Removes the now-redundant platform MIDI infrastructure
2021-12-17 10:10:59 +01:00
David Hrdlička
275919859a Fix typos 2021-12-17 07:41:07 +01:00
David Hrdlička
7df9e2a454 Add a compile option to choose between thread implementations 2021-12-17 06:59:53 +01:00
OBattler
707acadd36 Replaced the Win32 threads with the proven to be better performing C++11 threads. 2021-12-17 03:49:54 +01:00
OBattler
84ff7ab6ff Fixed OpenGL 3.0 core. 2021-12-17 03:44:22 +01:00
OBattler
ce8f66bc07 Reduced the texture size back 2048x2048. 2021-12-17 03:30:13 +01:00
OBattler
ff02073050 Moved the machine RAM sanity check to machine_get_max_ram(). 2021-12-16 13:18:09 +01:00