patrickvl
a8e8f0c071
Loader : Update build script to include new binaries in artifact
2020-04-14 20:24:17 -05:00
PatrickvL
c4f9821c6a
Loader : Fix typos and avoid Microsoft compiler specific types
2020-04-14 20:24:17 -05:00
PatrickvL
affc999d70
Loader : Use CxbxMessageBox (a wrapper for Windows' MessageBox API) wherever possible, to avoid repeating the TEXT("Cxbx-Reloaded") caption everywhere, and a different argument-order allowing default argument values and thus more compact code.
2020-04-14 20:24:17 -05:00
patrickvl
f283dff3b6
Loader : Deduplicate code via new CreateSettings()
2020-04-14 20:24:17 -05:00
PatrickvL
254e666bfe
Loader : Shared implementation for termining guiProcessID (and "2nd GUI" mode?!)
2020-04-14 20:24:17 -05:00
patrickvl
170b971a8e
Loader : Deduplicate code via new CreateSettings()
2020-04-14 20:24:17 -05:00
patrickvl
890a5ffd2f
Loader : Merge LaunchEmulation() into CxbxKrnlMain()
2020-04-14 20:24:17 -05:00
patrickvl
37f5a751a1
Loader : Moved HandleFirstLaunch() and LaunchEmulation() towards shared source file (CxbxKrnl.cpp), and call it from our DLL's Emulate() function.
2020-04-14 20:24:17 -05:00
PatrickvL
daffa99825
Refactorings preparing actual emulation start for DLL (just need to move two functions to a shared file)
2020-04-14 20:24:17 -05:00
PatrickvL
cd62ac9cc1
Shared implementation of VerifyBaseAddr()
2020-04-14 20:24:17 -05:00
PatrickvL
3be54d4569
Rely on CxbxKrnl.h for CXBX_BASE_ADDR (avoiding a duplicate declaration)
2020-04-14 20:24:17 -05:00
PatrickvL
c537539c6e
Extracted VerifyWow64() function, so that the Cxbx and CxbxLoader projects share the same implementation.
...
For this, renamed LoaderTooling.cpp to AddressRanges.cpp, which better aligns with AddressRanges.h anyway.
2020-04-14 20:24:17 -05:00
PatrickvL
bf115fe7ab
Complete Emulation DLL project by adding all Cxbx source files (except GUI-related stuff). Entire solution builds again with this.
...
Next steps :
- Actually getting the emulation DLL to work
- Complete CxbxGUI project by adding all Cxbx GUI-related source files
2020-04-14 20:24:17 -05:00
PatrickvL
c42aff2307
Loader : Collect actually reserved ranges during range-verification (in the emulation DLL, not during reservation in the loader)
2020-04-14 20:24:17 -05:00
patrickvl
39a9bd451f
Log initialization failure in the loader
2020-04-14 20:24:17 -05:00
patrickvl
747ec875aa
Use EXIT_SUCCESS for forced termination, EXIT_FAILURE for all other exit-reasons.
2020-04-14 20:24:17 -05:00
patrickvl
41c2de8e5d
Pass along the selected system configuration flag to the emulation DLL and use it to verify the address ranges.
...
Note, that even though verification passes, a few blocks in optional ranges do fail. It's probably wise to build up a list of those, so that the memory managers can keep this into account.
2020-04-14 20:24:17 -05:00
PatrickvL
93c8514700
Loader : Initial drop of a separate *empty* GUI project (probably won't compile either)
2020-04-14 20:24:17 -05:00
PatrickvL
b2b0813db4
Loader : Added emulation DLL, working towards this stub compiling, moved loader project to subfolder
2020-04-14 20:24:17 -05:00
PatrickvL
9f19b26161
Loader : Log errors to console output. Also added a few comments
2020-04-14 20:24:16 -05:00
PatrickvL
4e1062905d
Loader : Correct the PageTable range to fit all possible entries
2020-04-14 20:24:16 -05:00
PatrickvL
e333152bd1
Loader : We won't emulate Alpha kits, and all other hardware revisions lack the physical hardware lines for USB1 ports, so this can go.
2020-04-14 20:24:16 -05:00
PatrickvL
032eee144f
Reduce clutter in Loader by splitting up functionality in task-specific source files
2020-04-14 20:24:16 -05:00
patrickvl
420d689d82
Cleaned up of the loader project, added environment checks and documented it somewhat.
2020-04-14 20:24:16 -05:00
patrickvl
2295a10e77
Configurable system configuration by matching command line flags against memory-range flags - a quite flexible solution if I may say ;)
2020-04-14 20:24:16 -05:00
patrickvl
0532fa7c58
Loader coding style
2020-04-14 20:24:16 -05:00
patrickvl
da10d3602f
Extended reserved memory ranges with DevKitMemory and SystemMemory (both partially fail)
2020-04-14 20:24:16 -05:00
patrickvl
34072e9fd9
Random stuff, taken from my old Loader branch
2020-04-14 20:24:16 -05:00
patrickvl
208ce0e35c
Added minimal CxbxLoader project
2020-04-14 20:24:16 -05:00
PatrickvL
ca6423b484
Reviving my more-than-a-year-old Loader branch, by copying over various things (nothing functional yet)
2020-04-14 20:24:16 -05:00
PatrickvL
2a23634c77
Merge pull request #1870 from Cxbx-Reloaded/develop
...
Move develop Branch into master Branch
2020-04-14 12:23:31 +02:00
RadWolfie
52cdb4e984
Merge pull request #1869 from Margen67/readme-fix
...
Remove Azure badge
2020-04-13 19:25:24 -05:00
Margen67
525a2fb330
Remove Azure badge
2020-04-13 17:22:06 -07:00
PatrickvL
238dda162f
Merge pull request #1865 from LukeUsher/amd-gpu-workaround
...
prevent missing polygons with AMD GPU
2020-04-14 00:24:38 +02:00
RadWolfie
739e1928a2
change filter log output to always output
2020-04-13 03:28:58 -05:00
=
63563763dd
vsh: reduce number of instructions required to handle bounds checking
2020-04-13 03:10:23 -05:00
=
8850b52d88
prevent missing polygons with AMD GPU
2020-04-13 03:10:23 -05:00
Luke Usher
90620f7654
Merge pull request #1867 from RadWolfie/restore-appveyor-change
...
Restore Debug Build for AppVeyor
2020-04-12 17:20:16 +01:00
RadWolfie
02840804d4
restore debug build for AppVeyor
2020-04-10 17:10:03 -05:00
Luke Usher
30dbba8d37
Merge pull request #1859 from darkf/clang-fixes-actual
...
Various fixes for standards compliance and compiler portability
2020-04-09 11:18:25 +01:00
Luke Usher
ff4f4f01c9
Merge pull request #1864 from RadWolfie/update-readme
...
Redirect Users to GitHub's Releases Page
2020-04-09 10:40:12 +01:00
RadWolfie
69d85d2513
add notice for WINE users
2020-04-09 04:06:13 -05:00
RadWolfie
f5bbfad86c
remove appveyor and travis badge since they are disable
2020-04-09 04:06:13 -05:00
RadWolfie
0f49260821
redirect users to releases page
2020-04-09 04:06:13 -05:00
Luke Usher
c382d0fcda
Merge pull request #1862 from RadWolfie/hotfix-github-badge
...
HOTFIX: Correct GitHub Badge Image Linkage
2020-04-09 08:39:06 +01:00
RadWolfie
9ba943e42b
hotfix github badge
2020-04-08 11:38:10 -05:00
Luke Usher
fca206c883
Merge pull request #1854 from Margen67/actions
...
Add GitHub Actions CI
2020-04-08 17:21:30 +01:00
Margen67
e84fa750e5
Multi-line if
2020-04-07 18:47:41 -07:00
darkf
eb2bc2dbc8
Use proper constant for XMP_STATUS_RELEASE_CXBXR
2020-04-07 15:32:31 -07:00
darkf
743b3cbdbb
Remove unused extern "C" comments
2020-04-07 03:24:00 -07:00