Commit Graph

3428 Commits

Author SHA1 Message Date
YoshiRulz 4a5ece2076
Use ranges in MemoryBlock* 2020-01-03 23:35:07 +10:00
alyosha-tas f76db6202a O2Hawk: a few more bug fixes 2020-01-02 20:13:11 -05:00
alyosha-tas f6695ad87c Atari 2600: fix audio in commando raid 2020-01-02 19:28:28 -05:00
alyosha-tas dd419e6768 Atari 2600: fix haunted house, read from invalid TIA address and expected open bus 2020-01-02 17:59:24 -05:00
YoshiRulz e7d0fb8299
Refactor/genericise MutableIntRange, add immmutables, add more methods
call now and I'll throw in not one but two float equality extensions for free
2020-01-03 03:32:51 +10:00
alyosha-tas edefd123d5 O2Hawk: DAA work, might still be wrongfor some cases. 2019-12-31 21:46:59 -05:00
alyosha-tas 8548859a67 Atari 2600: start work on keyboard controller (incomplete) 2019-12-31 18:37:10 -05:00
alyosha-tas 5fcc13f5ed Vectrex: fix analog controller 2019-12-30 17:59:19 -05:00
alyosha-tas a66530cd3c GBHawkLink: allow only one screen to be displayed 2019-12-29 18:22:57 -05:00
Asnivor 91008590cf ZXHawk: Implement more faithful AY port decoding (fixes #1767) 2019-12-29 22:23:20 +00:00
alyosha-tas 2d8d8cc1cd O2Hawk: debuggable stuff 2019-12-29 09:06:39 -05:00
feos cf666228b3 comments 2019-12-29 00:21:27 +03:00
feos 8599946bb4 #region 2019-12-29 00:17:18 +03:00
feos 3a464eed60 mame_lua_get_bool() doesn't work with gcc for whatever reason... 2019-12-29 00:13:31 +03:00
feos 4ef8c8e34c mame: ram domains 2019-12-28 15:21:06 +03:00
alyosha-tas 6f53ad1af7 Fix settings initialization for several other cores 2019-12-27 17:45:37 -05:00
alyosha-tas cef44657e2 O2Hawk:fix settings ini 2019-12-27 17:27:02 -05:00
alyosha-tas 49fc6839e6 O2Hawk: collision bug fix 2019-12-27 16:47:17 -05:00
alyosha-tas 9015d36862 O2Hawk: cpu cleanup and display work 2019-12-27 16:18:26 -05:00
YoshiRulz 50373ac1ad Move conditional PackageReferences to conditional .targets import
Fixes build system bug introduced by c31050feb
2019-12-27 16:35:47 +10:00
alyosha-tas 0caf12f25e O2Hawk: more display work 2019-12-26 20:17:07 -05:00
YoshiRulz c31050feb6
Migrate from packages.config to PackageReference 2019-12-26 16:54:33 +10:00
feos 1dc33e074f mame cleanup 2019-12-23 20:18:42 +03:00
feos a0dd2e1314 mame: better load error text 2019-12-23 19:41:20 +03:00
feos 7f4cb4fe51 try a string instead 2019-12-23 19:28:51 +03:00
feos d375b1c2e0 mame system bus 2019-12-22 23:51:10 +03:00
YoshiRulz 264b27475e
Fix default referring to non-nullable type 2019-12-23 04:12:02 +10:00
James Groom 78fcde9480
Merge branch 'master' into winhacksbgone 2019-12-22 17:01:10 +00:00
alyosha-tas cba08040f7 O2Hawk: color and display work 2019-12-22 11:18:38 -05:00
alyosha-tas d0e6441f7b O2Hawk: more bug fixes to timing and interrupts 2019-12-21 20:59:09 -05:00
alyosha-tas b5090b5a63 O2Hawk: bug fixes
and a2600 db update
2019-12-21 12:49:28 -05:00
YoshiRulz 7cd29c0f54
Finish moving Win32 imports to BizHawk.Common, organise, and cleanup 2019-12-21 18:33:11 +10:00
YoshiRulz 580aa2eaf9
Refactoring and cleanup of dynamic lib loading
Also fixed error reporting in WindowsLLManager, and fixed bug in
MednaDisc.CheckLibrary
2019-12-21 18:22:58 +10:00
YoshiRulz 7ea8fb185a
Congregate, organise, and cleanup some Win32 imports and their usages 2019-12-21 18:21:51 +10:00
alyosha-tas 6e699d576a O2Hawk: more bug fixes 2019-12-17 18:58:20 -05:00
alyosha-tas 4619e7a862 O2Hawk: cleanup and bug fixes 2019-12-17 17:40:57 -05:00
alyosha-tas c6c5217c97 O2Hawk: initial functionality, also remove O2EM 2019-12-17 12:09:58 -05:00
alyosha-tas 89c87b0581 O2Hawk: More display work 2019-12-16 11:50:00 -05:00
adelikat e84fd17784 support subneshawk for VS menu items, pass dependencies into VSSettings 2019-12-15 16:55:40 -06:00
adelikat 8cc02b8956 NesSyncSettingsForm - pass dependencies in and support SubNesHawk 2019-12-15 16:47:48 -06:00
adelikat 71aaf349b5 Fix GPGX one off hack to fix trace logger, and instead do a less bad hack in CallbackBasedTraceBuffer 2019-12-15 12:13:10 -06:00
adelikat a5d7c98daf some gpgx code cleanups 2019-12-15 11:50:21 -06:00
alyosha-tas d3c04bcd4e O2Hawk: Keyboard support 2019-12-15 09:24:32 -05:00
alyosha-tas ef046d60c8 O2Hawk: Bug Fixes, controller support 2019-12-14 11:46:45 -05:00
adelikat a84213562f vandal cleanups 2019-12-14 18:50:11 +03:00
feos dfa73eceef mame syncsettings 2019-12-14 18:50:11 +03:00
alyosha-tas bd7233f2cd O2Hawk: start displaying stuff and making sound 2019-12-13 20:43:33 -05:00
YoshiRulz 185337d1c5 Replace assembly references with NuGet packages where possible 2019-12-12 03:56:46 +00:00
alyosha-tas 804bde9aa0 O2Hawk: Start displaying stuff, and bug fixes 2019-12-10 13:52:33 -05:00
alyosha-tas 8e139b4b5b O2Hawk: Get interrupts working 2019-12-09 16:45:36 -05:00
adelikat 85be6af3d3 Convert spaces to tabs in ZX Spectrum and AmstradCPC cores 2019-12-06 17:47:59 -06:00
adelikat fef746dffa properly dispose of IDisposables in core savestate code, and a few other places 2019-12-06 17:33:17 -06:00
feos b5db6a7df6 mame
- put system and game names to emuhawk caption
- fix loading from recent menu
- temp fix for audio drift
2019-12-06 21:34:20 +03:00
James Groom fcc0bc19a4
Change build config to support the Core build system (for #1415)
squashed PR #1702
2019-12-03 16:58:33 +00:00
alyosha-tas ecc9899f92 O2Hawk: begin ppu work 2019-11-30 09:28:53 -05:00
feos 5ca08b6c29
Camhack support (#1725)
for the camhack to work we have to save a state, hack memory, advance twice to see the changes, then load the state to prevent desync. since we can omit the framebuffer in savestates, loading them can happen without updating the screen, so the hacked camera remains visible.

advancing 2 frames automatically is done like tastudio does it when it seeks to a frame, only from lua now.

and the most questionable part is "invisible emulation", which is how Gens calls this IIRC, when everything that can distract or slow us down is skipped: sound, video, tools updates.

new lua functions:
- client.invisibleemulation()
- client.seekframe()

* for a test, mGBA core uses fake video and audio buffers and renders to them when we want to "skip" rendering. proper setup would involve actually skipping rendering those inside the core.
* allow disabling video and audio updates for gpgx too (proper approach, no fake buffers involved)
* add the script for Sonic Advance
2019-11-23 12:27:14 +03:00
alyosha-tas 2fbf3c3b19 O2Hawk: system management work 2019-11-18 22:17:29 -05:00
alyosha-tas 8b2150dbd3 O2Hawk; Start cleaning up bugs 2019-11-18 18:36:51 -05:00
alyosha-tas 61038a13ae O2Hawk: Expose Core and start running code 2019-11-18 17:33:55 -05:00
alyosha-tas 8b9968da60 O2Hawk: more groundwork 2019-11-17 22:29:17 -05:00
adelikat c854ea90b9 remove some obsolete BufferExtensions, and unused ones 2019-11-16 16:55:28 -06:00
adelikat eb1d87933b Fix Nintento (breaking config change but we've already thoroughly broken compatibility since last release), partially addresses #971 2019-11-16 12:42:18 -06:00
adelikat 641c3e9f82 convert .smv importer to new style, also convert to bsnes instead of snes9x 2019-11-12 14:59:07 -06:00
alyosha-tas 138a2bcef5 O2Hawk: Finish disasm, start execution 2019-11-11 22:19:41 -05:00
alyosha-tas c427d280ba O2Hawk: Start disassembly 2019-11-10 20:22:38 -05:00
alyosha-tas 67d4bea0d9 O2Hawk: more cpu work 2019-11-09 10:10:35 -05:00
alyosha-tas aced228b43 O2Hawk: more CPU work 2019-11-08 10:44:00 -05:00
alyosha-tas 558171d949 GBHawk: Fix a regression 2019-11-04 20:37:38 -05:00
alyosha-tas bc45386467 GBHawk: fix spirou scrolling 2019-11-04 15:32:22 -05:00
YoshiRulz 8c059aa43c
Replace helper methods with readonly bool IsUnixHost and cleanup 2019-11-04 14:30:05 +10:00
J.D. Purcell fec63fb66a Spaces -> tabs, fix mixed newlines. 2019-11-03 20:58:36 -05:00
alyosha-tas 2750a420ef A2600: audio bug fix (Space Jockey) 2019-11-03 20:21:25 -05:00
J.D. Purcell 6eb44acd4f Fix noise from last merge. 2019-11-03 18:04:31 -05:00
adelikat b9ade1a555 Merge branch 'master' into MoreUnixMonoCompatWork 2019-11-03 12:55:53 -06:00
alyosha-tas 0de16bc8b9 A2600: journey escape fixes #1614 2019-11-03 07:41:22 -05:00
adelikat 6c7653e158 Merge branch 'master' into MoreUnixMonoCompatWork
This doesn't compile because of Input.cs, didn't know what to do. Also search for Merge TODO for some commenting things that probably need to be deleted
# Conflicts:
#	BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj
#	BizHawk.Client.EmuHawk/CustomControls/InputRoll.Drawing.cs
#	BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs
#	BizHawk.Client.EmuHawk/Program.cs
#	BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs
#	BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs
#	BizHawk.Client.EmuHawk/tools/ToolHelpers.cs
#	BizHawk.Client.EmuHawk/tools/ToolManager.cs
#	BizHawk.Client.EmuHawk/tools/TraceLogger.Designer.cs
#	BizHawk.Client.EmuHawk/tools/TraceLogger.cs
#	BizHawk.Client.EmuHawk/tools/Watch/RamSearch.Designer.cs
#	BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs
#	BizHawk.Common/BizInvoke/DynamicLibraryImportResolver.cs
2019-10-31 17:01:19 -05:00
alyosha-tas d6f46104dd O2hawk: internal graphics table 2019-10-31 13:29:18 -04:00
alyosha-tas 520ba97caa O2Hawk start 2019-10-31 09:43:25 -04:00
YoshiRulz f8379d9fd4
Bump ReSharper analysis to C# 8.0 2019-10-31 03:30:00 +10:00
feos 0247a8f1a8
mame core wip (#1705)
* add MAME to OpenAdvanced
* make mame launch games
limited to arcades that only need rom name. other devices require machine name and rom name, and won't run. nor they are meant to be supported anyway: we have enough emulators that do the job better for particular devices.
dunno if direct disk access will be avoidable, there are quite some files it might want to load other than the rom (parent rom, bios, artwork). trapping all of these might be a future task.
it is also known that mame can load "romname.zip" file just as well as "romname" folder, which would represent an unarchived zip. I make use of it to send it zip name with extension. it's easy, and we're not obliged to recognize mere folder paths in the mame-advanced-loader logic.
* ability to run lua code inside mame
2019-10-29 18:37:27 +03:00
J.D. Purcell 69edada441 Set LangVersion to 8.0. Requires Visual Studio 2019 with 16.3+ update installed. 2019-10-27 12:14:19 -04:00
adelikat 924618ee8f Set resharper language level to 7, add some emulator lingo to the resharper dictionary 2019-10-27 10:54:29 -05:00
YoshiRulz 8c7862aa8a
Fix .so versioning 2019-10-25 21:33:05 +10:00
YoshiRulz 9946f2ff16
Re-add FPU precision, enabled only on Windows 2019-10-25 21:27:05 +10:00
YoshiRulz 60cf4e6c02
Remove FPU precision (probably not needed according to natt) 2019-10-25 21:21:56 +10:00
YoshiRulz b904d3d71c
Look for libquicknes.dll/.so better 2019-10-25 19:21:36 +10:00
J.D. Purcell c956b5993b Small FFT change I had stashed. 2019-10-21 00:10:28 -04:00
YoshiRulz db020e499e
Extract superclass from MemoryBase and start on a Unix implementation 2019-10-19 15:20:31 +10:00
alyosha-tas 9da739eaeb GBHawk: TAMA5 initial work 2019-10-18 17:35:59 -04:00
alyosha-tas 4324e1b309 GBHawk: sync settings fix 2019-10-14 08:58:54 -04:00
alyosha-tas 2e31d38568 GBHawk: fix a register 2019-10-13 19:27:14 -04:00
James Groom 90b0574bc3
Remove unnecessary calls to ToList (e.g. in foreach)
squashed PR #1591
2019-10-13 15:50:57 +00:00
YoshiRulz 7df71f2c86
Properly fix lib loading (builds upon 77bbc4128)
Also cleaned up OSTailoredCode.cs and fixed qualifiers in Program.cs
2019-10-13 15:23:14 +10:00
J.D. Purcell 77bbc41286 Fix prerequisites dialog (broken by 42764f00 and 436b6452). 2019-10-12 17:56:20 -04:00
alyosha-tas d7ee6ba579 GBHawk: Misc cleanup 2019-10-12 16:04:13 -04:00
alyosha-tas 8384f4298d GBHawk: another mbc3 fix 2019-10-11 21:28:46 -04:00
alyosha-tas 1c51f09e65 GBHawk: add RTC offset setting 2019-10-11 13:19:40 -04:00
alyosha-tas 06d53a106a GBHawk: RTC update 2019-10-11 09:31:21 -04:00
alyosha-tas 5916b9af17 GBHawk: minor bug fixes 2019-10-10 20:12:44 -04:00
alyosha-tas 931a4dcde9 GBHawk: window timing fixes 2019-10-10 09:57:40 -04:00