Commit Graph

763 Commits

Author SHA1 Message Date
goyuken a7ad7e20e9 clean up vbanext core 2014-12-05 02:27:39 +00:00
adelikat 3dfd57197d N64 - cleanup after adding new services and such 2014-12-05 02:22:41 +00:00
goyuken 41612e471d swan - clean up for new memory callbacks 2014-12-05 02:21:10 +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 f5cc38c9cd AsInputPollable() 2014-12-05 00:59:00 +00:00
adelikat a91de9ad9c Move TraceHeader out of CoreComm and into ITracer and TraceBuffer 2014-12-05 00:10:48 +00:00
adelikat 309088211c Move TraceBuffer from CoreComm to IDebugable and refactor accordingly 2014-12-05 00:05:40 +00:00
zeromus 29b217b587 big discsystem refactors and preliminary CCD handling. not to be considered stable, but ill start supporting it. 2014-12-04 05:40:10 +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
goyuken ef1ef251b6 gpgx: remove input todo 2014-12-04 03:31:26 +00:00
goyuken 7f9adc0c1d dgb: reenable input callbacks. 2014-12-04 02:04:14 +00:00
goyuken 5f770e4696 update pad callback infrastructure in vbanext core, remove unused stub in lynx core, disable in dual gb core until i get around to it, better comment in gb core 2014-12-04 01:46:59 +00:00
goyuken 802dadcd64 wondersaw'n: update trace callback internal infrastructure 2014-12-04 01:22:34 +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
zeromus 26c35ca7b8 rough draft of file ID system. not ready to be used just yet, but I think it can go the distance. I'll have to hook it up later. 2014-12-03 06:14:59 +00:00
adelikat a283063f5f some Atari 2600,7800 reorg 2014-12-01 14:21:37 +00:00
adelikat bd458fc0dc Ti83 - nit picky reorg 2014-11-30 23:50:07 +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 8cffecede9 ditto 2014-11-30 20:40:17 +00:00
adelikat c7c038b7ca add more interfaces that got missed 2014-11-30 20:38:15 +00:00
adelikat fef1011e9b oops, Coleco is IStatable 2014-11-30 20:34:51 +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
goyuken 2fce719309 comments 2014-11-30 19:13:58 +00:00
adelikat ce3f7ae3ac Atari 2600/7800 - break off IStatable stuff 2014-11-30 17:10:36 +00:00
adelikat 6a3955bde0 oops 2014-11-30 16:57:34 +00:00
adelikat 84bae6bf03 Make C64 follow the naming convention of other cores 2014-11-30 16:56:45 +00:00
adelikat 093180f652 TI83 - break off code into TI83.IStatable.cs 2014-11-30 16:52:25 +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 a251cacce6 Atari 7800 - break up implementations into separate files and some other reorg 2014-11-30 16:01:01 +00:00
adelikat 135752a215 remove not implemented IMemoryDomains implemented from PSP, and just not implement the interface instead 2014-11-30 15:46:55 +00:00
adelikat 295800957c Some nitpicky reorg on Atari 2600 and TI83 2014-11-30 15:43:58 +00:00
adelikat 5d512c4c5d N64 - break off ICoreService implementations into separate files 2014-11-30 15:38:39 +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
zeromus 92243cd393 neshawk - add PPU reset to soft reset, to fix #327 2014-11-30 05:02:12 +00:00
goyuken 6d04f9089a NES: show more informative error logs for certain INES header screwballs 2014-11-27 18:03:00 +00:00
goyuken 9c02bf77ba wonderswan: clear out unused code for clear saveram 2014-11-24 18:50:18 +00:00
adelikat 0e82fff3ff Clean out ClearSaveRam() calls since they are no longer used 2014-11-24 15:00:54 +00:00
adelikat 9c285e3e3a Put NotImplemented attribute on a bunch of things, and remove IMemoryDomains from a few cores that were implementing it but throwing a NotImplementedException 2014-11-24 01:17:05 +00:00
adelikat 72cf4ed5e1 Intellivision - mark not implemented stuff 2014-11-24 01:05:47 +00:00
adelikat bded999177 Create a FeatureNotImplemented attribute, the intend of which is to apply to any unimplemented method of an ICoreService method/property, set some methods in Intellivision to this, and have CoreFeatureAnalysis look for the presence of this attribute and report unimplemented properties/methods 2014-11-24 00:38:29 +00:00
goyuken c21b3a8a34 internal infrastructure 2014-11-23 22:20:55 +00:00
adelikat c9958748f1 Intellivision - remove IMemoryDomain and method, since it simply throws a NotImplementedException 2014-11-23 17:22:43 +00:00
adelikat 4d3e7f806f Atari 2600 - break off IDebuggable stuff to its own file 2014-11-23 17:14:40 +00:00
adelikat c61dd6b295 TI83 - put Link Port class into its own file with a rename and some refactor 2014-11-23 17:04:22 +00:00
adelikat c1c9a482f9 Break up TI83.cs into different files for different interface implementations, super useful commit 2014-11-23 16:58:43 +00:00
adelikat 1832894405 IDebuggable - GetCpuFlagsAndRegisters() - refactor to make it an IDictionary instead of Dictionary 2014-11-23 16:22:02 +00:00
goyuken b50ebf8032 fix 2014-11-21 01:35:54 +00:00
adelikat d64be5ed76 SystemID is Lynx not LYNX, cuz I said so 2014-11-21 01:32:15 +00:00
goyuken d58b00b72b gba tracelog: add register display 2014-11-19 03:33:09 +00:00
goyuken 08d4319ad3 gba: tracelog 2014-11-19 03:16:36 +00:00
goyuken eaf409d4af gba (vba): some roughing in for the tracelogger 2014-11-19 02:24:33 +00:00
adelikat 17c6a2c1f6 Snes - use the compatibility profile override option in the game db, note that it will be a temporary override for the game if detected, the user setting will not be permanently changed. This touched a bunch of things, and many other things had to be considered, there's a reasonable chance that this broke something 2014-11-19 00:32:51 +00:00
adelikat 21dad476a8 LibsnesCore.cs - move ScnalineHookManager to the button of the file, and the constructor of LibsnesCore to the top of the object, so it isn't so annoying to find it 2014-11-18 23:44:42 +00:00
adelikat ec3e4151eb set release flag on lynx core to true 2014-11-17 21:58:13 +00:00
goyuken 0a17fadb8e gb: add mute sound as a setting. most useful in dual mode. 2014-11-16 21:56:32 +00:00
goyuken f5d9de5178 wonderswan: grab changes from mednafen 0.9.36.5 release. includes sound, sram, changes. not included now: rtc, comm port changes 2014-11-10 01:01:01 +00:00
goyuken fa8934b1d4 lynx: memory domains. R/W: RAM, Save Ram. R: Cart A, Cart B. 2014-11-02 19:11:19 +00:00
adelikat f3a2387926 Quicknes - metadata for controller settings, player 2 not plugged in by default 2014-11-02 14:03:38 +00:00
goyuken f3e9958f07 quicknes: support unplugging controllers 2014-11-01 17:44:04 +00:00
goyuken dc2ca1f010 remove the extra ISettable (non-generic argument) interface and corresponding crud from cores, and replace with a shim class 2014-10-31 15:46:13 +00:00
goyuken 2fbdf059cb barcode reader cleanup 2014-10-30 20:54:46 +00:00
goyuken 81fc95ab43 NES: add UI support for datach barcode reader 2014-10-29 22:28:14 +00:00
goyuken ff95066672 quicknes: reject (with the appropriate unsupported exception) any bootgod positive euro rom 2014-10-29 18:58:43 +00:00
goyuken 84fa4feba1 nes: some garbage for datach barcode reader, not finished 2014-10-29 02:34:13 +00:00
goyuken 755f7d7ac4 neshawk: make datach games boot 2014-10-29 01:09:15 +00:00
saxxonpike a7491f4e8f Commodore64: Disable some warnings in CIA-2 about unused variables (for now) 2014-10-21 18:30:01 +00:00
goyuken 05dedc67e2 6502: add rdy_freeze to savestates; should only affect c64 stuff 2014-10-19 22:19:53 +00:00
goyuken db681d5948 6502: delete the cruddy old native one. add a cruddy new native one as attic crap. 2014-10-19 22:18:25 +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
goyuken 121b1edad9 nes: minor cleanup 2014-10-15 19:40:40 +00:00
goyuken ea6a61b4fb lynx: automatically rotate the 7 games that used it, yay 2014-10-15 04:58:27 +00:00
goyuken 74358cbd09 lynx: incorporate info from no-intro into game_db 2014-10-14 00:53:13 +00:00
pjgat09 502caa2e37 N64: Output an error code when LoadLibrary fails 2014-10-13 23:20:18 +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 9c30cea1dd fix issue 277 2014-10-07 22:20:17 +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
goyuken 9897e9016b disable debugging output from previous commit 2014-09-29 20:14:21 +00:00
goyuken ee1f84bb4a lynx: savestates. should work pretty well, but format is subject to change 2014-09-29 20:13:26 +00:00
goyuken 6e1932c8bd lynx: lag indicator 2014-09-29 18:53:53 +00:00
goyuken d9258cc4b9 lynx: saveram. unfortunately, handy gives every cart with only a single ROM bank a saveram, whether or not it's needed or used. perhaps a future gamedb project, perhaps not... 2014-09-29 18:46:55 +00:00
adelikat 72e29286c8 now that jabo is packaged with bizhawk, make it the default plugin 2014-09-27 21:31:07 +00:00
adelikat 52d3ad8467 N64 - fix issue 273 2014-09-27 21:15:51 +00:00
adelikat 25c2507013 N64 - change the expansion slot override notion. If a game in the gamdb has the expansion slot override, override the user's choice, but don't change the sync setting (otherwise all games they load will be set to this). In the N64 menu item, show the checked status based on if the core is actively using the expansion slot, not whether the sync setting is set. If the gamedb is overriding the user's choice make it clear by disabling the menu item. This commit message is longer than the changeset itself. 2014-09-27 12:56:55 +00:00
goyuken f9baa5e8e4 genesis: change initial frame 0 size of video display 2014-09-22 19:35:00 +00:00
goyuken 0d69b77507 issue 270 2014-09-22 14:24:11 +00:00
goyuken 489d69d20c genesis: make the vram memory domain properly invalidate the tile cache and the vdp viewer properly regenerate the tile cache. may or may not fix issue 265. 2014-09-19 23:56:08 +00:00
goyuken ec659a418a compensate for australia 2014-09-16 03:04:11 +00:00
goyuken bacbaa2bec lynx: controllers and frame timing fix 2014-09-16 00:40:15 +00:00
goyuken 28a37a57da lynx mah boi https://www.youtube.com/watch?v=bNpLXo55yfw 2014-09-15 20:12:11 +00:00
zeromus ed4c715a9f add ROM memorydomain to n64 2014-09-14 18:39:26 +00:00
zeromus cfa433a9a6 for issue #223 : create 2 workarounds for taskbar minimizing ding-and-fail bug and activate one of them. The bug is virtually impossible to fix and isnt really our fault. The bug is theoretically existing under other conditions than the "run n64 core" repro steps. The workaround might could be deployed in other situations as needed. 2014-09-14 09:11:34 +00:00
goyuken 184b4dcba9 change some cores to use filedata instead of romdata. NES handles headers internally, and others shouldn't ever have headers. 2014-09-12 15:39:04 +00:00
zeromus 2c8295ba76 Fix bug with core inventory launching n64 core with data that romgame had mangled in cases. todo: delete romgame. 2014-09-12 01:02:09 +00:00
zeromus 87e9d235f6 make some effort to support memdomain of full 32bits size, and use it for n64 system bus. make sure to check that its disabled in ramsearch engine and in hex editor. we could probably fix it to work in hex editor later. 2014-09-09 21:34:41 +00:00
pjgat09 a8684c34a6 N64: Hooked up the system bus domain. 2014-09-08 22:31:51 +00:00