Commit Graph

267 Commits

Author SHA1 Message Date
alyosha-tas 4f63cadb4a Z80
Corrections and Bug Fixes
2017-10-14 14:07:17 -04:00
alyosha-tas 0fda518cb7 Add files via upload 2017-10-13 17:58:36 -04:00
alyosha-tas 7984eecd99 Delete Z80A.cs 2017-10-13 17:52:53 -04:00
alyosha-tas ac2c6a46e0 Delete Tables.cs 2017-10-13 17:52:45 -04:00
alyosha-tas 9776e65719 Delete Registers.cs 2017-10-13 17:52:36 -04:00
alyosha-tas 33079bed48 Delete Interrupts.cs 2017-10-13 17:52:27 -04:00
alyosha-tas 12e709e045 Delete Execute.cs 2017-10-13 17:52:17 -04:00
alyosha-tas 438b3893e3 Delete Disassembler.cs 2017-10-13 17:52:03 -04:00
alyosha-tas 3be21c583e Add files via upload 2017-10-13 16:27:41 -04:00
alyosha-tas 258688ebdd Add files via upload 2017-10-13 11:07:02 -04:00
alyosha-tas 12c46db790 Add files via upload 2017-10-12 20:20:13 -04:00
alyosha-tas ff13009e97 Create ReadMe.txt 2017-10-12 20:19:42 -04:00
alyosha-tas 56d06b3357 LR35902 CPU commit 2017-08-29 09:13:56 -04:00
alyosha-tas 8ff899b731 Create ReadMe.txt 2017-08-29 09:12:31 -04:00
alyosha-tas 2ff7ae06ea Z80: Fix interrupts again
fixes #951
also made sure previous tricky IRQ games still work
2017-08-04 15:03:22 -04: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
alyosha-tas 803871daab z80: Fix bit test flags
-passes zexall bit test
-still some spurious cases to implement, but how to test them?
2017-07-30 17:35:48 -04:00
alyosha-tas c2476f1d36 Z80: Actually upload the correct file >__> 2017-06-28 16:34:01 -04:00
alyosha-tas 0e0d3e4143 Update Execute.cs 2017-06-17 19:01:04 -04:00
adelikat 8ad021c6fd Intellivision - implement memory callbacks 2017-04-23 13:28:40 -05:00
adelikat 7fbed8d3e5 Intellivision - convert DIsassembler to peeks instead of reads 2017-04-23 13:14:05 -05:00
adelikat d03577ade6 Intellivision - partially implement IDebuggable - flag/register getting and setting, and TotalExecutedCycles 2017-04-23 12:30:41 -05:00
J.D. Purcell 3d6b1da94d Whitespace only (indentation fixes/cleanup). 2017-04-19 20:34:30 -04:00
J.D. Purcell b53502eed8 Spaces -> tabs. 2017-04-15 16:37:30 -04:00
alyosha-tas 3ac053c33d Update 6502 reset 2017-03-08 12:19:31 -05:00
alyosha-tas 2526f8c7b9 Update CP1610 2017-03-05 18:44:34 -05:00
alyosha-tas a36b7093e3 Intellivision implement System Bus memory domain 2017-02-09 12:53:55 -05:00
adelikat eb1f477f9d Intellivision - turn off logging 2017-02-08 17:26:30 -06:00
alyosha-tas aa44cf6f02 Update CP1610.Execute.cs 2016-12-26 10:07:19 -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 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 6f4c5bc135 Update CP1610.Execute.cs 2016-12-21 21:42:14 -05:00
adelikat eda79c2212 Make an interface for CodeDataLog, and move CodeDataLog to Base Implementations 2016-12-16 11:33:02 -06:00
J.D. Purcell 206ea9887b Text savestate fixes. 2016-12-14 18:35:03 -05:00
alyosha-tas 33843265f8 Update CP1610 to include Halts from SR2 2016-12-13 16:47:21 -05:00
alyosha-tas ba149320c5 INtellivision fill out save states 2016-12-07 10:55:25 -05:00
adelikat e9d1af2b0c Intellivision - stubs for savestate logic 2016-12-04 08:25:28 -06: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 c230609656 Cp1610 trace logger
WIP
2016-11-12 12:58:10 -05:00
adelikat e44493d9fb Intellivision - wire up trace logger to the core. Currently does nothing since the TraceCallback in CP1610 needs to be wired up in the object in the right places 2016-11-11 16:17:35 -06:00
alyosha-tas 9cb9941fb2 CP1610 updates for intellivision 2016-11-11 16:48:50 -05:00
Ben Russell c07e8b0a79 Z80 - instruction timing fixes 2016-11-09 14:06:56 +13:00
alyosha-tas 3fa2828d5b Accuracy improvement to z80
properly set interrupt enable after the NEXT instruction
2016-11-03 20:50:47 -04:00
feos 9d594e013b genesis disasm: snip implied regs for movem 2016-08-16 22:07:32 +03:00
feos 76eaea3619 tracer unification for cores: spacing, headers, etc 2016-08-16 01:39:26 +03:00
feos 888d7fed6a tracer: set some padding 2016-08-14 22:59:07 +03:00
alyosha-tas 1c9d814e15 Add files via upload 2016-06-24 15:02:50 -04:00
Tony Konzel d518db2d14 6502: RTS IncPc micro-op should perform a read at PC and discard the result. 2016-06-22 15:09:57 -05:00
alyosha-tas 55feae8bf6 clean up and minor fixes 2016-06-16 11:29:08 -04:00
alyosha-tas b7c8755b14 Fill in some undocumented opcodes
now passes instr_misc/instr_misc (the only test I could find that even concerned itself with these opcodes)
2016-06-15 22:33:15 -04:00
nattthebear 111648cf98 Break a bunch of memory domain stuff with pointless refactoring 2016-04-13 19:50:06 -04:00
Tony Konzel 05914e1490 Merge pull request #599 from TASVideos/c64-via-timer-fixes
C64 via timer fixes (and more)
2016-03-15 10:08:17 -05:00
Anthony Konzel aa83c33c58 6502: All non-writes are affected by RDY. 2016-03-09 20:12:49 -06:00
feos 90b4ccfcb9 genesis disasm: use # prefix for moveq, addq and subq too. 2016-03-08 14:03:49 +03:00
adelikat 2975d699ef Traceer - header for NesHawk and PCE 2016-02-28 08:28:00 -05:00
adelikat d477bc1fb6 nice Trace header for SMS, and Coleco 2016-02-28 08:07:02 -05:00
Anthony Konzel ac9a4ef777 Apply C64 core update patch. 2016-02-22 17:50:11 -06:00
feos c41c24cd85 tracer: use .log extention (allows extension based user syntax highlight)
genesis disasm: prefix immediate values with #.
2016-02-22 14:18:46 +03: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
feos 63e7a07e0d debugger: return our own string format for genesis. 2016-02-21 16:04:39 +03:00
feos 0c32b48f29 debugger:
- don't post pc and raw bytes to genesis disasm string
- make some fonts monospace
- pad reg values properly
- give enough space for big reg names
2016-02-21 15:19:56 +03:00
pjgat09 b8ac99992e M6502: Added an R to the State output to indicate when the RDY signal is false. 2016-02-13 17:15:14 -05:00
zeromus 91d070094d 6502 cpu core: make JAM/KIL actually do something like the right thing 2015-12-31 11:43:38 -06:00
adelikat 538f0160d2 Z80 - don't assume FetchMemory exists 2015-12-20 11:22:24 -05:00
Hathor86 f70a2c8c6c Merge from TASVideo 2015-11-01 22:01:19 +01:00
zeromus 642f965685 CDL - preliminary SMS support (only one mapper) 2015-10-30 00:00:57 -05:00
zeromus 70e0954f28 CDL - major refactor complete. muuuuch better. 2015-10-28 03:51:53 -05:00
zeromus fbe010a18d CDL reorg 2015-10-26 19:24:20 -05:00
zeromus bef877365c make CDL generic, and prep for GB CDL 2015-10-26 19:15:21 -05: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 212f94814d Intellivision - misc reorg 2015-06-18 16:44:30 +00:00
zeromus df96db1e2d nothing to see here move along 2015-02-01 23:12:54 +00:00
zeromus 966edb10ab add 65816 disassembler.. not tested very well tho 2015-01-26 00:20:01 +00:00
adelikat 8c12c5cbff do read/writes in the z80 core itself, refactor sms and ti83 to not use them on their end of the callback, fixes sms only having read/write callbacks on a few mappers 2015-01-24 20:57:37 +00:00
adelikat cdd0716420 wire up memory execute callbacks to SMS and TI83 2015-01-24 20:36:36 +00:00
adelikat d3a9535ade PCE - sort out 16 bit vs 21 bit buses, and remove an InvalidOperationException in the disassembler 2015-01-24 15:45:37 +00:00
adelikat d831d1c218 PCE - add memory read/write callbacks 2015-01-24 15:16:53 +00:00
adelikat aa9e5cf2d7 PCE - Hu6280 - pass in and store the callback system instead of an IDebuggable instance and calling .MemoryCallbacks constantly 2015-01-24 15:05:03 +00:00
adelikat e194c9f0c4 Memory callbacks - check the HasReads/Writes/Executes flags during the call methods so that the responsibility does not fall on the core, remove the check in the PCE core 2015-01-24 14:52:20 +00:00
adelikat 2d2a04f5f9 PCEngine - check if MemoryExecute callbacks exist before calling them, provides a noticeable speedup, also update the cpu generator code 2015-01-24 14:16:15 +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
goyuken 98b12af680 sms: disassemble 2015-01-05 21:19:38 +00:00
goyuken 574cd2f649 pce: disassemble 2015-01-05 21:03:54 +00:00
goyuken 8fb7d3ea9d does it work? who knows! 2014-12-20 19:17:35 +00:00
goyuken 972173282a support new disassembler infrastructure in 2600 and nes 2014-12-15 22:52:22 +00:00
adelikat 2d1a43dc65 MemoryCallbackSystem - simplify by having a single Add method with a MemoryCallbackType parameter, and some simplifying of client code as a result 2014-12-07 18:53:56 +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
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 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
goyuken 9609bf1601 NES: disconnect some bitrotted code for an alternate 6502 core 2014-07-30 16:33:48 +00:00
adelikat f546a8080c Move some extension methods from the generic extensions file to NumberExtensions and fix up namespaces 2014-07-03 15:35:50 +00:00
adelikat 467f8da2fb Convert StringHelpers into extension methods, and merge into StringExtensions, change namespace of string extensions 2014-07-03 15:05:02 +00:00
adelikat 7d09468d7a 6502 - disassembling should be peeking not reading, there's still some unsafe peeking going on with NES trace logging though 2014-04-30 01:16:04 +00:00
goyuken 078599adce PCE: fix CDL loading 2014-04-13 16:30:15 +00:00
beirich 8363d66f25 PCE: convert states to Serializer implementation 2014-04-07 04:53:18 +00:00
beirich 77857f0e51 Convert SMS, Coleco, and TI83 to zeromus Serializer-class savestates 2014-03-22 04:46:01 +00:00
goyuken bdbaa0c2d9 PCE CDL: add a new "disassemble" command. this makes a text dump of every opcode that has been mapped out so far, dumping memory domain, address within the domain, and huc6280 disassembly 2014-02-20 22:59:37 +00:00
goyuken 4ada3b4973 NES: fix tracelogger for first instruction of NMI or IRQ. also make it obviously indicate that an NMI or IRQ has occurred 2014-02-12 22:01:23 +00:00
goyuken 37469faa8b PCE CDL: prevent loading of an existing CDL that doesn't match the emu's memory map 2014-02-10 05:02:30 +00:00
goyuken 5769e85a6f add ID to bizhawk CDL file, to make it easily distinguishable 2014-02-10 04:20:26 +00:00
goyuken d15c867693 PCE CDL: fix for street fighter 2 and 384K games. arcade card still not supported 2014-02-10 02:47:23 +00:00
goyuken c9c01202e6 PCE CDL: open for business! not very tested yet. DOES NOT WORK ON SF2 MAPPER. 2014-02-10 01:06:06 +00:00
goyuken d36fae5c00 PCE CDL: stuffs 2014-02-09 23:39:44 +00:00
goyuken 522f6549ad PCE: some CDL stuff, not hooked up yet 2014-02-09 23:13:11 +00:00
goyuken 20bf97c2bd PCE: fix CoreGenerator solution 2014-02-09 20:22:41 +00:00
goyuken 094e7ca18f revert r6072 2014-02-09 20:17:59 +00:00
goyuken c2abb01978 i must commit this because we aren't using git 2014-02-09 20:09:19 +00:00
goyuken 5dac0660e1 PCE: disassembler enhancements 2014-02-09 05:49:05 +00:00
beirich 2dc01eab33 pasky better do something cool with this to warrant janking up my HuC6280 core 2014-02-08 20:18:36 +00:00
adelikat 7393f132ab Move CPUs from Emulation.Common to Emulation.Cores 2014-01-22 01:14:36 +00:00