Commit Graph

234 Commits

Author SHA1 Message Date
alyosha-tas c18298c8a5 GameBoy: Disable BIOS in Gambatte. Use GBHawk for GameBoy, Gambatte for CGB. 2017-11-11 09:07:58 -05:00
adelikat ebcd237858 Merge branch 'master' into domainedmemoryhooks 2017-10-29 12:38:29 -05:00
nattthebear 148cadda72 Fix issue #1009: sameboy: stack pointer saved in init state 2017-09-29 18:07:50 -04:00
nattthebear 1532950961 sameboy: fix possible crash on loadstate with gb printer active 2017-09-29 18:07:11 -04:00
Tastyfish 56cdf32929 Make Gambatte show link status for printer connection 2017-08-30 15:55:19 -04:00
Tastyfish 200ab8f8d8 GB Printer support for Gambatte, output color improvements 2017-08-29 18:16:02 -04:00
Tastyfish e780e74f45 A frontend for the GB printer 2017-08-29 18:16:02 -04:00
nattthebear 0c3e18efb1 Could you use these things to print like, boobs? 2017-08-29 18:16:02 -04:00
nattthebear 5e3cdba869 Finally dump some old movie 1.0 cruft 2017-08-11 19:45:45 -04:00
nattthebear 5b97e5c7f6 Add ICycleTiming interface plus one implementation so I can feel like I did something 2017-08-11 19:42:53 -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
nattthebear 2329ebbe62 Sameboy SGB: allow hiding beautiful borders. Closes #938 2017-07-25 17:16:12 -04:00
adelikat f050718a87 Set SameBoy to released 2017-07-23 11:10:17 -05:00
nattthebear fcfe2b23c9 Pizza Boy makes some interesting attempts, but doesn't stack up against the serious GB cores 2017-07-21 18:23:14 -04:00
nattthebear 0d6bdc200b sameboy: a bit of savestate optimization 2017-07-19 20:38:19 -04:00
nattthebear a640c53e52 Sameboy: RTC 2017-07-19 20:18:13 -04:00
nattthebear 57ca86710b sameboy: SAVERAMS 2017-07-19 19:49:23 -04:00
nattthebear cf8013af4a sameboy: Add more features for the merciless slave driver 2017-07-19 18:48:11 -04:00
nattthebear bfd7337a32 sameboy: SGB support. Mostly accomplished through the power of copy+paste, since we plan on dropping pizza boy 2017-07-18 19:57:53 -04:00
nattthebear 1f89158179 sameboy: input 2017-07-18 18:19:51 -04:00
nattthebear f7bb894753 sameboy: it's alive! 2017-07-18 16:48:49 -04:00
nattthebear 34e68c589f Sameboy progress 2017-07-18 16:48:49 -04:00
adelikat c6e0e9fa57 Rename CoreAttributes to CoreAttribute as to not be a bad person 2017-07-12 14:10:55 -05:00
adelikat fb7e44642a set released to true on some new Pizza Boy, PicoDrive, and Uzem 2017-07-09 16:58:59 -05:00
nattthebear 468c52f5de Gambatte: Settings: Use an enum for ConsoleMode instead of stringly typed. Developers who have been using recent dev builds will need to change "Default" to 0 in config.inneys... 2017-07-09 16:27:32 -04:00
nattthebear 97c0d52498 Make DGB run again. It has been broken since GB bios files were added 2017-07-06 19:18:26 -04:00
alyosha-tas 08b6dadd49 Gambatte: Add core picker option
Replaces ForceDMG so that you can play gameboy roms in color game boy as well
2017-07-06 17:53:14 -04:00
nattthebear bdfb859480 pizza boy: add the required SPC file as an embedded resource because zeromus said to 2017-07-01 09:06:04 -04:00
nattthebear 94050c161b pizza: bomb out the same way libsnes does if an attempt is made to load a CGB rom in SGB 2017-07-01 08:16:24 -04:00
nattthebear 2a15502999 Pizza: Only show one controller in GB mode 2017-06-28 22:23:03 -04:00
nattthebear 203a0521b5 pizza: set up constructors right for SGB and GB 2017-06-28 22:19:20 -04:00
nattthebear 13c3dafd8a gambatte: make overall output volume more comparable to other cores? 2017-06-25 12:33:03 -04:00
nattthebear 7c5c3482e7 pizza: RTC, maybe 2017-06-25 09:19:32 -04:00
nattthebear 537b2a1616 pizza: saverams 2017-06-24 21:46:11 -04:00
alyosha-tas b54a738c97 Add files via upload 2017-06-24 16:01:07 -04:00
alyosha-tas 627b666d3e Add files via upload 2017-06-24 13:05:00 -04:00
nattthebear ed57f766ad Pizza: Savestates at ~600K in SGB mode 2017-06-24 11:05:59 -04:00
nattthebear 6637e0a53f pizza: add lag/polling support 2017-06-24 09:38:03 -04:00
nattthebear 26063b35d0 pizza: first bits of sound. bios starting sound plays. bomb sound plays in Bomberman GB. 2017-06-23 20:51:19 -04:00
nattthebear ea32862199 pizza: some basic ATTR stuff now working 2017-06-19 19:53:40 -04:00
nattthebear 95a56b15a8 pizza: SGB joypad functionality working 2017-06-18 20:35:55 -04:00
nattthebear 278b29a840 pizza: use waterboxcore 2017-06-18 16:05:55 -04:00
nattthebear 1292b27163 Add some draft work for supporting sysv <-> msabi interop. I wonder if we'll ever use this? I'd put it on a separate branch but it would be merge hell. 2017-06-18 08:51:09 -04:00
nattthebear 04d4880564 pizza: cover your ears 2017-06-16 08:19:03 -04:00
nattthebear dd9d1b2018 pizza: input 2017-06-15 21:38:52 -04:00
nattthebear 8fa903c004 pizza progress: it runs 2017-06-15 19:00:41 -04:00
nattthebear b9ab41a4da More like Chie SatURNaka 2017-06-04 16:41:11 -04:00
nattthebear ebe789eed2 heh 2017-05-10 07:45:23 -04:00
adelikat 1dae91e6a8 clean up core constructors - consistent parameter casing, and put them at the top of the class 2017-05-05 19:05:36 -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 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 ba28ca53a8 GambatteLink cleanup 2017-04-25 11:06:50 -05:00
adelikat 2426cfa31a misc cleanup of related Gambatte files 2017-04-25 10:42:11 -05:00
adelikat 21aa648318 Gambatte - some cleanup 2017-04-25 10:11:43 -05:00
adelikat 2de20e956b use Dictionary initializers instead of object initializers for various GetCpuFlagsAndRegisters() methods 2017-04-25 08:28:06 -05:00
adelikat 54ebe75d2b remove the obsolete MemoryDomain.FromIntPtr method 2017-04-24 13:47:40 -05:00
adelikat 3f866f6d7f Rename SnesSaveController to SaveController and move it to Emulation.Common since it is used by multiple cores and is general in design 2017-04-19 12:44:02 -05:00
J.D. Purcell b53502eed8 Spaces -> tabs. 2017-04-15 16:37:30 -04:00
J.D. Purcell b2a28339d1 Use 'nameof' operator. 2017-04-10 08:36:42 -04: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
adelikat eda79c2212 Make an interface for CodeDataLog, and move CodeDataLog to Base Implementations 2016-12-16 11:33:02 -06:00
adelikat 72a59087b5 Use the IController indexing property less in preparation for removing it from the interface. Replaced with its more explicity counter-part .IsPressed() 2016-12-14 12:42:15 -06:00
adelikat b73a500d6b Major sound provider refactor. Create a unified interface ISoundProvider, that is an IEmulator service and break it off of IEmulator. IAsyncSoundProvider was kept as a shim for now, for legacy cores that were inherintly async. 2016-12-11 11:15:00 -06:00
adelikat b697110098 Rename ISoundProvider to IAsyncSoundProvider to more accurately describe what the service does 2016-12-09 10:24:43 -06:00
feos 76eaea3619 tracer unification for cores: spacing, headers, etc 2016-08-16 01:39:26 +03:00
zeromus 55bd219470 fix copypaste bug in GB CDL for some games with large cartram 2016-05-29 13:02:00 -05:00
zeromus c4398e8ac3 support CDL (for 0th system) in GB link 2016-04-23 04:42:17 -05:00
nattthebear 111648cf98 Break a bunch of memory domain stuff with pointless refactoring 2016-04-13 19:50:06 -04:00
zeromus 71e32bc3d9 fix GB trace logger 2016-04-13 16:09:22 -05:00
zeromus 0cac65c184 use gambatte window option in emuhawk 2016-04-12 03:02:11 -05:00
nattthebear 970fb54ca5 gambatte: some stuff for 64 bit builds, both msvc and mingw 2016-02-29 22:02:47 -05:00
adelikat f1f45afd83 Remove CoreComm link cable properties and turn it into an ILInkable service instead 2016-02-28 13:52:17 -05:00
adelikat 0fb0e6a11c Trace header for GB 2016-02-28 09:48:51 -05:00
adelikat f5e679fa0d Refactor ITraceable to work on TraceInfo objects that separate Disassembly and Register information. Make Tracelogger two columns. 2016-02-21 17:34:42 -05:00
zeromus 89a4381d9d add GB layer toggles 2016-02-08 02:18:24 -06:00
scrimpeh ef1bc65ce6 IInputPollable - Make IsLagFrame settable 2016-01-26 11:34:42 +01:00
Hathor86 f70a2c8c6c Merge from TASVideo 2015-11-01 22:01:19 +01:00
zeromus 70e0954f28 CDL - major refactor complete. muuuuch better. 2015-10-28 03:51:53 -05:00
zeromus 35b6d8c1d6 CDL - support GPGX. still need to make enable toggle, to win back speed 2015-10-27 16:31:43 -05:00
zeromus e8d307c33a CDL - add consistency check to GB, fix probably bugs in varying cartram sizes, change GB memdomain from "Cart RAM" to "CartRAM" (hope this doesnt cause a problem) 2015-10-26 21:42:48 -05:00
zeromus 10bbf6e9d0 implement GB CDL 2015-10-26 19:16:38 -05:00
zeromus bef877365c make CDL generic, and prep for GB CDL 2015-10-26 19:15:21 -05:00
zeromus ef5bfc49a7 gambatte - add LY to trace log 2015-09-17 14:10:31 -05:00
adelikat ba21484ddd add IRegionable as an emulator service to indicate NTSC vs PAL, etc. Refactor cores that conveyed this information to use this service, fixed cheaty reflection to grab this info to use the service instead, marked some cores as region not applicable where it made sense to me (I'm sure I'm wrong in some cases) 2015-08-05 20:12:09 -04:00
adelikat 3541c9e975 Make the lag counter settable, and expose this functionality in lua 2015-07-09 13:05:30 -04:00
adelikat 5bcdfb5991 IInputPollable - remove the set on LagCount as it is not needed 2015-06-11 01:23:14 +00:00
mathew1800 abbee1672e Specify the parameter for argument-based exceptions. Correct the parameter names of others.
Common mistake.
2015-02-10 04:19:34 +00:00
adelikat 91ffc17aae Refacotor MemoryDomain.Size to be long instead of int, still some small todos, but it compiles and seems to work 2015-01-18 15:25:47 +00:00
adelikat 9041281b72 GambatteLink - break up into separate files 2015-01-17 19:10:58 +00:00
adelikat c3a4077ffb Break up Gambatte.cs into separate files 2015-01-16 18:37:42 +00:00
goyuken 82fcd0bc5e refactor IVideoProvider into a service. uses in mainform and friends are still hacky 2015-01-14 22:37:37 +00:00
adelikat fbdb29b64c refactor IMemorydomains to be a domain list instead of having a domain property, refactor cores to register an IMemoryDomains instead of being one 2015-01-14 21:55:48 +00:00
adelikat d62ba4e2b4 Change IMemoryDomains to have an IMemoryDomainList instead of a MemoryDomainList, this is an incremental step into eventually having IMemoryDomains take over the properties of IMemoryDomainList, still todo: reduce the amount of needed functionality in IMemoryDomainList from old and not good code 2015-01-13 22:18:07 +00:00
goyuken 89864b0816 GB: add ability to load VBA saves with RTC, although the clock time itself is invariably trashed. seems to work with pokeymans gold 2014-12-29 22:56:46 +00:00
adelikat 0f2197cec1 Break off ITracer from IDebuggable, rename to ITraceable and make it an IEmulatorService, refactor things accordingly 2014-12-23 01:58:12 +00:00
adelikat ffdeb618f7 IDebugable - add a CanStep() method, and implement it in all IDebuggable implementations 2014-12-20 13:29:57 +00:00
adelikat a8116297a0 Rename Register to RegisterValue 2014-12-20 13:16:15 +00:00