Commit Graph

118 Commits

Author SHA1 Message Date
OBattler
f31e8b27d5 Fixed a warning in win/win.c . 2021-07-21 16:55:03 +02:00
OBattler
706ad0e896 Changed the way the emulator is shut down, fixes #1555. 2021-07-21 04:05:40 +02:00
Daniel Gurney
f2cd3756dd Revert "Merge branch 'feature/machine_and_kb' into master"
This reverts commit 6604a29d7e, reversing
changes made to 1d7fca0abd.
2021-07-04 18:22:52 +03:00
OBattler
fd4817a87b All the current WIP work (warning: the PIT is currently using some temporary test rewrite that is going to be undone). 2021-06-29 19:11:19 +02:00
ts-korhonen
ed86f69c85 Explicitly initialize COM library in main and opengl threads, hopefully fixing filedialog issues. 2021-06-17 19:17:21 +03:00
ts-korhonen
dd65a80b19 Add menu option for filter method to use when scaling video. 2021-05-01 20:49: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
ts-korhonen
afc5122a50 win_opengl: Add loading shaders from a file and few common uniforms.
plat.h,win.c: Add missing const
2021-04-15 16:38:23 +03:00
ts-korhonen
fc00dfd417 Merge branch 'master' into opengl 2021-04-12 23:47:06 +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
ts-korhonen
fe3e1d05de win_opengl: Get window size from resize instead of enable. Use noactivate window style to keep focus on parent window. 2021-04-11 22:29:00 +03:00
ts-korhonen
f315145c7d OpenGL rendering component. First iteration, WiP. 2021-04-10 18:15:26 +03: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
OBattler
56d62de4fe Properly initialized framecountx and re-added the startblit() / endblit() to the CPU thread, fixes renderer switches. 2021-03-30 03:49:46 +02:00
Sean Ramey
8d9a3f02ea Fix build due to renamed variable.
quited -> is_quit
2021-03-25 03:20:25 -05:00
OBattler
1a643ab040 Reworked some memory and CPU parts to fix bugs, improve performance by getting rid of excess calls to mmutranslate(), and properly invalidate page bytes on page invalidation on new recompiler. 2021-03-24 19:52:44 +01:00
David Hrdlička
10cc122925 fix Clang/WinSDK warnings 2021-03-21 03:28:37 +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
9f5c60c1bc Improved (and hopefully, properly fixed) window size and position restoring when returning back from full screen if the window is resizable and set to remember the size and position. 2020-12-26 17:21:38 +01:00
OBattler
ff1d5fe966 Window size is now set back to the remembered one when returning from Full Screen when the window is resizable and set to remember the size, fixes #1142. 2020-12-25 23:34:37 +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
8832f9d0e9 Returning from full screen to resizable window now forces a direct window resize, closes #1129. 2020-12-02 06:11:27 +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
Alexander Babikov
abd23f41bb Fix the console window not appearing even when requested. 2020-11-13 05:09:17 +05:00
RichardG867
6276bb67ee Fix fullscreen notification "don't ask again", closes #948 2020-07-27 19:28:32 -03:00
David Hrdlička
23efba22f1 include: move version defines out to version.h 2020-06-26 13:28:10 +02:00
RichardG867
3539c4f465 Fix and improve fullscreen exit notice (also introducing MBX_DONTASK for "don't show this message again") 2020-06-18 21:46:28 -03:00
David Hrdlička
720bfa277b Update win.c 2020-05-05 21:05:56 +02:00
OBattler
15dcd63e72 Console is now only initialized when the emulator is started with the -D / --debug parameter. 2020-04-22 13:19:28 +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
OBattler
13a9477b6d Removed the crashdump code from the Dev branch and added the -R/--crashdump parameter to activate it, and also made the makefiles not build pcap_if.exe by default. 2020-04-17 02:20:02 +02:00
OBattler
4bc41197b9 Removed Direct2D. 2020-04-17 02:06:00 +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
Daniel Gurney
0c509fd551 Remove version tree-wide 2020-03-25 00:46:02 +02:00
OBattler
490c04fcae Current WIP code. 2020-02-29 19:12:23 +01:00
GH Cao
8e8492baed win: fix declaration of SetCurrentProcessExplicitAppUserModelID 2020-02-04 22:43:13 +08:00
OBattler
7bef50b782 Fixed a mess in win.c that was causing a corruption of the command lime parameters array. 2020-01-17 05:44:38 +01:00
OBattler
932ad5595a Fixed the third batch of problems. 2020-01-15 04:58:28 +01:00
OBattler
cdac8c1c11 Fixed win/win.c to not NULL-check that which is not NULL. 2020-01-15 02:10:52 +01:00
OBattler
a39bb1db2b Fixed another resource leak in win/win.c. 2020-01-15 00:41:02 +01:00
OBattler
2d5a8dc49c Fixed a resource leak in win/win.c. 2020-01-14 22:23:56 +01:00