Commit Graph

1802 Commits

Author SHA1 Message Date
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
alyosha-tas d0b0946229 NES Fix Cheats
Now turn off when cheat is turned off / removed

Fixes #770

Note: This is a bit clumsy, but I don't know a way to directly call a removal method from the cheat tool. Effective enough for now though.
2017-01-08 13:44:07 -05:00
alyosha-tas aeec03dc91 Update Namcot129_163.cs
FINALLY fix Kaiketsu Yanchamaru 3 - Taiketsu! Zouringen (J)

This was really bugging me so I'm glad I finally found this bug.
2016-12-29 19:03:42 -05:00
alyosha-tas 1363203af4 Update Input.cs
No buttons pressed should return 0xF not 0.

Fixes #754
2016-12-28 15:37:27 -05:00
alyosha-tas bc92e9cc2b Intellivision STIC improvements 2016-12-28 14:37:49 -05:00
alyosha-tas fc96fe2cba Intellivision track lag 2016-12-27 16:31:33 -05:00
alyosha-tas 3f9ec16c2d Update STIC.cs 2016-12-27 12:15:11 -05:00
alyosha-tas a38de398df Intellivision fix border collision
Now passes MTE test cart
2016-12-27 11:49:31 -05:00
alyosha-tas c61a15458c Intellivision more cleanup 2016-12-27 09:50:14 -05:00
alyosha-tas 46966ef7c9 Intellivision STIC clean up 2016-12-26 14:17:04 -05:00
alyosha-tas a01f7c3502 Update Intellivision.IEmulator.cs 2016-12-26 10:51:45 -05:00
alyosha-tas aa44cf6f02 Update CP1610.Execute.cs 2016-12-26 10:07:19 -05:00
alyosha-tas c13c711702 Intellivision STIC add border 2016-12-26 09:56:37 -05:00
alyosha-tas 46586a7df9 Update CP1610.Execute.cs
FInally find the bug that Fixes Pac Man (and Ms Pac Man as well)
2016-12-24 22:28:58 -05:00
alyosha-tas 3ff1151171 Intellivision fix color stack 2016-12-24 15:01:41 -05:00
alyosha-tas f5491bf86f Update CP1610.Execute.cs 2016-12-24 15:01:00 -05:00
alyosha-tas 68c3d2abb1 Intellivision Fix overflow flag bug 2016-12-24 13:03:12 -05:00
alyosha-tas f542a438ed Update CP1610.Execute.cs 2016-12-24 10:53:30 -05:00
alyosha-tas 98a73ee982 Update Intellivision.IEmulator.cs 2016-12-24 09:15:14 -05:00
alyosha-tas 8c7e5098c0 Intellivision bug fix 2016-12-24 09:14:24 -05:00
alyosha-tas 585f35b29e Intellivision implement BackTab calls
Correct timing for background drawing, not sure if any game uses it though
2016-12-23 20:07:12 -05:00
alyosha-tas 35d86388a4 Intellivision Implement STIC access restrictions
Big accuracy improvement
2016-12-22 21:07:31 -05:00
alyosha-tas 81033c1120 Intellivision Update Cartridge
Add Ms Pac Man (doesnt work yet)
Fix Banking
2016-12-22 18:10:39 -05:00
alyosha-tas 99fdc4a8ca Intellivision timing fix 2016-12-21 21:43:33 -05:00
alyosha-tas 6f4c5bc135 Update CP1610.Execute.cs 2016-12-21 21:42:14 -05:00
alyosha-tas da2d72a953 Add Cybernoid to QuickNES Blacklist 2016-12-20 10:21:42 -05:00
alyosha-tas 138f7b140d Add in inputpollable stuff to Intellivision
Should be TASable now
2016-12-19 20:20:10 -05:00
alyosha-tas 824112bc0d Intellivision clean up Cartridge 2016-12-19 10:58:22 -05:00
alyosha-tas 97a8430f5d Intellivision implement STIC masking 2016-12-19 10:27:36 -05:00
alyosha-tas 6bc9a027b3 Intellivision Bug fix to STIC 2016-12-17 22:09:23 -05:00
alyosha-tas 8ab8eb43b9 Update Cartridge.cs 2016-12-17 18:23:30 -05:00
alyosha-tas 5d0bc69085 Intellivision finish cartridge mapping 2016-12-17 14:00:03 -05:00
alyosha-tas 204647e065 intellivision add gamedb selection to cartridge
start process of mapper selection
2016-12-17 12:13:32 -05:00
adelikat 40be0dd0b3 Refactor the way a Null ControllerDefinition is created 2016-12-16 23:34:18 -06:00
adelikat 2b4267d2c9 nitpicky code refactorings on unimportant files, nothing to see here 2016-12-16 15:47:28 -06:00
adelikat eda79c2212 Make an interface for CodeDataLog, and move CodeDataLog to Base Implementations 2016-12-16 11:33:02 -06:00
adelikat 691632f188 More IAsyncSoundProvider and related classes to BizHawk.Emulation.Cores and make them internal, since they are implementation details, and they are deprecrated and not intended to be used in future cores. 2016-12-16 08:50: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
J.D. Purcell 206ea9887b Text savestate fixes. 2016-12-14 18:35:03 -05: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 aaed8e67d5 NullController - remove a bunch of methods that were originally part of IController but no longer are, and clean up the code a bit 2016-12-14 09:16:54 -06:00
alyosha-tas f723abe478 Intellivision PSG bug fix and clean up 2016-12-13 19:56:45 -05:00
alyosha-tas 33843265f8 Update CP1610 to include Halts from SR2 2016-12-13 16:47:21 -05:00
alyosha-tas eabd8dbf07 Intellivision simulate CPU halts
NOTE: This is accurate only to a good approximation. The STIC steals too many cycles to ignore (~1000) but the timing is only estimated, see: 
http://spatula-city.org/~im14u2c/intv/tech/master.html
2016-12-13 16:45:30 -05:00
alyosha-tas 16c1468903 Intellivision fix colored square mode 2016-12-13 16:42:12 -05:00
adelikat 8c57dd98f3 NESHawk - add IsFDS flag and use it in NesSchema instead of a check for BoardName == "FDS" 2016-12-13 15:24:53 -06:00
alyosha-tas c6d8666f23 Intellivion copy paste enough stuff to get the sound working
Sound now fully implemented including in savestates
2016-12-13 12:26:56 -05:00
alyosha-tas ed091083d2 Intellivision PSG clean up and bug fix
Things sound correct now.
2016-12-13 10:22:15 -05:00
alyosha-tas d8a2f51099 Implement Sound Envelope
Just needs to be re-wired up
2016-12-12 17:53:05 -05:00
adelikat 5ff33e7569 Rename IController.Type to IController.Definition to more clearly describe the property 2016-12-12 12:30:32 -06:00
adelikat bd7bd831c7 PCEngine - lock down some variables to private or internal, explicitly mark some private variables 2016-12-12 10:31:38 -06:00
adelikat 618f5de54f PC Engine - break off services into their separate files 2016-12-12 10:23:07 -06:00
zeromus 3cedc7479f change that new nes 2.0 uxrom handling to be more strict 2016-12-11 17:41:34 -06:00
zeromus 6ad442544b support mapper 002-00 submapper with WRAM if the header specifies it 2016-12-11 15:38:22 -06:00
adelikat b465eaa470 Remove two sound refactor todo comments 2016-12-11 12:27:11 -06:00
adelikat da5795255c Wire up Colecovision sound 2016-12-11 11:33:33 -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
alyosha-tas 5ac6746fb9 Intellivision fix MOB colors 2016-12-10 19:59:59 -05:00
alyosha-tas fc8ac3b190 Intellivision fix controller ports
They are apparently reversed. This fixes numerous games.
2016-12-10 18:56:35 -05:00
alyosha-tas 3f3828455c Intellivision more audio work
Still a ways to go
2016-12-10 13:48:02 -05:00
alyosha-tas 91f36bf638 Intellivision Partial audio
Still has some bugs and is missing envelope but its getting there
2016-12-09 23:00:40 -05: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 657de56123 Remove MaxVolume from ISoundProvider, provide an IMixedSoundProvider interface for classes that want to use SoundMIxer as part of their sound provider implementation 2016-12-08 19:51:17 -06:00
adelikat 538630f957 Intellivision - document a non-applicable emualtor service 2016-12-08 13:06:20 -06:00
zeromus fd71ab0160 fix lightfun more better by masking out the unwanted bits from xbuf 2016-12-07 22:26:30 -06:00
alyosha-tas 097bbee267 Fix Lightgun reading an undefined pixel color 2016-12-07 21:47:04 -05:00
alyosha-tas 89940b85af Intellivision wire up sound system 2016-12-07 20:49:47 -05:00
adelikat 2cf14db2ec Intellivision - add IStatable to Intellvision.cs, because it is nice to have all the interface implementations in one place 2016-12-07 12:35:46 -06:00
alyosha-tas eda1b44238 Intellivision fill out save states 2016-12-07 10:56:31 -05:00
alyosha-tas ba149320c5 INtellivision fill out save states 2016-12-07 10:55:25 -05:00
alyosha-tas 790376496b oops fixed error 2016-12-05 22:00:47 -05:00
alyosha-tas eeba83be83 Intellivision fix frame and add sound clocking 2016-12-05 21:51:12 -05:00
alyosha-tas dc01d08210 Intellivision start on PSG 2016-12-05 21:47:36 -05:00
adelikat 45a96920b3 remove BisqAPU since it has never been used, and APU improvements have deprecated it 2016-12-04 08:57:10 -06:00
adelikat e9d1af2b0c Intellivision - stubs for savestate logic 2016-12-04 08:25:28 -06:00
nattthebear da2d15341f mgba: Fix some of the audio channel disables not working. Fix audio channel disables not being restored on reboot core 2016-12-03 23:01:14 -05:00
nattthebear a75636121a Comments 2016-12-03 19:05:40 -05:00
adelikat 5665de1797 Intellivision - add a "Fake analog" controller as the default controller for easier binding for casual play, but also leave a boolean option as well for more precise (TAS) control. Add a controller config dialog to select them. 2016-12-03 17:44:25 -06:00
adelikat b4a90cabe7 NESHawk - fix a slight typo, this changes nothing about the core just makes a file more clear 2016-12-03 11:17:44 -06:00
alyosha-tas c624612b51 Fix SNROM implementation 2016-11-29 11:07:06 -05:00
nattthebear f67cb3c64f Issue #735: Add sound channel toggling on mgba 2016-11-27 17:33:05 -05:00
alyosha-tas 995c5f907c Fix WRAM enable / disable for SNROM
now passes mmc1_a12, which was incorrectly listed as passing before
2016-11-26 20:25:46 -05:00
adelikat c61fd757f2 Atari 2600 - put difficulty toggle variables into savestates 2016-11-26 16:10:27 -06:00
Wyst3r 86b16a80d6 m64p: Use built-in debugger to avoid major slowdowns when breakpoints are set. 2016-11-19 12:02:39 +01:00
alyosha-tas 825d45966c Intellivision Fixes
-Pixel Priority
-Border Fixes
-Collisoin Fixes
2016-11-17 22:54:11 -05:00
alyosha-tas dd49981eb3 Intellivison fix color stack mode 2016-11-17 19:24:10 -05:00
alyosha-tas 379a4c6c96 Intellivision clean up border collision 2016-11-16 22:32:59 -05:00
alyosha-tas 9db357017a Intellivision: Implement y-scaling 2016-11-16 20:03:19 -05:00
alyosha-tas f539f011c5 Intellivision implement x-scaling 2016-11-16 12:52:55 -05:00
alyosha-tas 9e5ec5005f Intellivision fix y-flipping 2016-11-16 10:51:26 -05:00
alyosha-tas d53e9dd898 Intellivision fixes 2016-11-16 09:20:07 -05:00
alyosha-tas 2cc4e6bf58 Intellivision Timing Fix 2016-11-15 10:28:09 -05:00
alyosha-tas af03ac3eb7 CP1610 Add registers to tracer 2016-11-14 21:17:24 -05:00
alyosha-tas fbd630b594 Update CP1610.Execute.cs 2016-11-14 20:44:36 -05:00
alyosha-tas 1fcb1315d1 intellivision Scrolling Bug fix 2016-11-13 22:41:25 -05:00
alyosha-tas 44cbac540b Intellivision correct scrolling
This is getting pretty dense and ugly
2016-11-13 22:13:31 -05:00
alyosha-tas c00d68d93f Intellivision implement BG delays 2016-11-13 21:13:01 -05:00
alyosha-tas 3a41cc4531 Intellivision collision detection
Heavy calculating happening here.
Needs optimization but is functional.
2016-11-12 17:53:24 -05:00
alyosha-tas 61112a0027 Stop logging all the time 2016-11-12 16:10:41 -05:00