Commit Graph

278 Commits

Author SHA1 Message Date
OBattler
27ebb27db7 Makefile.mingw corrections and made the code pass much stricter checks (now mandated by Makefile.mignw) to ensure GCC 14 readiness. 2022-11-17 22:44:06 +01:00
Jasmine Iwanek
af9f1abf98 Code/Comments cleanup
Tabs to spaces
Whitespace
Normalize clang-format comments
2022-11-13 21:15:58 -05:00
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Jasmine Iwanek
6919451ae4 Fix string offsetting 2022-11-09 23:19:17 -05:00
Jasmine Iwanek
6ea143e107 More compile warning fixes 2022-11-06 15:55:16 -05:00
Mike Swanson
ba3de27fe5 Expand window scale factors up to 8×
5× is just about the highest factor useful for a 3840×2160 (“4K”)
monitor with games running in 320×200 mode.  7680×4320 (“8K”) monitors
are also on the market and the higher scale factors should be useful
for them too.
2022-11-01 11:53:49 -07:00
OBattler
65fc4e989d Some fixes and implemented the --image/-I command line parameter to load an image to the specified floppy drive. 2022-10-31 03:24:09 +01:00
Lubomir Rintel
9f4a21d1ae Fix build with -DENABLE_PC_LOG=1
Global "AT" is not there since commit bc90f99350 ('Finally got rid of the
AT and PCI global variables.').
2022-10-23 16:37:57 +02:00
OBattler
514fd4a3b0 Reset serial next instance to 0 in pc_reset_hard_close(), fixes #2688. 2022-10-23 05:13:46 +02:00
Jasmine Iwanek
e6dbaefeb1 clang-format in src/ 2022-09-18 17:19:21 -04:00
Adrien Moulin
19db1d2c7b Network overhaul : support for multiple NICs, performance improvement
- Add support for multiple NICs
- Switch from polling to an event loop for the host networking to avoid latency and locking issues
2022-08-21 16:55:47 +02:00
Cacodemon345
dd23397854 qt: Add option to apply fullscreen stretching modes when maximized 2022-08-10 01:27:54 +06:00
Adrien Moulin
3a1d9cff9a Add an instrumentation option for performance profiling
Not built by default, this allows printing the emulation speed on stdout and exiting after a certain emulation time.
2022-08-06 14:23:11 +02:00
cold-brewed
9f15ffd4e9 qt: Adds a global option in preferences to use usr_path as the default
open directory for image file selection.
2022-07-30 14:56:44 -04:00
Jasmine Iwanek
8b33566187 More serial cleanups 2022-07-28 16:50:49 -04:00
Adrien Moulin
808337aac3 OPL: add the faster YMFM cores
This refactors the OPL interface in two drivers : Nuked and YMFM
Nuked is used by default, YMFM can be enabled with [Sound] fm_driver = ymfm
2022-07-25 20:24:31 +02:00
Adrien Moulin
2aa5d8f5b2 PIT: add alternative faster PIT
This is enabled by default on 486+ CPUs and can be forced disabled/enabled with pit_mode=0/1
2022-07-23 13:38:10 +02:00
OBattler
f05ec1f872 Fixed warnings in 86box.c. 2022-07-18 02:32:31 +02:00
Miran Grča
f55ae27652 Merge pull request #2453 from elyosh/qtstatusbar
qt: switch to polling for status bar updating
2022-07-13 02:02:04 +02:00
Adrien Moulin
24ee676b13 qt: switch to polling for status bar updating 2022-07-13 01:04:01 +02:00
Cacodemon345
27e4124574 qt: Fix performance regression 2022-07-12 14:41:38 +06:00
Cacodemon345
90d3f33246 Don't initialize the secondary video card at load time if ROMs aren't available 2022-07-10 13:35:09 +06:00
Cacodemon345
c0c873151b qt: Add Show non-primary monitors option 2022-07-10 11:41:02 +06:00
Cacodemon345
a886194382 qt: Actually save secondary video card settings
This also rounds off the new video monitor API with a instanced set_screen_size API
2022-07-07 17:56:36 +06:00
Cacodemon345
90ba53e4e8 Finish multi-monitor support 2022-07-07 14:34:59 +06:00
Cacodemon345
20d3f0971c Use atomic_bool instead of atomic_flag for doresizes
atomic_flag seems to be broken on Windows for clearing them outside the
thread they were tested and set in
2022-07-06 01:25:39 +06:00
Cacodemon345
b588f163c6 Implement per-monitor window geometry settings 2022-07-05 14:09:14 +06:00
Cacodemon345
e8ffc699ba qt: Implement per-monitor resizing 2022-07-04 17:54:38 +06:00
Cacodemon345
8a3367ff6f Multi-monitor support (backend preparation part) 2022-07-03 01:18:23 +06:00
TC1995
08efa5086c Forgot the relevant xga_enabled activation variables, fixed compile. 2022-06-17 21:32:01 +02:00
richardg867
825141621f Improve App Translocation error message (moving also works) 2022-05-22 22:39:27 -03:00
TC1995
d0335e9679 Initial emulation of the IBM 8514/A coprocessor for both the MCA and ISA buses.
Currently the GUI option is on the QT frontend.
2022-05-14 18:55:00 +02:00
RichardG867
e34daac8c3 macOS: Detect app translocation and bail out if translocated 2022-05-03 21:08:08 -03:00
Miran Grča
eaaa8f898f Merge pull request #2314 from jriwanek-forks/more-cleanups
Fix some clang/LLVM warnings
2022-04-27 00:18:19 +02:00
Cacodemon345
bbb467a2b7 Don't accept a directory as config file parameter 2022-04-24 22:23:49 +06:00
Jasmine Iwanek
6e649521b9 Fix some clang/LLVM warnings 2022-04-22 22:21:50 -04:00
richardg867
7e9dbffc3b macOS: Change exe_path to be next to the .app bundle 2022-04-20 13:27:57 -03:00
David Hrdlička
11a1cd4d87 Hide the -E parameter as it is not implemented yet 2022-04-20 01:03:39 +02:00
David Hrdlička
60d70da4b9 Make sure exe_path ends with a slash 2022-04-20 01:03:39 +02:00
David Hrdlička
e60af6c29d Clean up plat.h a bit 2022-04-20 01:03:39 +02:00
Alexander Babikov
4e82d93729 Fix warnings related to variable types 2022-04-14 07:13:48 +05:00
Alexander Babikov
484a082122 Make sure certain variables used only on some platforms are defined only on said platforms 2022-04-14 07:13:47 +05:00
Alexander Babikov
4d18efd825 Remove the leftovers of the removed --vmrompath parameter 2022-04-14 07:13:47 +05:00
Alexander Babikov
c82b9a379c Remove the crashdump generation stuff and the associated parameter
It's Windows-exclusive and has never really worked
2022-04-14 07:10:19 +05:00
David Hrdlička
2bd9884a32 Fix ROM path logging, take two 2022-04-08 02:22:13 +02:00
David Hrdlička
8e65036b71 Fix ROM path logging at startup 2022-04-08 02:18:28 +02:00
David Hrdlička
37b478d25e Fix up exe_path when running as AppImage 2022-04-08 01:49:04 +02:00
David Hrdlička
db2b868909 Refactor the ROM set command line options 2022-04-08 01:35:08 +02:00
David Hrdlička
3449a173ae Move ROM search path code to rom.c, rewrite rom_fopen 2022-04-08 01:34:47 +02:00
David Hrdlička
a780d9a241 Rewrite plat_init_rom_paths in Qt frontend 2022-04-08 00:58:38 +02:00