Commit Graph

111 Commits

Author SHA1 Message Date
ts-korhonen
dd65a80b19 Add menu option for filter method to use when scaling video. 2021-05-01 20:49:23 +03:00
OBattler
0a8748bce7 Fixed an uninitialized variable in win/win_ui.c. 2021-04-29 19:33:36 +02:00
ts-korhonen
fcac2d7e78 win_openg: Added menu item to remove active shader. 2021-04-26 09:51:23 +03:00
Alexander Babikov
b4a16437d3 Add a separate build option for the OpenGL renderer 2021-04-26 02:45:20 +05: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
Miran Grča
027d93196e Merge pull request #1382 from ts-korhonen/opengl
OpenGL renderer a.k.a. shader support
2021-04-18 00:17:53 +02:00
OBattler
3497ed71c2 Some fixes to the UI code. 2021-04-17 22:43:31 +02:00
ts-korhonen
e6bac34b47 win_opengl: restrict to DEV_BRANCH as a separate renderer 2021-04-17 13:45:11 +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
OBattler
b6b5558aa3 Added the ability to size the window to a specific resolution, closes #1362;
Fixed unsolicited mouse captures after a double-click in an open file dialog, fixes #1367.
2021-04-12 03:42:03 +02:00
Teemu Korhonen
6ab499a64e Full screen resize fix (#1359)
* Fixed WM_WINDOWPOSCHANGED not handling window resize when leving full screen mode.

* Fix whitespaces.
2021-04-06 20:38:34 +02:00
OBattler
5dace5e657 Fixed warnings introduced by the UTF-8 conversion. 2021-04-01 00:04:59 +02:00
David Hrdlička
dfbbe08a07 rewrite the emulator to use UTF-8 internally 2021-03-30 09:46:49 +02:00
Sean Ramey
8d9a3f02ea Fix build due to renamed variable.
quited -> is_quit
2021-03-25 03:20:25 -05:00
David Hrdlička
533b7a5f30 win_ui: don't reset remembered window size
fixes #1291
2021-02-26 17:24:05 +01:00
David Hrdlička
014f16731e win_ui: remove redundant resizing code
the resize handler already takes care of resizing the render window and
status bar, so there is no need to do it after each
`ResizeWindowByClientArea` call
2021-02-24 21:04:42 +01:00
David Hrdlička
3bc409876e win_ui: fix status bar with resizable windows 2021-02-24 21:01:31 +01:00
David Hrdlička
220fffc4a2 win_ui: rewrite resizing using WM_WINDOWPOSCHANGED 2021-02-24 21:00:14 +01:00
luisjoseromero
c0e7ac3762 Integrated Chrome tracing
Added support for chrome tracing by integrating the
minitrace library (github.com/hrydgard/minitrace),
and modified it with a background flushing thread that allows
tracing to continue automatically after the predefined
1 million event limit.

Menu items and an accelerator (Ctr+T) have also been
added. Starting and stopping the trace simply replaces
trace.json with the new trace data.

The feature is disabled by default. Pass MINITRACE=y
to the build command to enable it. Some traces are
already added as an example, however they won't have
any effect if the feature is disabled.
2021-02-14 17:27:46 +00:00
OBattler
0c3eeeb591 Fixed window scaling. 2020-12-26 17:02:48 +01:00
luisjoseromero
4b42251b84 Fix blit thread related deadlocks
Removed unnecessary calls to video_wait_for_blit(), which in
addition to not doing much were also in a race with the
video_blit_memtoscreen() thread to wait for and reset the
blit_data.blit_complete event signalled by blit_thread(),
causing several deadlocks.
2020-12-22 00:19:45 +00:00
OBattler
dd125854f1 Fixed warnings when compiling without the keyboard hook. 2020-12-19 00:04:36 +01:00
OBattler
a1bb128cd9 Some tweaks to resizing, considerably reduces the stalls. 2020-11-29 00:55:24 +01:00
OBattler
19e093e554 Renderer fixes and improvements. 2020-11-28 07:04:40 +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
OBattler
7c078d4be1 The power off API now actually shuts down the emulator. 2020-11-19 19:27:04 +01:00
Alexander Babikov
e0ff781a34 Fix the mouse lock after fullscreen - for real this time. (#1080) 2020-11-16 18:09:13 +01: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
driver1998
429a83d3eb Enable DPI scaling of emulated screen 2020-09-03 12:24:17 +08:00
driver1998
95f9485ff8 Main UI: HiDPI support 2020-09-03 12:24:17 +08:00
driver1998
a3a139e3ef Add PMv2 related APIs 2020-09-03 12:24:17 +08:00
RichardG867
2825244482 Add "don't show again" to hard reset and exit confirmations, further addressing #948 2020-07-27 19:55:25 -03:00
Agetian
739ba81eb4 Avoid SDL crash when starting 86Box in initial fullscreen mode (#946) 2020-07-26 20:07:13 +03:00
RichardG867
78d0466bef Add documentation link in the Help menu 2020-07-19 19:21:03 -03:00
OBattler
f1f99aba89 Added NOHOOK option to the makefile, NOHOOK=y compiles without the keyboard hook. 2020-07-16 01:22:13 +02:00
RichardG867
a44c2c2fe1 Improve reset and exit confirmations 2020-06-19 00:26:13 -03:00
RichardG867
78bc6d9887 Change startup error button to IDCANCEL, enabling the user to close the TaskDialog instead 2020-06-17 23:24:56 -03:00
RichardG867
822bc9a3ab Convert startup errors to TaskDialog 2020-06-17 23:07:21 -03:00
Shaojun Li
9fb12c323e Disable IME on East Asian localized Windows operating systems. 2020-06-04 11:04:44 +02:00
OBattler
228e3f999c Sanitized reset handling and removed excess logging from postcard.c. 2020-05-31 04:49:23 +02:00
OBattler
241ad90b54 Got rid of a lot of incorrect variable declaration and missing extern's, 86Box now successfully links when compiled with GCC 10.x. 2020-05-12 13:36:47 +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
David Hrdlička
7d2f9189d3 win: Re-number string table entries 2020-04-26 21:03:31 +02:00
David Hrdlička
03f82fdb99 win: Replace the main menubar Media menu handler 2020-04-26 21:03:31 +02:00
David Hrdlička
7dcb8f6f1f win: Add the "Media" menu to the menubar
This is an alternative way to mount images to the virtual drives, as many people found the current behavior confusing.
2020-04-23 01:24:11 +02:00
David Hrdlička
2146101637 Remove VNC from regular builds for the time being 2020-04-18 11:51:54 +02:00
OBattler
3e6994a11c The TX97 now correctly uses the W83877 and removed VNC from the Dev branch. 2020-04-17 19:40:10 +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
132d1f092b Merge branch 'rawinput' of https://github.com/driver1998/86Box into driver1998-rawinput 2020-03-25 02:29:20 +01:00