Commit Graph

225 Commits

Author SHA1 Message Date
adelikat f2001bd567 Apple II tracer header 2016-02-28 09:15:52 -05:00
zeromus 1e26688c19 fix build error in c64 2016-02-22 23:44:18 -06:00
Anthony Konzel ac9a4ef777 Apply C64 core update patch. 2016-02-22 17:50:11 -06: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
scrimpeh e4a1a517cd IInputPollable - Now with tabs instead of spaces. 2016-01-26 11:46:52 +01:00
scrimpeh ef1bc65ce6 IInputPollable - Make IsLagFrame settable 2016-01-26 11:34:42 +01:00
adelikat c57519c54f C64 - add a c64 menu with a settings menu and dialog 2015-10-10 12:20:59 -04:00
Kabuto f09634c43e Tape didn't sync properly -> fixed 2015-09-29 21:36:15 +02:00
Kabuto 004c8294fb c64 core uses ISettable now and supports 2 more video standards 2015-09-28 23:52:23 +02:00
Kabuto f7c15bfd0f Fixed indentation and TODOs 2015-09-28 20:53:19 +02:00
Kabuto 1e9564a337 C64 core: tape loading added, lots of bugfixes and improvements 2015-09-28 01:30:58 +02: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
scrimpeh bcbc588e05 Apple II - Fix Memory and Input Callbacks interacting with savestates 2015-07-06 22:09:18 +02:00
scrimpeh 23d93cc1fe Apple II - Add Input Callbacks, Change definition of a lag frame 2015-07-06 21:15:48 +02:00
scrimpeh 43dd015b51 AppleII - Add MemoryCallbacks, Breakpoint Support, Set Registers in Debugger to proper bit size. 2015-07-05 17:09:07 +02:00
goyuken ae4881356e appletwo: fix mono setting being borked on loadstate 2015-06-21 14:40:58 +00:00
scrimpey 5a686f195d Apple II - remove vestigial method 2015-06-21 14:34:33 +00:00
scrimpey 02b71ab377 Apple II - Add Trace Logging functionality 2015-06-21 14:31:18 +00:00
scrimpey 2da9650be5 Apple II Debugger - Add Stepping ability 2015-06-19 18:34:52 +00:00
goyuken 81d8018d4c apple2: support MONCHRONOME 2015-06-16 23:24:52 +00:00
scrimpey 154d4a1983 Fix Whitespace for AppleII.IDebuggable 2015-06-15 21:48:36 +00:00
scrimpey 4b1547384b Implemented AppleII.SetCpuRegister 2015-06-15 21:29:28 +00:00
adelikat a99c0787a8 Apple II - implement IDisassembler, and IDebuggable.GetCpuFlagsAndRegisters() 2015-06-12 23:51:03 +00:00
adelikat 5bcdfb5991 IInputPollable - remove the set on LagCount as it is not needed 2015-06-11 01:23:14 +00:00
adelikat 80957a1071 Apple II - set status of core as released, add file extensions to the released version of the open rom filter, and add author info 2015-06-10 22:32:47 +00:00
adelikat 4f4b26d10e Apple II - put prev/next pressed states into savestates 2015-06-08 22:03:48 +00:00
adelikat fe776eab2b Apple II - hackery to make prev/next disk buttons stay held, as opposed to swaping rapidly ever frame 2015-06-08 20:56:29 +00:00
goyuken 66f0bf15c0 Fix up some junkus in appleii core init, and add stub for mGBA 2015-06-04 02:04:42 +00:00
adelikat 55200588e8 Remove an unused variable 2015-05-31 17:02:24 +00:00
adelikat 0159fb57c5 Apple II - lame way to remove some lame warnings 2015-05-31 15:03:55 +00:00
adelikat 8412c91739 Apple II - fix controller config, remove Black Apple, White Apple and Reset keys since they are not currently hooked up 2015-05-31 15:02:42 +00:00
goyuken 46c374f8a3 ye olde drive lighte 2015-05-19 23:33:50 +00:00
goyuken 15b29de1c2 AppleII: Savestate MegaFun. All existing savestates are obsoleted. 2015-05-19 01:20:35 +00:00
goyuken 0ca6faea01 AppleII: squeeze a bit of speed out of binary states, still way too slow 2015-05-18 22:18:09 +00:00
goyuken 6710b60788 Add stuff that didn't work (commented out) to speed up Apple II savestates 2015-05-18 02:33:18 +00:00
goyuken d91e6f184a Add support for binary savestate as BSON, but turn it off and make binary savestates a stupid text clone because BSON sucks 2015-05-18 01:52:14 +00:00
goyuken fcb5af62d6 speed up apple2 savestates, round 1 2015-05-18 01:30:30 +00:00
adelikat 59090e5751 Apple II - make binary state preferred = false for now 2015-05-18 00:54:59 +00:00
goyuken a4469120a5 Forgot this 2015-05-18 00:43:23 +00:00
goyuken 6ab8be0a1d Screwball mode Apple II savestates 2015-05-18 00:14:00 +00:00
adelikat 3e47055ca2 Apple II - fix crash on loadstate when not using an xml 2015-05-10 20:20:24 +00:00
adelikat f6e9f79e71 Apple II - remove a bogus hack in LoadState that I did awhile back 2015-05-09 15:32:18 +00:00
adelikat 69146e5c1b I like to forget to add files 2015-04-29 20:57:20 +00:00
adelikat dbc3a5cb2c Apple II - wire up the lag counter, may or may not be correct logic, don't know too much about Apple II internals, but eyeballing the code, it looks like a reasonable place to decide if input was polled. 2015-04-26 12:40:21 +00:00
adelikat bd07bfa310 Apple II - fix some input issues 2015-04-26 11:55:17 +00:00
adelikat 04b490aca4 Apple II - add frame count to savestates 2015-04-25 13:14:12 +00:00
adelikat 01ed8f2064 Apple II - path config stuff 2015-04-15 22:27:25 +00:00
adelikat b9d2331798 Break off Virtu into its own dll 2015-04-15 22:13:54 +00:00
adelikat 3549bf3dc5 Apple II - block off the first 48k of ram as a Main Ram domain 2015-04-13 22:05:39 +00:00
adelikat 8ace0d5f2e oops, forgot to add this file 2015-04-13 21:58:53 +00:00
adelikat 4bf37df018 Apple II - wire up memory domains, just System Bus currently 2015-04-13 18:53:36 +00:00
adelikat e6e94b8d54 Apple II - ui for disk changing 2015-04-13 00:46:11 +00:00
adelikat 1bcf2ae684 Apple II - multi-disc support using XmlGame (the same file format as dual GB), currently no ui to make an xml. Added Previous and Next Disk controller buttons 2015-04-12 23:38:19 +00:00
adelikat 0d9055b121 Apple II - remove another hard coded path 2015-04-10 00:30:59 +00:00
adelikat c72fb5e0a5 Appple II - pass DiskII data to the DiskIIController instead of a hard coded path to read from 2015-04-10 00:13:26 +00:00
hegyak c4834a48b2 correct r9288 to actually remove the hard paths 2015-04-09 12:44:53 +00:00
adelikat f4140de3f7 Apple II - get necessary firmware files from the firmwares system instead of a hardcoded path, added entries to the firmware database for the files I have, no idea what other files are compatible 2015-04-09 00:18:01 +00:00
adelikat da7e887fc2 Apple II - hard code the sound to be much quieter 2015-04-04 01:10:34 +00:00
goyuken d4bf5c40a2 apple make noises 2015-04-04 00:43:35 +00:00
adelikat d30d5ba06d Apple II - a bad attempt at wiring up sound, not hooked up since it crashes, also checking in some code that visual studio wants to be in the .sln because I am tired of reverting it 2015-03-27 23:24:58 +00:00
adelikat 9f02fd75af Apple II - some reorg 2015-03-21 21:45:12 +00:00
adelikat 748e770ba7 Apple II - fix color palette 2015-03-21 15:19:54 +00:00
adelikat d76d40125a Apple II - fix graphics 2015-03-11 01:28:24 +00:00
scepheo 3b078522a6 Apple II: Disabled core throttling, both BizHawk and the core were doing it. 2015-03-09 23:30:48 +00:00
scepheo 1f42bdd651 Apple II: Fixed at least 1 issue with savestates. 2015-03-09 22:44:45 +00:00
adelikat 81bacfd56f oops 2015-03-08 03:12:54 +00:00
adelikat fccf9f06a9 Apple II - wire up savestates (binary only, for now) 2015-03-08 03:10:20 +00:00
adelikat 2d2a770a7c don't need these files 2015-03-08 02:31:58 +00:00
adelikat 8b59ad0352 Remove some warnings, and add some ignores 2015-03-08 02:09:05 +00:00
woutvanpoppel 820c693eb9 apple II, start on keyboard input 2015-03-08 01:34:18 +00:00
zeromus 5cbc68a0b2 move along 2015-02-18 00:06:49 +00:00
adelikat 5183a8e20d Nothing to see here 2015-02-17 22:58:25 +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
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
adelikat e3483758c4 C64 - add frame and lag information to savestates 2014-12-25 13:32:19 +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
adelikat 7bebb66589 IDebuggable - refactor GetCpuFlagsAndRegisters to be IDictionary<string, Register> where Register is a value and a bitsize 2014-12-20 03:19:33 +00:00
adelikat b416645768 C64 - reorg some core code 2014-12-18 18:39:55 +00:00
adelikat d08fb39cb8 Refactor IDebuggable StepInto/Over/Out methods into void Step(StepType type); 2014-12-15 22:19:10 +00:00
adelikat 725a8fb092 Add StepInto(), StepOver(), StepOut() to IDebuggable, have all cores implement it with unimplemented dummy functions 2014-12-14 18:58:16 +00:00
adelikat 08fb509a1a Add an IDriveLight Emulator service, and remove the CoreComm properties, and refactor accordingly 2014-12-12 01:49:54 +00:00
adelikat 0b84beec88 Move MemoryCallbackSystem from CoreComm to IDebuggable and refactor accordingly, Lua - tell the user when memory callbacks are not available for a given core 2014-12-05 01:56:45 +00:00
adelikat 309088211c Move TraceBuffer from CoreComm to IDebugable and refactor accordingly 2014-12-05 00:05:40 +00:00
adelikat d8a204572d Add an IServiceProvider interface and make it a property of IEmulator, the purpose of this provider is to provide IEmulatorServices upon request. Make BasicServiceProvider and have all cores use it for now. BasicServiceProvider will return the core itself if the core itself is the requested type. He will also be able to return nested types (code not finished). Wired this up to the HasSavestates extension method (a method that has minimal value now) as a proof of concept. 2014-12-04 03:38:30 +00:00
adelikat a07263c04e Move InputCallbackSystem from CoreComm to IInputPollable, and refactor all cores accordingly. Lua - OnInputPoll() - log to the user when attemping to add a callback of this type to a core that has not implemented input callbacks. Mark all unmanaged cores' implementations of the InputCallbackSystem as FeatureNotImpleented, won't have any effect on functionality, but will help us keep track of the fact that they still have a bit of work to do. Still todo: ActiveChanged event handler on the base implementation of IInputCallbackSystem 2014-12-04 00:43:12 +00:00
adelikat 9adc45f4d1 Add a ServiceNotApplicable attribute for cores to mark things like SaveRam and ISettable as not applicable for the given core, update the CoreFeatureAnalysis dialog to not show these interfaces for the given core (and not mark them as incomplete). Set various cores accordingly 2014-11-30 23:41:54 +00:00
adelikat a83d714c42 Break off IsLagFrame and LagCount from IEmulator and put into its own interface IInputPollable, and refactor cores as necessary. EmuHawk - account for the possibility that a core is not an IInputPollable, and do things like disable the lag counter menu item. Still some front end todos. Also still todo, move the InputCallbackSystem from CoreComm to IInputPollable 2014-11-30 20:29:30 +00:00
adelikat 84bae6bf03 Make C64 follow the naming convention of other cores 2014-11-30 16:56:45 +00:00
adelikat 76148ae111 Break off savestate functionality from IEmulator into IStatable and refactor things accordingly. Still todo (a big todo): EmuHawk should gracefully handle a core that is not an IStatable by disabling functionality dependent upon it (Savestates, Rewind, Tastudio, etc) 2014-11-30 16:42:58 +00:00
adelikat 865795049b Break off saveram methods from IEmulator into a separate ISaveRam interface. Remove the setter for SaveRamModified (every single core was throwing an error on this, and no client code was using it). Remove these methods from cores that don't actually implement this interface 2014-11-30 15:22:08 +00:00
adelikat 0e82fff3ff Clean out ClearSaveRam() calls since they are no longer used 2014-11-24 15:00:54 +00:00
adelikat 1832894405 IDebuggable - GetCpuFlagsAndRegisters() - refactor to make it an IDictionary instead of Dictionary 2014-11-23 16:22:02 +00:00
saxxonpike a7491f4e8f Commodore64: Disable some warnings in CIA-2 about unused variables (for now) 2014-10-21 18:30:01 +00:00
jlennox a64017366c Create ISettable<T,T2>/ISettable interfaces. This checkin has not been extensively tested. 2014-10-19 01:22:47 +00:00
jlennox 10b6bed056 Add IDebuggable to relevant cores and remove non-implementations of GetCpuFlagsAndRegisters/SetCpuRegister 2014-10-18 22:30:06 +00:00
saxxonpike 1b367c1873 Commodore 64: Add new CIA emulation (disconnected for this commit but it is a drop-in replacement). Fixed RAM writes underneath CPU IO port space ($00/$01) 2014-10-09 02:14:15 +00:00
goyuken b0b5245d45 C64: add bool[] overload to the serializer. sloppy, but neater. 2014-10-06 16:00:24 +00:00
saxxonpike 01034eb628 Commodore 64: Rudimentary savestates. 2014-10-03 23:22:17 +00:00
saxxonpike 2fb95adb1a Commodore 64: Remove useless 'experimental' folder, make namespaces match folders 2014-10-03 21:04:37 +00:00
saxxonpike 2e45c73c2f Commodore 64: Expanded sprites now show full 21 rows, sprite priority fixed (shadows in Uridium, various demos) 2014-10-03 00:53:02 +00:00
saxxonpike 6e563a455c Commodore 64: Writes to RAM above 1k in Ultimax mode are now invalid, should fix memory corruption issues when a cart writes data to itself. 2014-10-02 19:58:39 +00:00
adelikat 5ba74c631c Remove MemoryDomains from IEmulator into a new Interface, IMemoryDomains, Add this interface to existing cores, except null emulator (and removed memory domain related code from it). Refactored EmuHawk for ram tools to use an instance of IMemoryDomains rather than IEmulator, don't expose ram tools unless the core implements IMemoryDomains. Still a few misc todos, and probably some cleanup 2014-09-01 18:43:41 +00:00
goyuken ab50181b31 C64: standardize missing firmware errors 2014-08-24 17:28:17 +00:00
goyuken f0c8bd3842 IEmulator: clarify naming and implementations so it's clear that CloneSaveRam() always returns a clone that you can do whatever you want with (but won't modify the underlying) 2014-08-13 17:52:13 +00:00
adelikat 4ff34a081b Fix c64 button order 2014-06-29 16:53:33 +00:00
adelikat 01ba63dd09 Coleco/Intellivision - Replace patterns like "Key0" with "Key 0" in button names for consistency and remove a hack in bk2 code that accounts for it 2014-06-29 12:32:36 +00:00
adelikat 1c0f8674c3 SetCpuRegister() - don't cast PC reg to byte! Implement on SMS, Coleco, and TI-83 2014-05-31 18:25:36 +00:00
adelikat 51660dd023 Add SetCpuRegister() to IEmulator. Implemented it in Atari 2600, 7800, C64, Neshawk, and technically dual gameboy (passes it to L and R where it will fail). The rest throw NotImplementedExceptions. Lua - add emu.setregister(), catches NotImplementedExceptions and informs the user. 2014-05-31 17:03:21 +00:00
adelikat d5f91cc94e Fix C64 2014-05-18 01:53:50 +00:00
goyuken b0970451aa internal infrastructure for video presentation changes (aspect ratio, apparent size, etc) 2014-04-30 23:48:37 +00:00
adelikat de1cb218a6 Add more info to IEmulator CoreAttributes, add status bar icon that gives the name of the current core with a tooltip with additional info, put bizhawk icon on "in house" cores, and the icon of the ported emulator on ported cores. Still todo: icons for ported cores other than quicknes 2014-04-25 01:19:57 +00:00
adelikat c74019a54d Add a CoreAttributes class with a CoreName field, and apply it to all cores, when recording a new movie, add a core header line that captures this name 2014-04-22 00:38:59 +00:00
adelikat a61ff53d9c Change IEmulator.GetCpuFlagsAndRegisters() to a Dictionary, fix a warning, throw NotImplemented exceptions in cores that don't implement this method rather than returning an empty list. Start Debugger UI User Controls 2014-04-19 22:23:13 +00:00
adelikat 7393f132ab Move CPUs from Emulation.Common to Emulation.Cores 2014-01-22 01:14:36 +00:00
goyuken d37796ab1c more new core config framework; this time GAEMBOY 2013-12-23 02:51:41 +00:00
goyuken bd205f47dc update our newtonsoft json.net to version 5.0 release 8. this fixes up abstract class handling so that the CoreSettings can work correctly.
tweak Binding, RecentFiles, and PathEntry to work with the new serializer.  on updating to this revision, you should be able to keep all config.ini settings except for hotkey bindings, path layouts, and recent files list.
start implementation of new CoreSettings and CoreSyncSettings.  at the moment, it's only partially done for NES.
2013-12-22 00:44:39 +00:00
saxxonpike 20e8ddf673 C64: Fixed a misspelling in timer constant name. Added method to track lag cycles from VIC. 2013-12-10 07:04:44 +00:00
adelikat d6954e4209 Ram WAtch and Hex Editor code cleanup 2013-11-28 22:06:38 +00:00
adelikat def23fbd0f hook up the InputCallBackSystem to C64 2013-11-16 22:12:29 +00:00
adelikat 7e45f13282 Change project name BizHawk.Emulation to BizHawk.Emulation.Cores 2013-11-15 14:05:47 +00:00