Commit Graph

49 Commits

Author SHA1 Message Date
waltje
85d291205f Prepared the code for loading custom video ROMs via the new loader.
Various small fixes and cleanups.
Applied the relevant upstream commits.
2018-03-22 00:03:03 -05:00
waltje
73a0ba8e39 Applied all relevant upstream commits. 2018-03-20 22:40:24 -05:00
waltje
1cf45a9724 Applied relevant upstream commits.
Converted AT NVR to be a device, so it gets auto-closed.
Added new machine_close() function which calls optional machine-custom close, updated machine table.
Small fixes here and there.
Re-wored the CDROM code to have a 'speeds' table instead of ugly hard-coding.
2018-03-20 17:13:52 -05:00
waltje
110070466a Do not allow mouse capturing if no mouse configured.
Fix resetting mouse type to NONE.
2018-03-18 21:09:19 -05:00
darkstar
acdf45b9bb MSVC: Update project files 2018-03-18 20:50:03 +01:00
waltje
0adb26c1f9 Applied the first batch of upstream commits. 2018-03-18 04:55:47 -05:00
waltje
1c60e22813 Monster patch to clean up a lot of cruft in the code, and reduce the RAM footptiny of a running XT machine from about 680MB down to about 80MB. Yes, 600MB of unused 0x00's. 2018-03-17 23:14:42 -05:00
waltje
a86d717ae1 Changes to significantly reduce the emulator's RAM footprint.
Changes to the memory manager reduced by 120MB for machines with CPU < 80386.
Changes to the 86F diskette data processor (required by all floppy controllers) reduced by 330M.
Test machine OpenXT now runs at 240MB, instead of 680MB.
2018-03-14 23:32:00 -05:00
waltje
30ef2e8288 Added support for profiling (PROFILER=y) to aid with that task. 2018-03-14 17:18:39 -05:00
Fred N. van Kempen
40b6bc4d57 Merge pull request #14 from darkstar/msvc
MSVC: Some files were moved again
2018-03-13 01:40:41 -04:00
waltje
916f210d46 Applied upstream patches (adds IBM PS/2 M70.)
Fixed two small bugs.
Moved the MRTHOR back to mainline.
Fixed a bug in the Tosh 1000.
2018-03-13 00:34:44 -05:00
darkstar
4053c356c9 MSVC: Some files were moved again 2018-03-12 21:39:52 +01:00
waltje
e69a12f7ea Re-worked the MVR framework to allow for custom RTC chips. Fixes EuroPC and Tosh T1000/1200.
Cleaned up and re-integrated the Toshiba T1000/T1200 machines.
Moved LZF files to floppy/, as that is the only module using them.
Various bugfixes and cleanups here and there.
2018-03-11 23:32:39 -05:00
Fred N. van Kempen
01ec33e2fb Merge pull request #12 from darkstar/msvc
MSVC: Update project file for sio/* and generate Manifest automatically
2018-03-08 22:24:53 -05:00
waltje
98e920fb97 Applied all relevant upstream commits. 2018-03-08 22:16:17 -05:00
darkstar
49ec18763e MSVC: Update project file for sio/* and generate Manifest automatically
Also add the user properties file that was missing so far
2018-03-09 00:24:39 +01:00
waltje
f42108cb03 Fixed silly typo. 2018-03-08 16:00:22 -05:00
darkstar
ebade6a543 WIN: cleanup warnings 2018-03-08 20:58:06 +01:00
waltje
412d1fdf48 Fixed some bugs and warnings.
Moved the SIO files to a new sio/ folder.
Added the 'version.h'stuff, added Makefile rule to generate the Manifest file for Windows.
Re-worked the About dialog - it now includes more info.
2018-03-08 01:23:34 -05:00
darkstar
6218fd8d12 MSVC: Update project files 2018-03-06 23:23:08 +01:00
waltje
a4802a9231 Updated files with upstream commits where needed.
Fixed "Settings"crash bug.
Cleaned up some video config issues.
2018-03-06 15:53:32 -05:00
waltje
8d10faf156 Changes to allow the VARCem binaries and support DLLs to be in <root>/bin, to keep things clean. 2018-03-03 00:47:58 -05:00
waltje
984ba87ead Merge branch 'master' of https://github.com/VARCem/VARCem 2018-03-02 19:03:02 -05:00
waltje
227f0446ec Updated ROM BIOS handling to use the external loader.
Several cleanups and fixes here and there.
Updated (Windows) UI to properly handle resets and changes in Settings.
Updated to no longer scan for roms at startup.
2018-03-02 19:01:48 -05:00
darkstar
cb572705d3 MSVC: Enable the use of OpenAL for sound output 2018-02-26 01:33:42 +01:00
darkstar
ddec4cf012 MSVC: Move the ip6_misc.h file to its intended location 2018-02-26 01:14:12 +01:00
darkstar
ed0e7d53f0 WIN: Update rcsid for win_d3d.cpp 2018-02-26 01:04:31 +01:00
darkstar
54f7fb57aa MSVC: Switch to full debug info for debug builds 2018-02-26 01:00:45 +01:00
darkstar
67247b6627 WIN: Try to be more verbose when CreateDevice fails 2018-02-26 01:00:44 +01:00
darkstar
176a4e1335 MSVC: Add the missing include directories 2018-02-26 00:58:02 +01:00
darkstar
54af3956fc MSVC: Fix Visual Studio solution files 2018-02-26 00:55:04 +01:00
waltje
a9d55e67ce Cleanup, move support files into src/win/, etc. 2018-02-25 17:12:00 -05:00
waltje
c39f12691c Fixed some warnings and crashes (from upstream.) 2018-02-25 04:19:43 -05:00
waltje
9f4c8423d6 Cleanups, some fixes, moved zip.ch into the disk/ folder. 2018-02-25 02:33:19 -05:00
waltje
51aecc4ba6 Several cleanups, dynloading OpenAL and FluidSynth, update makefile for crosscompiling using MinGW. 2018-02-24 23:16:31 -05:00
waltje
b024b7e76e Removed the Riva driver from the source tree. 2018-02-22 17:44:03 -05:00
waltje
74815e643e Small fixes, renamed remaining .cc files to .cpp. 2018-02-22 17:35:23 -05:00
darkstar
d502378d17 ALL: Fix SCCS IDs 2018-02-22 21:13:37 +01:00
darkstar
0355007904 WIN: Replace wsprintf() by swprintf()
wsprintf() is deprecated, has a potential for buffer overflows (no
length parameter), and doesn't handle 64-bit format strings (%llu and
friends) at all. Three good reasons to get rid of it...
2018-02-22 20:23:52 +01:00
waltje
9116f48ac3 Fixing typos, cleaning up some fixes, updated file header version/dates. 2018-02-22 02:54:49 -05:00
darkstar
9d6e16fb21 WIN: Fix another uninitialized variable 2018-02-22 01:50:46 +01:00
darkstar
53b129dfb4 CDROM,WIN: guard header files against C/C++ mixup 2018-02-22 01:42:47 +01:00
darkstar
2e70f7b112 WIN: Fix another potentially uninitialized variable 2018-02-22 00:57:25 +01:00
darkstar
c832d0a91b WIN: Fix some more uninitialized variable issues 2018-02-22 00:46:12 +01:00
darkstar
d66f26ae8b MSVC: Work around a DirectX SDK issue
The symbol DIDEVTYPE_JOYSTICK gets defined only if DIRECTINPUT_VERSION
is < 0x700, but then all DX8 symbols are missing. This probably works
just fine with mingw headers.
Since it's only one symbol that's missing, we'll just define that
locally
2018-02-22 00:46:12 +01:00
darkstar
20f7a186f8 WIN: Don't use pointer arithmetic with void* 2018-02-22 00:46:12 +01:00
darkstar
c9ddadf715 WINDOWS: Fix resource file
One string resource was longer than 256 characters, one duplicate
string ID was fixed, and one key definition was spitting out errors.

The about text will at some point have to be replaced with two separate
string labels, for now I fixed just enough to get it to open in MSVC
2018-02-21 20:32:03 +01:00
waltje
52078bd6d9 Fixed typo in win/win_crashdump.c 2018-02-20 23:37:15 -05:00
waltje
7f4ddcd70b Import of all sources. 2018-02-20 21:52:53 -05:00