Commit Graph

746 Commits

Author SHA1 Message Date
Aybe
1a5dae64f8 user preferences should not be tracked 2017-08-24 03:13:04 +02:00
Aybe
dab92d2f8d this file shouldn't be tracked actually 2017-08-24 03:02:00 +02:00
Aybe
70f9253334 setting working directory to $OutDir 2017-08-24 02:55:05 +02:00
Aybe
b9336f8cb1 upgrade and retarget solution 2017-08-24 02:52:10 +02:00
wjpyle
93c780a255 Fix build on Visual Studio 2015. Missing source reference to seriallog.cpp. 2017-04-30 00:13:13 -04:00
Aybe
976c0c70b8 Removed solution user options. 2016-05-09 00:48:49 +02:00
Jonathan Campbell
e8be572d85 Apparently VS2015 provides M_PI after all, you
just have to ask for it.
2016-03-03 17:30:08 -08:00
Jonathan Campbell
41894c0ac0 make the project settings more consistent 2016-03-02 22:38:20 -08:00
Michael Greger
fe0974b9a3 Add preliminary QCow2 image support. Supports backing files only with aboslute paths. No compression, encryption, or snapshots. 2016-02-22 20:57:33 -05:00
Jonathan Campbell
61b053af50 update vs2015. fix "min" and "max" members of region tracking struct
because it conflicts with the min/max #defines in MSVC
2016-01-04 00:16:15 -08:00
Jonathan Campbell
4d32564f09 vs2015: fix include path for logo includes. debugger initial break needs
to be conditional on whether or not the debugger was compiled in.
2015-12-29 11:23:14 -08:00
Jonathan Campbell
54c48e079d update vs2015 project to make shell.cpp move-out of blobs. 2015-10-19 15:40:48 -07:00
Jonathan Campbell
18cdaa87b5 dbg.win_out doesn't exist on Windows, or non C_DEBUG builds. 2015-10-16 12:14:21 -07:00
Jonathan Campbell
60078b3fc4 add -console option, add Win32 code to allocate a console if -console or
-early-debug is specified, and redirect stdio to it.
2015-10-16 07:51:14 -07:00
Jonathan Campbell
088b8e91ed update vs2015 debug test command line 2015-10-16 07:05:39 -07:00
Jonathan Campbell
78c7c7d807 hm... VS2015 does not recognize std::max because max() is still a macro in
the Windows headers.
2015-10-15 21:15:03 -07:00
Jonathan Campbell
89ee2c4bfe fix debug settings 2015-09-02 21:14:34 -07:00
Jonathan Campbell
1dc64db5ab update vs2015, gitignore 2015-09-02 02:41:15 -07:00
Jonathan Campbell
153dca3096 more vs2015 sln correction 2015-09-02 02:38:25 -07:00
Jonathan Campbell
4f46e9f88e a-ha: SDL project referred to non-existing header. 2015-09-02 02:02:35 -07:00
Jonathan Campbell
dc44e02d35 more 2015-09-02 01:50:27 -07:00
Jonathan Campbell
ee5e9e633f still more cleanup. but VS2015 still eternally complains that the SDL
project is out of date, needs a recompile. Come on!
2015-09-02 01:46:46 -07:00
Jonathan Campbell
b505bcc2b0 more sln fiddling 2015-09-02 01:32:29 -07:00
Jonathan Campbell
b6c44a62dc more sln cleanup 2015-09-02 01:30:36 -07:00
Jonathan Campbell
23613beb35 fix deps 2015-09-02 01:25:58 -07:00
Jonathan Campbell
94c1d3206b suo update 2015-09-02 01:18:13 -07:00
Jonathan Campbell
bd038297b4 update projects, cleanup 2015-09-02 01:17:17 -07:00
Jonathan Campbell
0cb2de549c sln cleanup 2015-09-02 00:56:17 -07:00
Jonathan Campbell
6ad7dd1797 bugfix: keyboard led synchronization now compares against LEDs bitmask,
and only updates then, just like a real BIOS. this fixes LED flickering
when running code that directly communicates with the controller.
2015-08-27 13:09:09 -07:00
Jonathan Campbell
1a65192a37 win32: bugfix: don't send LED updates if not captured 2015-08-27 12:52:48 -07:00
Jonathan Campbell
9bacb43fd0 win32: fix Windows 3.1/9x LED control by emulating little known legacy
BIOS quirk where IRQ 0 will monitor byte 40:17 of the bios data area and
use it to refresh the keyboard LEDs. This allows keyboard LEDs to work
properly now in Windows 3.1/9x
2015-08-27 12:44:26 -07:00
Jonathan Campbell
4fb62a5263 integrate hack into SDL (local copy) and enable only when capture is done. 2015-08-27 11:36:16 -07:00
Jonathan Campbell
32b2b87139 win32: alternate message path for Num/Scroll/Caps completed. 2015-08-27 11:29:36 -07:00
Jonathan Campbell
007ccb60b7 win32: last try. This is the best I can do for now. 2015-08-26 22:54:00 -07:00
Jonathan Campbell
948829339a fix distinction between American keyboards ` ~ and Japanese Hankaku. 2015-08-26 21:26:54 -07:00
Jonathan Campbell
9dca647a76 correct for Japanese \ and _ key. Now a working default in Windows. 2015-08-26 20:50:42 -07:00
Jonathan Campbell
f4bdcc4427 win32: add SDLK hack for the backslash key on Japanese 106-key keyboards.
By re-using one of the world SDLK codes.
2015-08-26 20:41:07 -07:00
Jonathan Campbell
f5e61ba99a revise key interception so other win32 applications are not given an
inconsistent modifier key state. Update code to block CTRL+ESC so Windows
95 start menu is accessible by that shortcut.
2015-08-26 16:55:49 -07:00
Jonathan Campbell
a1d93009e9 win32 target: add by default a low level keyboard hook to catch special
keys (like the Windows key, various multimedia keys, etc) so that DOSBox-X
can respond to them when mouse+keyboard capture is active. It is also
hoped (not yet tested) that this hook can allow the use of the Kana keys
on Japanese keyboards without interference from the IME. Also added is
code to convey guest keyboard LED state to the host keyboard. This means
that when mouse+keyboard capture is active the guest can control the
num/scroll/caps lock LEDs on your keyboard using the standard PS/2
keyboard Set LEDs (0xED) command.
2015-08-26 16:12:38 -07:00
Jonathan Campbell
8ef06dfd2b bugfix: VS 2015 C runtime functions open/lseek/stat
now enforce refusal to handle 2GB or larger files (in
the same way Linux has already been doing for a long
time). It turns out the inability to IMGMOUNT large files
is tied to the use of stat() at one point. Using a #define
to mask stat vs stat64 vs _stati64 and the stat struct
resolves the issue.

bugfix: IMGMOUNT sizes[] array is pre-initialized to zero
now instead of letting random stack garbage determine disk
geometry in cases where -sizes is not given and DOSBox is
unable to autodetect geometry. Added code to fill in the
missing geometry with a reasonable guess. The guess is
reasonable enough to get Windows 98 SE to boot from an 8GB
disk image, at least.
2015-08-25 15:09:52 -07:00
Jonathan Campbell
0de7eb53ef more 2015-08-23 19:02:00 -07:00
Jonathan Campbell
9722c87236 another VS2015 fix 2015-08-23 18:59:50 -07:00
Jonathan Campbell
11090bf80e Visual Studio 2015 project cleanup 2015-08-23 18:45:46 -07:00
Jonathan Campbell
87b85ce446 remove sdf file. 2015-08-23 11:56:25 -07:00
Jonathan Campbell
9fc42fa716 Update vs2015 project files to compile properly. 2015-08-23 11:34:05 -07:00
Jonathan Campbell
1f07edfa00 Managed to convert vs2008 project to vs2015 without destroying the original vs2008 project tree. 2015-08-23 10:50:48 -07:00