Commit Graph

345 Commits

Author SHA1 Message Date
Asnivor 6d22b06c21 Added virtual pad to UI 2017-12-04 14:05:04 +00:00
Asnivor 38ee7147b3 _frameBuffer is now populated with correct data immediately, rather than converted during the IVideoProvider cycle 2017-12-04 09:42:08 +00:00
Asnivor 2b880d863b updated readme 2017-12-01 17:40:45 +00:00
Asnivor 048c65cd7e Implemented Kempston Joystick (hardcoded J1) 2017-12-01 17:33:56 +00:00
Asnivor fb8fd2ae90 Fixed input detection 2017-12-01 15:34:47 +00:00
Asnivor 42db947939 updated keyscanning code 2017-12-01 14:34:45 +00:00
Asnivor 0ac6012320 small refactor 2017-12-01 11:36:57 +00:00
Asnivor 64bb08cbb7 un-refactored input code and added some +keyboard combinations 2017-11-30 12:08:36 +00:00
Asnivor b38760caeb Internal facility to use DiagROM 2017-11-30 09:41:30 +00:00
alyosha-tas 30061a3536
ZX Spectrum draft DB Access 2017-11-29 16:32:34 -05:00
alyosha-tas 07b9e1243c
ZX Spectrum draft DB access 2017-11-29 16:31:53 -05:00
alyosha-tas 7428e8e673
ZX Spectrum: Draft DB access 2017-11-29 16:30:54 -05:00
Asnvior dba8e1f049 Added readme 2017-11-28 20:09:00 +00:00
Asnvior 7287afc5da More SynState work 2017-11-28 19:28:22 +00:00
Asnivor 30483f3003 Started tape impl. 2017-11-24 18:43:04 +00:00
Asnivor d012472999 Initial commit. 48K spectrum only. 2017-11-23 17:26:15 +00:00
Mad-Matty 7a6471556e
Update Vic.VideoProvider.cs
Updated C64 Colour Palette Values using the new (Feb 2017) Pepto Colodore values.  This is an update to Pepto's original palette currently in use.

Values taken from Winvice Colodore.vpl) Note that the vpl also has Dither values which I guess are not used by this emu.

http://www.pepto.de/projects/colorvic/
2017-11-12 22:20:23 +00: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
adelikat c6e0e9fa57 Rename CoreAttributes to CoreAttribute as to not be a bad person 2017-07-12 14:10:55 -05:00
alyosha-tas ebb305997e C64 more SID work 2017-05-31 22:44:45 -04:00
alyosha-tas 52995b657e Update C64.Motherboard.cs 2017-05-31 22:43:27 -04:00
alyosha-tas 113d002701 Update Sid.cs 2017-05-31 18:30:23 -04:00
adelikat 1877cce021 C64 - misc cleanups 2017-05-30 13:10:01 -04:00
adelikat 3cc74932a7 Set C64 to released, and remove some hacks that hid C64 in some places 2017-05-30 12:12:10 -04:00
alyosha-tas d825769cf5 Oops, Clean Up 2017-05-29 16:44:56 -04:00
alyosha-tas 66b13a2d78 Update CartridgeDevice.cs 2017-05-29 15:05:06 -04:00
alyosha-tas 321f62a242 Add files via upload 2017-05-29 15:04:26 -04:00
alyosha-tas f99f9847b4 Update C64 VIC to fix MoonDust 2017-05-29 14:32:12 -04:00
alyosha-tas 6dbf0e4822 More SID Work 2017-05-28 21:28:53 -04:00
alyosha-tas 207438d02c more SID work 2017-05-28 21:28:03 -04:00
adelikat 3a852707c4 C64 - expose tape data as a memory domain, because why not 2017-05-28 08:52:16 -05:00
adelikat 3820a243fe c64 implements IInputpollable, not sure why it was commented out 2017-05-27 15:43:07 -05:00
adelikat 7f45b4880f c64 - another savestate fix 2017-05-27 14:44:45 -05:00
adelikat 39797513b2 c64 - add another variable to savestates 2017-05-27 14:13:51 -05:00
adelikat 73cdd0357d C64 - I think these are things that need to be in savestates 2017-05-27 13:42:03 -05:00
adelikat be39513b9e C64 - show mapper info in rom annotation, if rom is a cart 2017-05-27 11:57:38 -05:00
alyosha-tas 26ec802769 Sid Round 2
Still some noise in there but not as bad and the sharp cutoff in Gianna Sisters intro is fixed
2017-05-25 13:42:36 -04:00
alyosha-tas 11176e29de Update Sid.cs
Fix a typo that was causing some scratching noise
2017-05-24 22:00:09 -04:00
alyosha-tas 2d5c4ce893 C64: Filtering
First Draft, sounds better but needs peeking effect
2017-05-24 14:45:07 -04:00
alyosha-tas 86629319c4 C64: Start SID Filtering
Set up infrastructure
Still a lot to do.
2017-05-22 16:44:27 -04:00
alyosha-tas 782ca64f73 Add FFT source to C64
Thanks to jdpurcell for the code
2017-05-22 16:40:13 -04:00
alyosha-tas 86cfa69b98 C64: Add Mapper 0008 2017-05-18 16:18:49 -04:00
alyosha-tas 1821f631fe Update Sid.Registers.cs 2017-05-16 19:59:07 -04:00
alyosha-tas c1c80687c6 Update Sid.cs 2017-05-16 19:58:06 -04:00
adelikat 001091f9a1 C64 - wire up the trace logger, to the 6502 parts of the 6510 at least. THere might be more things to wire up 2017-05-16 18:40:17 -05:00
adelikat f093ad8606 C64 - multi-disk support 2017-05-15 19:52:05 -05:00
adelikat eb3c6a640e C64 - make binary states preferred, disks - dont' save _tracks to savestates since it currently isn't being written to, add a note for what to do if/when writing to disk is built 2017-05-13 16:18:55 -05:00
adelikat 47f5a8237e oops 2017-05-13 13:18:52 -05:00
adelikat caf9802412 C64 - remove the SaveState.DoNotSave attribute 2017-05-13 13:04:02 -05:00
adelikat 8ae05f2d01 C64 - remove the SaveState.SaveWithName attribute 2017-05-13 12:46:19 -05:00
adelikat c6c0f0e19a SaveState.SyncObject begone 2017-05-13 12:35:44 -05:00
adelikat ec07983f92 Refactor Disk.cs to not use SyncObject, still uses SyncDelta however 2017-05-13 11:42:39 -05:00
adelikat 99d2db0cdc C64 - refactor UserPort and nested class to not use SyncObject 2017-05-13 11:31:52 -05:00
adelikat e626086b05 C64 - progress on Motherboard savestate refactor 2017-05-13 11:23:14 -05:00
adelikat 2840b69e41 refactor Via.Port from an abstract class to interface, require inheriting classes to implement SyncState, and of course, don't use SyncObject 2017-05-13 11:10:37 -05:00
adelikat 4d7afaa70a C64 - refactor Via and Drive 1541 to not use SyncObject (but not subclasses) 2017-05-13 11:02:48 -05:00
adelikat 4d99f9fd95 C64 - refactor CassettePort and subclasses to not use SyncObject 2017-05-13 10:20:44 -05:00
adelikat 4ffcc9654a C64 - refactor cartridge classes to not use SyncObject 2017-05-13 10:11:13 -05:00
adelikat 762a35773c C64 - convert VIC and sublasses to not use SyncObject 2017-05-13 09:37:11 -05:00
adelikat 6640b4050a C64 - convert Sid object arrays to not use SyncObject 2017-05-13 09:00:28 -05:00
adelikat 0fc9ea7e14 C64 - refactor Sid (but not subclasses) to not use SyncObject 2017-05-13 08:51:03 -05:00
adelikat 0eeee952c5 Convert Chip4864 to not use SyncObject 2017-05-13 08:42:07 -05:00
adelikat 1fab08f91c C64 - Convert Chip90611401 to not use SyncObject 2017-05-13 08:36:52 -05:00
adelikat 9effe326ad C64 - Chip23128 has nothing to save so don't try to save things 2017-05-13 08:27:13 -05:00
adelikat 4d37e8b4e4 C64 - refactor 6510 and subclassess to not use SyncObject 2017-05-13 08:25:50 -05:00
adelikat ee183d3505 oops, remove some debugging code that shouoldnt' be checked in 2017-05-13 08:01:04 -05:00
adelikat 5897721637 C64 - refactor Chip2114 to not use SyncObject 2017-05-13 07:56:32 -05:00
adelikat 1c8cc06a02 C64 - Refactor Cia.Port to be a base interface instead of abstract class, and remove SyncState since none of the current implementations have any state to sync. 2017-05-13 07:55:46 -05:00
adelikat 1443e39ed0 convert Motherboard, Cia SyncStates to explicit stating 2017-05-12 19:44:20 -05:00
adelikat 383baa6d1e c64 - savestate refactor round 1 - do explicit savestating for the root C64 object 2017-05-12 16:26:04 -05:00
adelikat 1222b4d5b5 C64 - implement IBoardInfo 2017-05-12 15:36:15 -05:00
adelikat ed27e9d361 c64 - make mapper classes standalone instead of nested in the abstract class they derive. Just a stylistic preference I guess 2017-05-12 15:13:05 -05:00
adelikat 2c2b58d98b c64 nitpicks 2017-05-12 14:57:22 -05:00
adelikat 48080c838f do not mark C64 as not having ISettable..since it implements it. Group C64.ISettable.cs with C64.cs 2017-05-12 14:32:56 -05:00
adelikat ff7db156f6 C64 - renamed C64.Input to C64.MotherboardInput since it is a partial class of Motherboard not C64 2017-05-12 14:29:26 -05:00
adelikat 9cbe1e3112 C64 - some cleanups - remove unused stuff, make unnecessarily public things private 2017-05-12 14:22:37 -05:00
adelikat 59ac3897da C64 - break up services more 2017-05-12 14:06:34 -05:00
adelikat 6cfd112791 remove C64Util since the methods weren't being used, at least one was highly dubious, and they would be better served being in a common library if deemed needed 2017-05-12 13:28:49 -05:00
adelikat 7b2b1c325b C64 - fix framecount getting reset to 0 on savestate, not sure why it was broken teh way it was and why this is necessary but meh, it is fixed and more like how other cores handle Frame anyways 2017-05-10 16:28:27 -05:00
nattthebear ebe789eed2 heh 2017-05-10 07:45:23 -04:00
adelikat a996453fc0 Oops, fix type in IVideoProvider refactor that broke the C64 core 2017-05-09 09:58:23 -05: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 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 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 3dd5478efd spaces to tabs in C64 files 2017-04-24 10:09:31 -05:00
adelikat 5247e1d357 Cleanup and simplify AppleII core code 2017-04-24 10:09:31 -05:00
adelikat 94f152d1d1 misc cleanups in Emulation.Cores 2017-04-17 15:23:31 -05:00
J.D. Purcell ed3bf0e62b Fix mixed line endings. 2017-04-15 15:53:02 -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 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
nattthebear 111648cf98 Break a bunch of memory domain stuff with pointless refactoring 2016-04-13 19:50:06 -04:00
Tony Konzel 93fcb293d8 C64: Fix the build post-merge (derp.) 2016-03-15 11:38:55 -05:00
Tony Konzel 3ce0264fd3 C64: Actually use the correct data and length when building PRGs onto disk images. 2016-03-09 20:35:56 -06:00
Anthony Konzel 9557a25301 C64: Improved disk support. 2016-03-09 19:53:02 -06:00
Anthony Konzel aaa0da85fd C64: Prophet64 and Action Replay mapper (incomplete) added. 2016-03-06 16:31:29 -06:00
Anthony Konzel 178457309a C64: Drive light reflects both cartridge LED and disk drive now. 2016-03-05 16:00:19 -06:00
Anthony Konzel 8fd552274e C64: Discover file formats heuristically instead of by filename. 2016-03-05 15:23:22 -06:00
Anthony Konzel 57676608d0 C64: Fix ROM load order. 2016-03-04 17:29:47 -06:00
Anthony Konzel b0e4e18ebc C64: Manage memory for Cartridge, Write protect on media. 2016-03-04 16:15:01 -06:00
Anthony Konzel f4f45f73a8 C64: Better lifecycle management and 1541-II support. 2016-03-04 16:06:25 -06:00
Anthony Konzel 87200593b6 C64: Internal support for multiple files and Epyx Fastload support. 2016-03-03 21:14:19 -06:00
Anthony Konzel a435cc912c C64: Use Chip6522 factory. 2016-03-03 18:03:48 -06:00
Anthony Konzel 28ced70f28 C64: Populate half-tracks when loading images. 2016-03-03 15:43:43 -06:00
Anthony Konzel cff1708be6 C64: Perform sync check before shifting. 2016-03-03 00:13:55 -06:00
Anthony Konzel 64ded912df C64: Implement more of the VIA timers. 2016-03-02 23:45:13 -06:00
Anthony Konzel fd62145df5 C64: Don't compress savestate data (let the UI do that) 2016-03-01 20:34:08 -06:00
Anthony Konzel a06dd5f768 C64: Faster loading savestates. Also fix input not working after loading state. 2016-03-01 16:03:20 -06:00
Anthony Konzel 43ac625a95 Apply savestate changes to disk subsystem. 2016-03-01 14:01:56 -06:00
Anthony Konzel 70e1a2ca29 C64: Apply savestate changes to tape subsystem. 2016-03-01 13:52:47 -06:00
Anthony Konzel 1e2c9e45f0 C64: Apply savestate info to cartridge subsystem. 2016-03-01 13:50:07 -06:00
Anthony Konzel 472616c4f7 C64: Add bare delta media savestate support. 2016-03-01 13:15:27 -06:00
Anthony Konzel 67edd5df1e C64: Simplify input handling. 2016-03-01 13:14:59 -06:00
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