Commit Graph

21 Commits

Author SHA1 Message Date
Jasmine Iwanek
3a0ddc2087 More linting in src/include/86box 2023-08-23 04:15:58 -04:00
OBattler
c30d5d90b7 PCI and IRQ rework, pci.c rewritten from ground up, fixes numerous issues such as the bridge being added when the number of normal PCI devices equals the number of normal PCI slots, Windows 95 PCI operation on Intel 430NX, sharing of PCI IRQ's with non-PCI level-triggered devices, having both configuration mechanisms operating at the same time (ALi M1435), etc., and makes the code much more readable. 2023-08-07 03:04:52 +02:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
6c1e4a8e2c Some code smell fixes from sonarlint 2023-05-15 19:25:56 -04:00
Cacodemon345
7898109b66 Add SVGA multi-monitor support
Cirrus Logic CL-GD5436/CL-GD5446 works as secondary video adapters
2023-01-22 16:50:21 +06:00
Jasmine Iwanek
1860700eab Fix some small issues 2023-01-07 17:02:23 -05:00
Jasmine Iwanek
a40630ba63 Even more tabs to spaces 2023-01-07 14:09:51 -05:00
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
Cacodemon345
954e022244 voodoo: Partial implementation of cmdStatus0 register 2022-11-06 12:52:43 +06:00
Cacodemon345
1f333724ac vid_voodoo_common: All volatile variables are now atomic
AArch32 and AArch64 has far lesser atomicity guarantees for simple load-store accesses unlike x86/x64. This should take care of the majority, if not all, of Voodoo crashes on Apple Silicon systems.
2022-11-06 00:12:17 +06:00
Jasmine Iwanek
a04710b517 clang-format in src/win and other misc places 2022-07-27 17:27:51 -04:00
Jasmine Iwanek
4674756664 More newline and whitespace cleanups 2022-02-20 16:26:40 -05:00
Jasmine Iwanek
7fc893bdb0 Include guards on our headers 2022-02-18 19:42:21 -05: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
6acbf62f42 Ported the latest changes from PCem. 2021-07-05 01:21:02 +02:00
TC1995
c703fedbe8 Ported the latest Voodoo changes from the other emulator. 2021-06-15 17:17:56 +02:00
luisjoseromero
9ddd0a841f Turn all mutexes into critical sections
Removing all win32 mutexes and turning them into critical
sections, since mutexes in win32 are meant generally for
inter process communication, tend to be slower, and aren't
really needed for current purposes. Critical sections
are roughly equivalent to std::mutex in the c++ stl.
2021-01-20 23:45:33 +00:00
luisjoseromero
eca2625093 Force Voodoo blit
Certain applications using the Voodoo adapter stop blitting
when there's no activity (e.g mouse movement, animation).
This results in a black screen when events like window/full screen
transitions take place. Usually this can be fixed by
moving the mouse or with keyboard inout. This change forces
a blit to refresh the screen.

In addition, added critical sections since they are lighter
than mutexes.
2021-01-19 00:39:40 +00:00
TC1995
8671351c84 Ported the latest bunch of Voodoo related commits from PCem. 2020-11-26 22:32:43 +01:00
TC1995
b45ba90b59 Latest PCem voodoo fifo changes are here. 2020-11-21 16:25:54 +01:00
TC1995
7bb51b4c7a Ported the latest Voodoo patches from PCem. 2020-11-18 00:21:07 +01:00