Commit Graph

204 Commits

Author SHA1 Message Date
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
adelikat 54eb678387 create an ICreateGameDBEntires specialized service and have Atari2600 implement it. Use this in the log window instead of sneaky reflection to access the method 2016-12-15 10:45:20 -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
adelikat 5b31b33713 Remove a now unused MaxVolume property from some sound provider classes 2016-12-08 20:06:25 -06:00
adelikat c61fd757f2 Atari 2600 - put difficulty toggle variables into savestates 2016-11-26 16:10:27 -06:00
adelikat e72ce6d9cb Atari 2600 - show the Needs Reboot icon when changing sync settings 2016-11-11 15:33:29 -06:00
adelikat 333e17a054 Atari 2600 - add console buttons for toggling Difficulty switches. Note that this commit may or may not break both movie and savestate backwards compatibility 2016-11-11 15:28:21 -06:00
adelikat 7a6d2bce41 Dipose of a bytebuffer in a mapper in Atari 2600 2016-11-09 18:23:54 -06:00
adelikat ccc2ee1ba9 Fix coleco memory domains similarly to previous commit, also clean up previous commit 2016-08-22 13:14:47 -04:00
adelikat 4d03651526 Fix A2600 memory domains similarly to the PCE fix in 4b165089fd 2016-08-22 12:56:12 -04:00
alyosha-tas 74e64fda03 fixes poly9 sound
This actually affected several other sound channels as well since the old code put the other poly counters into degenerate states at times
2016-06-06 11:11:42 -04:00
alyosha-tas 41fd36a3c3 Fixed high pitch bug
finally found this bug, fixes several games where sounds were higher pitch then supposed to be (notably Combat)
2016-06-05 17:38:33 -04:00
alyosha-tas ae39f13d5a Update for new sound routines
Catches cases where sound is not processed.
2016-06-04 18:33:41 -04:00
alyosha-tas d7436554b8 Rewrite audio routines
Now samples sound explicitly at proper points each scanline.
Sounds the same (i.e. sometimes wrong) as before, so other bugs exist.
WIP
2016-06-04 18:32:26 -04:00
alyosha-tas f60dde19f5 Fixes compumate mapper
Still WIP
needs keyboard to test
2016-05-31 09:24:09 -04:00
alyosha-tas 0e34e5f728 Fixes compumate mapper
Still WIP
Needs keyboard peripheral for further testing, but boots for now
2016-05-31 09:15:59 -04:00
alyosha-tas f6b74a97e6 Adds missing inputs
3 input ports were never implemeneted, now they are
2016-05-31 09:13:05 -04:00
alyosha-tas d0c7d81de5 Updates and Bug Fixes
Sets stack pointer to FD on initialization (see visual 6502)
Adds portA write state to 6532
2016-05-31 09:11:57 -04:00
alyosha-tas 24b0ebb924 Merge pull request #2 from TASVideos/master
sync up
2016-05-27 08:56:25 -04:00
alyosha-tas d5c4d2f037 Add poke flag
the point of this is to protect the data bus state
2016-05-27 08:53:37 -04:00
alyosha-tas bd5616050a Add poke flag 2016-05-27 08:52:24 -04:00
alyosha-tas fe77d8718f Add poke flag 2016-05-27 08:51:49 -04:00
alyosha-tas d192d76052 Add vblank delay to fix 4A50 demo game 2016-05-25 18:10:05 -04:00
alyosha-tas cbad691741 Protect bank state from peeks
Also properly check bank swapping
2016-05-25 12:39:41 -04:00
alyosha-tas de48c1cf2c check for protection from memory peeks
WIP
2016-05-25 12:38:28 -04:00
alyosha-tas 5520627b7e Fix Peek_memory so it points to mapper Peek_memory 2016-05-25 12:37:23 -04:00
alyosha-tas 7a16d7c49a Add data bus state and track it
fixes AVGN KO boxing
2016-05-23 20:31:55 -04:00
alyosha-tas c80e250ae7 Add data bus state and track it
fixes AVGN KO boxing
2016-05-23 20:29:57 -04:00
adelikat 3194e2cdd7 document what is going on with mF8_sega 2016-05-22 15:33:49 -04:00
alyosha-tas d82a447e71 add tapper hash 2016-05-20 13:18:12 -04:00
alyosha-tas 9424f30243 pick the correct mapper for Tapper and Congo Bongo
Based off SHA1 hash
2016-05-20 09:06:56 -04:00
alyosha-tas 1565a0adf8 add sega mapper mod
mod to F8 that starts in bank 1
2016-05-20 09:05:57 -04:00
alyosha-tas b60876f902 try try again 2016-05-16 20:35:52 -04:00
alyosha-tas 9d00197c2a fixes 0 sample size in audio 2016-05-16 07:55:58 -04:00
alyosha-tas 3625bdaf9d Merge pull request #1 from TASVideos/master
sync up to test
2016-05-16 06:55:49 -04:00
alyosha-tas 0551099ac7 Add files via upload 2016-05-15 20:43:21 -04:00
alyosha-tas 70fdbba229 Fixes 6532 INSTAT
Fixes Tapper not running (other issues with that game remain)
2016-05-06 22:58:41 -04:00
alyosha-tas a0ad9aab36 HMove update
Fixes Kool Aid Man
2016-04-22 09:17:01 -04:00
hegyak 643e475ccc Merge pull request #614 from alyosha-tas/master
AtariHawk bug fixes pull request
2016-04-18 08:06:15 -07:00
nattthebear 111648cf98 Break a bunch of memory domain stuff with pointless refactoring 2016-04-13 19:50:06 -04:00
alyosha-tas 3e365a2928 update 2016-04-10 20:21:12 -04:00
alyosha-tas 0dd58abb28 update 2016-04-10 18:29:45 -04:00