Commit Graph

70 Commits

Author SHA1 Message Date
Alexander Babikov
ef631a8133 8514/A and XGA handling refactor:
* separate (ibm8514|xga)_enabled into (ibm8514|xga)_standalone_enabled
  and (ibm8514|xga)_active, the former being enabled only for standalone
  8514/A or XGA cards, the latter for all 8514/A and XGA-capable cards
  and not saved into the config file;
* remove (ibm8514|xga)_has_vga and replace all uses of it with
  (ibm8514|xga)_standalone_enabled;
* Qt UI: the checkboxes for standalone 8514/A and XGA are now correctly
  grayed out if an (S)VGA card with 8514/A or XGA capability is selected,
  including cases when the card is an internal/onboard one; said cards are
  now no longer appear as SVGA multi-monitor compatible.
2023-08-22 23:48:32 +05:00
Jasmine Iwanek
bd6508350b Yet more tabs to spaces 2023-08-15 13:28:04 -04:00
OBattler
b446317b76 The POST codes are now accessible by the entire emulator, allows easy output filtering by POST cost code (and disabling altogether if the POST code is disabled), useful for debugging. 2023-08-14 23:12:46 +02:00
OBattler
1958b7398d Use absolutes instead. 2023-08-13 18:03:12 +02:00
OBattler
782015a923 More mouse and PIC fixes and the mouse now takes of the ration between guest resolution and actual render area size, multiplied by the DPI, when returning coordinate deltas, also unified the delta return function across the various emulated mice. 2023-08-11 04:45:32 +02:00
Jasmine Iwanek
922c4335ae Next round of sonarlint cleanups 2023-06-27 21:17:13 -04:00
Cacodemon345
877ae8949d Introduce compiler checks for pclog/fatal calls 2023-06-01 23:44:01 +06:00
Jasmine Iwanek
6c1e4a8e2c Some code smell fixes from sonarlint 2023-05-15 19:25:56 -04:00
TC1995
7a53e1de45 Initial softfloat port from Bochs to 86box, currently selectable only on QT. 2023-04-29 18:56:57 +02:00
RichardG867
9f55afc7a1 Add LIKELY/UNLIKELY macros 2023-04-22 21:37:41 -03:00
Jasmine Iwanek
a7236a9022 Make dual video card code use array 2023-02-06 07:29:18 -05:00
Jasmine Iwanek
5f04b29e8f Support up to 4 sound cards 2023-02-02 03:29:38 -05:00
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
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Jasmine Iwanek
ae4f9aedaa clang-format in src/include/86box/ 2022-09-18 17:22:54 -04:00
Jameson Ernst
84f5d9c393 Improve handling of High-DPI mice
- Reduce lower bound of mouse sensitivity
 - Add error accumulators to prevent small motions from being rounded off
2022-09-14 22:11:32 -07:00
cold-brewed
9daa721d44 qt: Add media history manager for recently used images 2022-08-30 17:18:51 -04:00
Adrien Moulin
2f57de3f60 Restore the ability to configure the first NIC with the win32 ui 2022-08-21 21:05:07 +02: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
Jasmine Iwanek
a04710b517 clang-format in src/win and other misc places 2022-07-27 17:27:51 -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
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
b588f163c6 Implement per-monitor window geometry settings 2022-07-05 14:09:14 +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
Cacodemon345
3b74aad9d6 qt: Add mouse sensitivity setting 2022-06-01 15:31:58 +06: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
Alexander Babikov
6862781b07 Final warning fixes 2022-04-14 07:13:50 +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
Alexander Babikov
1a7a93010d Remove the obsolete logging and defunct VRAM dumping options from the Win32 UI 2022-02-07 18:09:21 +05:00
Jasmine Iwanek
e1c845e393 LPT4 was a thing in the pre PS/2 era 2022-01-30 19:37:49 -05:00
Jasmine Iwanek
608905136f SW2 support for ISA Memory Devices 2022-01-26 16:56:30 -05:00
OBattler
dedd568f92 Removed an #ifdef in 86box.h so that the enable_discord variable is always declared. 2021-11-29 15:47:55 +01:00
Laci bá
0aa6e9c8a6 Finish the changeable iconset 2021-11-16 19:38:31 +01:00
Laci bá
2d30052238 Remove ifdef, add default language constant, and separate text filler code from pc_init 2021-11-13 21:35:43 +01:00
Laci bá
0bab2e144a Reinit media menu, and store the system language too 2021-11-12 22:41:30 +01:00
Laci bá
dafc429e93 A lot of changes
- Fix the broken itemindex of ComboBox  in the Settings dialog
- Change from LCID to uint32_t
- Rewrite the headers of the lang related functions (can handle the whole LCID as input)
- Add dummy functions to unix.c
- Add proper combobox handling in win_settings.c
- Added a lot of debug calls temporarily
- Reactivate every disabled option related to language changes
- Move lang_id to 86box.h from win.h
- Implement on-fly resource switch as discussed with OBattler
- Reimplement everything language related in the initialization section of the program
- Implemented the ladder of three points
1, what is the --lang?
2, what are definied in the config? (to be implemented)
3, what is the system language
2021-11-09 22:33:54 +01:00
OBattler
84f4b8cac7 Added a bunch of parameters (including one to specify custom ROM path), fixed a warnings, removed excess commented out code from video/vid_voodoo.c, and made Makefile.mingw quiet again. 2021-09-02 20:15:46 +02:00
Miran Grča
e4197b8ca4 Merge pull request #1631 from laciba96/master
Add support for overridable VM name
2021-09-01 15:02:10 +02:00
Cacodemon345
a903e24702 Fix remaining warnings 2021-08-29 23:50:21 +06:00
Laci bá
13ff9af7e1 Add support for overridable VM name
- A global variable added as vm_name
- This variable can be filled with the `--vmname "Name"` or `-V "Name"` parameter.
- If there are no such a parameter definied this variable will filled up with the directory name.
- The Discord module displays this global variable, as VM name.
- Various 86Box managers can use this feature to display fancy VM names, instead of GUID folder names.
- This variable can be easily used later for adding cool things, like the VM name in title bar, etc.
2021-08-26 20:30:37 +02:00
OBattler
706ad0e896 Changed the way the emulator is shut down, fixes #1555. 2021-07-21 04:05:40 +02:00
OBattler
7d3ed9b397 Added the fatal_ex() function to 86box.h. 2021-06-07 00:15:52 +02:00
ts-korhonen
dd65a80b19 Add menu option for filter method to use when scaling video. 2021-05-01 20:49:23 +03:00
ts-korhonen
2bf6c7aa11 win_opengl: UI for options and add them to config. Reloading changed options at runtime. Improved framerate limitter. 2021-04-23 16:09:45 +03:00
ts-korhonen
3088c6c26f win_opengl: (WIP)UI for options. Add comments to help find conditionals that put opengl in dev_branch. 2021-04-21 23:08:32 +03:00
OBattler
58a1939dbf Improved the main window size specifying, now has an option to lock the window to the specified size, making it unresizable. 2021-04-12 05:58:59 +02:00