Commit Graph

247 Commits

Author SHA1 Message Date
Brian Armstrong 2c6ecb68bd Merge branch 'master' into brian/mem_callback_addr_value 2019-06-06 02:11:04 -07:00
Brian Armstrong d41bd867b8 flags 2019-06-06 02:04:47 -07:00
alyosha-tas e60896c1b7 A2600: Refactor audio and savestate it. 2019-06-01 19:44:01 -04:00
alyosha-tas ca5585dfaa A2600: boost grip controller 2019-05-05 07:53:28 -04:00
James Groom 4e91f88af3
Use nameof in cores 2019-03-28 14:18:58 +11:00
alyosha-tas 939de46905 A2600: fix HMove 2019-02-03 10:13:51 -06:00
Brian Armstrong a8f293eec8 Call mem callbacks with addr, value 2019-01-24 03:23:21 -08:00
alyosha-tas c19c7cd5c3 SubNESHawk
also Input register shift fix

# Conflicts:
#	BizHawk.Client.EmuHawk/MainForm.Designer.cs
#	BizHawk.Client.EmuHawk/MainForm.Events.cs
#	BizHawk.Emulation.Cores/Computers/AmstradCPC/AmstradCPC.IEmulator.cs
#	BizHawk.Emulation.Cores/Computers/SinclairSpectrum/ZXSpectrum.IEmulator.cs
#	BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.run.cs
2019-01-10 18:25:59 +03:00
alyosha-tas 59f43b144e Core Code Cleanup 2018-12-05 09:01:25 -06:00
alyosha-tas 62d1005ed9 A2600: Fix special reset cases 2018-06-10 07:48:44 -04:00
alyosha-tas 173bb2a50f A2600: Add special cases for games that turn off screen to do calculations 2018-06-09 21:15:26 -04:00
Scepheo f3ea6fe025 Use generic interface type on MOS 6052X for talking to the emulator core (#1189)
* Use generic interface type on MOS 6052X for talking to the emulator core
* Change CpuLink constructors to not use expression-bodies, to get the AppVeyor build to pass.
* Add comment explaining why IMOS6502XLink exists.
2018-05-20 23:18:53 +03:00
nattthebear e8145af463 i hope this breaks something 2018-05-12 12:55:42 -04:00
alyosha-tas b2ed6eb737 Always initialize independent instances of IController in cores to NullController
- Fixes #1168
2018-03-31 11:23:55 -04:00
feos f9cef46bd7 6502 disasm: accidentally lost this fix 2018-03-15 22:20:23 +03:00
alyosha-tas c839bffc33 A2600: Add Driving controller and fix coleco Super Action Controller 2018-03-12 09:12:41 -04:00
alyosha-tas 6b18b3cb57
Update Atari2600.IEmulator.cs
Fix broken build
2017-11-08 18:22:53 -05:00
alyosha-tas e35b225fb0
Update Atari2600.IEmulator.cs
Add a frame termination condition so the core doesn't silently crash.
2017-11-08 14:11:13 -05:00
alyosha-tas 7a799583e9
Update Atari2600.cs
Kangaroo [!].a26 has banks swapped similar to a few other games, add it to the internal list.
2017-11-08 13:52:39 -05:00
adelikat ebcd237858 Merge branch 'master' into domainedmemoryhooks 2017-10-29 12:38:29 -05:00
alyosha-tas 32797eea46 Atari 2600
-Recast to run single cycle
-Remove frame buffer from state
-Always end frames on vsync boundary
2017-09-20 10:33:14 -04:00
alyosha-tas 30f1d61f7f Atari 2600
-Recast to run single cycle
-Remove frame buffer from state
-Always end frames on vsync boundary
2017-09-20 10:27:27 -04:00
alyosha-tas 0574013bd0 Atari 2600
-Recast to run single cycle
-Remove frame buffer from state
-Always end frames on vsync boundary
2017-09-20 10:26:33 -04:00
adelikat cd289c474e memorycallbacks with domains - Phase 2 - change api to Call methods and refactor accordingly, everything should behave as it was before the refactor at this point. No cores have yet to be implemented with domains other than the default bus they already had 2017-08-03 18:08:07 -05:00
adelikat 04ce66c397 phase 1 of changing memory callback api to specify domain - require cores to specify which domains are available and have the domain passed in when creating callbacks. Still todo - cores need to pass in domain name on CallReads/Writes/Executes methods 2017-08-01 22:05:17 -05:00
alyosha-tas 773a70c125 A2600: Fix bitmap demo atext.bin
Gotta stay on par with Stella!
2017-07-26 09:17:08 -04:00
alyosha-tas d1a78f4fcb Update Atari2600ControllerDeck.cs
- Repair controller image appearing in config -> controllers
2017-07-24 17:38:46 -04:00
adelikat c6e0e9fa57 Rename CoreAttributes to CoreAttribute as to not be a bad person 2017-07-12 14:10:55 -05:00
alyosha-tas a4360b9c36 A2600: Adjust range on float controls
Scale them in read function instead .

NOTE: still needs some play testing from someone familiar with how the paddle controls to see if it feels right.
2017-06-29 11:02:55 -04:00
adelikat f5cb35a862 Atari 2600 - vritual pad and mnemonics for paddles 2017-06-28 14:27:15 -05:00
alyosha-tas 82d03dc3e9 A2600: implement paddle support
Warning: Deadzone in float controls should be set to zero. I don't know where to look to do this by default though
2017-06-28 10:58:40 -04:00
alyosha-tas 2f6d05512f A2600 TIA: Hook up Paddle logic 2017-06-28 10:57:07 -04:00
adelikat c3b890c60c Atari 2600 - stub out the paddle controller 2017-06-27 17:22:45 -05:00
adelikat 74dd25e831 Start Atari 2600 peripheral support - currently ability to pick joystick or unplugged for port 1 and port 2. Virtualpads are not addressed with this commit 2017-06-27 15:14:41 -05:00
alyosha-tas a2dfb639d4 Update Atari2600.Core.cs
Fix #838
2017-05-14 19:29:53 -04:00
adelikat 7b29970ef9 atari 2600 cleanup 2017-05-05 13:49:36 -05:00
adelikat d467a1427d Atari 2600 - cleanups, de-expose some fields 2017-05-05 12:26:15 -05:00
adelikat daf3b2539b Atari 2600 - add alyosha as an author, break up IEmulator code to its own file, some misc cleanup 2017-05-05 11:56:28 -05:00
adelikat 59139ab266 Spell out Numerator and Denominator 2017-05-05 11:25:38 -05:00
adelikat 62a13d961d Move VsyncNum and VsyncDen out of CoreComm and into IVideoProvider 2017-05-05 11:21:37 -05:00
adelikat e5f82bf329 CoreComm - make vsync fields into properties 2017-05-02 07:56:34 -05:00
adelikat 698c6741ae Refactor IEmulator and remove the IController property, instead pass it as a paramter to the FrameAdvance() method 2017-05-01 20:09:11 -05:00
adelikat ded1c2d7b7 Break off BoardName from IEmulator into a separate IBoardInfo service 2017-04-30 21:01:54 -05:00
adelikat 3192cc70ae slight refactor to IEmulator - make the IController property set only to more clearly express the client -> core relationship 2017-04-26 19:09:00 -05:00
adelikat 2de20e956b use Dictionary initializers instead of object initializers for various GetCpuFlagsAndRegisters() methods 2017-04-25 08:28:06 -05:00
adelikat b4de14657a get rid of a warning 2017-04-24 12:54:43 -05:00
adelikat 2964585401 misc code cleanups in Atari 2600 2017-04-24 10:09:31 -05:00
J.D. Purcell b53502eed8 Spaces -> tabs. 2017-04-15 16:37:30 -04:00
adelikat 37c989c661 more misc code cleanups, with some C#6isms 2017-04-10 11:24:53 -05:00
adelikat ab1a22bf31 add TotalExecutedCycles as an IDebuggable property, and implement it in cores with the information readily available (and throw NotImplementedExecptions in the remaining). wire the property up to lua with emu.totalexecutedcycles(). Stil todo - wire it up to the Debugger gui 2017-01-09 19:23:05 -06:00