Commit Graph

13950 Commits

Author SHA1 Message Date
zeromus 303e9df26e rejigger PlatformLinkedLibSingleton so it can be used embedded in the EXE without requiring a dependency on dlls, so it can boot when dlls are relocated 2019-01-04 17:42:12 -05:00
upthorn 8a9e8ceed2 Fix appveyor build error by removing use of C#7 features. 2019-01-04 14:25:24 -08:00
upthorn c8f826ada3 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2019-01-04 13:58:01 -08:00
upthorn 9d853d200d Remove vestigial hard-coded Ecco 2 tool 2019-01-04 13:57:34 -08:00
nattthebear b82fd1fb2c Remove bogus TODO.
Absolute requirements of MemoryBlock include:

1) Ability to set and deny RWX permissions at the individual page level within the block
2) Ability to map and unmap from memory at will
3) Ability to specifiy the exact address at which the mapping occurs

From the docs, I don't see any way to get at any of these from the MemoryMappedFile stuff.  So that's a nonstarter.

Should be easy enough to rewrite in POSIX though.
2019-01-04 16:30:13 -05:00
upthorn 71215adf0d Merge branch 'master' of https://github.com/TASVideos/BizHawk 2019-01-04 04:58:58 -08:00
alyosha-tas 32e4a2d9a4 GBHAwk: Linked play initial capability 2019-01-03 19:24:18 -06:00
alyosha-tas 12ad2d5b36 GBHawk: Link Cable work 2019-01-03 17:31:35 -06:00
James Groom 42764f0019 Add preliminary Unix compatibility (using Mono; resolves #1384) (#1380)
* Move PlatformSpecificLinkedLibs and implementations to common and rename
* Specify file ext. at LoadPlatformSpecific call site
* Move Client.Common.Global.RunningOnUnix to PlatformLinkedLibSingleton
* Inline var Resolver
* Use PlatformLinkedLibManager internally
* Move plugin load check to LinkedLibManager, use LinkedLibManager
* Interpolate
* Return exit code from dlclose/FreeLibrary
* Skip all calls to externs in BlipBufDll when using mono
* Use PlatformLinkedLibManager in SevenZipLibraryManager
* Add expected return value to workaround (from testing on Win32)
* Remove ".dll" from DllImport attr, remove temporary workaround, see desc.
The library can be built by changing the output file name in
`.../blip_buf/Makefile` to `libblip_buf.so`, and running `make`. It will be
loaded if placed in the `.../output` folder.
* Remove unused code, add TODO (this class is req. for Waterbox.PeWrapper)
The TODO is to [rewrite with
C#](https://docs.microsoft.com/en-us/dotnet/standard/io/memory-mapped-files)
instead of importing from `kernel32.dll`.
* Update OpenTK again but better (for #1384)
* Add Mono run script
* Add libblip_buf.so (temporary)
Temporary because it should be a separate package which BizHawk depends on.
* Add distro detection, add "already running" and "unknown distro" messages
* Gray-out Lua Console on Unix
* Extract superclass from EmuLuaLibrary, add shell implementation for Unix
* Specify libdl version, Fedora doesn't have the versionless symlink
* Remove empty `ToolStripMenuItem`, null `Text` caused crash on Unix
* Transform OpenTK keyboard input into a `List<KeyEvent>` and read that
Also fixes crash on rebind
* Remove debug `using ...;`
2019-01-04 01:50:55 +03:00
alyosha-tas f47c2d1558 GBHawk: Start link support 2019-01-03 12:10:53 -06:00
upthorn bc4330a9d1 External tools no longer crash on loading new ROM 2019-01-03 05:53:26 -08:00
upthorn c76d850687 Working types now allow implicit conversions from longs. 2019-01-03 05:52:31 -08:00
Asnivor 2b7014f8b8 ZXHawk: Some comment and group structure cleanup 2019-01-02 14:02:09 +00:00
Asnivor 3766e2380c ZXHawk: Fix exception thrown randomly by tape player subsystem 2019-01-02 12:38:32 +00:00
alyosha-tas 0621db4585 GBHawk: inital register state 2018-12-31 19:14:53 -06:00
zeromus 9d14c1f214 fix ugly cleartype mangling on lua canvas drawtext, unintended goof-up in code. fixes #1411 2018-12-30 02:32:38 -05:00
alyosha-tas cf806baff7 GBHawk: Fix very stupid bug: Fixes Lego Racers 2018-12-28 19:49:20 -06:00
alyosha-tas 19f3aeec3a GBHawk: GBC HW IO 2018-12-28 10:11:37 -06:00
alyosha-tas 36e159da72 GBHawk: GBC pass remaining Wilbert Pol tests 2018-12-28 09:15:16 -06:00
alyosha-tas 45de86de8d GBHawk: LY = LYC Fix: Fixes Slugfest 2018-12-28 06:51:22 -06:00
zeromus 642bc13e84 fix build error (maybe some new c# thing) 2018-12-24 20:33:09 -05:00
alyosha-tas 62c178ff2e GBHawk: add default bindings 2018-12-24 12:33:09 -06:00
feos 2121107d1a gpgx tracer: pc & 0xFFFFFF 2018-12-24 01:59:15 +03:00
upthorn 01914552de Merge branch 'master' of https://github.com/Upthorn/Bizhawk 2018-12-23 14:45:18 -08:00
feos d37ee39716 and more 2018-12-23 22:16:04 +03:00
feos f000b45d28 and more padding 2018-12-23 18:41:46 +03:00
feos 40d0ddb1c2 update gliden 2018-12-23 18:33:06 +03:00
feos a2ae8ed47f return gpgx tracelog padding 2018-12-23 18:23:44 +03:00
upthorn 34c207ff38 Fixed an infinite recursion in the implicit conversions of the working types 2018-12-23 04:25:08 -08:00
upthorn b9d35399b7 Created some working small integers to bypass C#'s hatred of 8bit and 16bit arithmetic. 2018-12-23 00:46:20 -08:00
zeromus 15131a0626 support --config=c:\path\to\config.ini (fixes #1404) 2018-12-23 00:23:57 -05:00
upthorn 3b1fd8fec6 Unrename SetExtraPadding methods. 2018-12-22 11:58:14 -08:00
upthorn 79aaef0257 Removed project references to old, unrefactored files that no longer exist. 2018-12-22 11:16:54 -08:00
upthorn efc6f73169 Merge branch 'PluginDev' 2018-12-22 10:43:12 -08:00
upthorn aba1da071d Completely refactored PluginAPI to extend ApiHawk. Ecco2AssistantPlugin is now an external tool. 2018-12-22 10:40:30 -08:00
alyosha-tas adf4dd6150 GBHawk: HuC3: Initial Capability 2018-12-22 09:10:27 -06:00
upthorn d238ecc311 Merge branch 'master' of https://github.com/TASVideos/bizhawk 2018-12-21 22:41:37 -08:00
upthorn ce81b67b8c Allow clientapi to modify GameExtraPadding, not just ClientExtraPadding 2018-12-21 22:39:19 -08:00
upthorn 8395193aee Allow alpha to matter in screenshots. 2018-12-21 22:38:03 -08:00
upthorn d3cb19e56b Uncomment mapdumping code. 2018-12-21 22:35:38 -08:00
Asnivor fbbdec8610
Merge pull request #1405 from TASVideos/z80_optimzation
Z80A Optimizations - closes #1395
2018-12-21 18:20:46 +00:00
Asnivor 32cce86f51 z80: optimization using fixed-size arrays 2018-12-21 13:46:47 +00:00
Asnivor 50045f3b4b Z80: tidy up old commented code 2018-12-21 10:29:10 +00:00
Asnivor b4219b8242 Z80: convert .Length lookups to integer 2018-12-21 09:57:49 +00:00
upthorn b343a19acc Commented out extraneous member. 2018-12-20 17:32:49 -08:00
alyosha-tas 812f3d5cfa
Update PPU.regs.cs
comment out debug line
2018-12-20 18:39:02 -06:00
Asnivor 6a60657199 Z80: optimization testing 2018-12-20 10:40:54 +00:00
alyosha-tas b773ba5798 NESHawk: Note on Mesen timings 2018-12-19 19:39:01 -06:00
feos 4675d692ff n64 plugins: add 4K 2018-12-17 23:00:51 +03:00
alyosha-tas 69fe1bdf97 NESHawk: VRAM write timing glitch 2018-12-16 13:10:04 -06:00