Commit Graph

292 Commits

Author SHA1 Message Date
Asnivor 2ed0c919d2
Merge pull request #1330 from TASVideos/z80fixes
Z80: fix IN A, (N) flag affection
2018-09-19 23:01:30 +01:00
Asnivor 2565f49c89
Merge branch 'AmstradCPC' into master 2018-09-19 14:56:41 +01:00
Asnivor 3d55446526 A, (N) flag affection 2018-09-19 13:10:41 +01:00
Asnivor c4dd4c50e2 Z80: undo flag oops 2018-09-18 11:13:31 +01:00
Asnivor f62ab685a9 ZXHawk: Fix core GUI windows monospace weirdness 2018-09-18 10:50:15 +01:00
Asnivor 16d68ea813 ZXHawk: debug only zx-state snapshot export 2018-09-10 10:05:49 +01:00
Asnivor 4192f764b1 CPCHawk: Gatearray now displaying a picture (mode1) 2018-07-13 16:34:36 +01:00
alyosha-tas 3e495e3a28 z80: reset cleanup 2018-06-14 08:02:06 -04:00
alyosha-tas 5d401b20d3 z80: clean up 2018-06-13 12:54:43 -04:00
alyosha-tas a992e988b2
Merge pull request #1218 from TASVideos/ZXHawk-new-ULA
Zx hawk new ula
2018-06-13 08:40:26 -04:00
alyosha-tas 93dab42ba6 z80: Start up values for SP and AF 2018-06-13 08:29:07 -04:00
alyosha-tas 9a906cd8af z80: add memptr variable 2018-06-12 16:57:11 -04:00
alyosha-tas 8c3afc189a z80: add a MEMRQ vector for memory contention for zx spectrum 2018-06-12 16:51:21 -04:00
alyosha-tas 3ce546b774 z80: Resond to interrupts at the corect time 2018-06-08 12:28:51 -04:00
alyosha-tas 6ae8f01872 z80: Fix some more contention stuff 2018-06-07 18:41:50 -04:00
alyosha-tas 7ad65bd96e z80: WZ fixes 2018-06-07 11:11:56 -04:00
alyosha-tas cd7df2ea07 z80: more contention work 2018-06-07 10:37:26 -04:00
alyosha-tas b0af0e48e0 z80: IR contention update 2018-06-07 08:34:21 -04:00
alyosha-tas afd1ba38d8 z80: Fix remaining flags and WZ 2018-06-07 08:10:39 -04:00
alyosha-tas 275092528a z80: Fix some bugs in flags and WZ register
Only thing remaining is INI/IND/INIR/INDR
2018-06-06 19:34:46 -04:00
alyosha-tas af788ee108 z80: fix IO contention bug 2018-06-06 13:55:57 -04:00
alyosha-tas 74e6f630c3 z80: IO port re-work and contention 2018-06-06 07:33:49 -04:00
alyosha-tas 620c4b3c2e z80:more contention work, only IN/OUT to go 2018-06-05 18:04:19 -04:00
alyosha-tas 978a93b681 z80: more memory contention timing work
(up to test 23)
2018-06-05 15:05:48 -04:00
alyosha-tas 6752a17321 z80: clean up prefetch implementation 2018-06-05 12:52:10 -04:00
alyosha-tas beae64d563 z80: use high byte BUSRQ vector since PCl = 0 so the look up fails (oops) 2018-06-04 14:27:57 -04:00
alyosha-tas bff3f41c9a z80: IN/OUT access fixes 2018-06-04 11:42:59 -04:00
alyosha-tas 2661b0804c z80: fix a typo 2018-06-04 11:15:26 -04:00
alyosha-tas 9f4b6f1ecf z80: Bus timing on interrupts 2018-06-04 08:57:12 -04:00
alyosha-tas 1125ccedc3 z80: fix a bug 2018-06-04 07:52:48 -04:00
alyosha-tas 32ae549c70 z80: Add bus request timing array to work with zx spectrum
Also some clean up
2018-06-03 19:14:30 -04:00
alyosha-tas 7220e9d394 z80: fix some instruction timings for IN/OUT 2018-06-01 15:21:05 -04:00
alyosha-tas c0d6c02b2e Z80: Recast core to cycle accurate memory accesses and wait state timing 2018-05-31 21:05:41 -04:00
alyosha-tas d6a9d69f7e GBHawk: Fix Pinball Fantasies 2018-05-25 15:00:16 -04:00
Scepheo f3ea6fe025 Use generic interface type on MOS 6052X for talking to the emulator core (#1189)
* Use generic interface type on MOS 6052X for talking to the emulator core
* Change CpuLink constructors to not use expression-bodies, to get the AppVeyor build to pass.
* Add comment explaining why IMOS6502XLink exists.
2018-05-20 23:18:53 +03:00
alyosha-tas 2144195bb8 GBHawk: Clean up some unused variables 2018-05-16 15:50:07 -04:00
alyosha-tas 1b991de966 GBHawk: More Hlat bug work 2018-05-15 14:26:48 -04:00
alyosha-tas a185f33487 Z80A: Add a WAIT state that can puase the CPU on reads / writes
NOTE: a wait state is added automatically to IN/OUT reads / writes, but I don't know if this is already accounted for in the cycle timings, TODO.
2018-05-15 09:44:39 -04:00
nattthebear e8145af463 i hope this breaks something 2018-05-12 12:55:42 -04:00
alyosha-tas 678666ddf0 GBHawk: Fix a bug in I Flag check 2018-05-10 15:31:06 -04:00
alyosha-tas 32f78cd311 GBHawk: Cleanup ppus 2018-05-09 20:05:53 -04:00
alyosha-tas 828dbba1a5 GBHawk: Rework CPU to poll INT at the correct time. 2018-05-08 21:47:35 -04:00
alyosha-tas b3647c6e05 GBCHawk: adjust PPU 2018-05-04 15:45:18 -04:00
alyosha-tas e29b741bd4 GBCHawk: Halt test rom work, ppu still needs re-work 2018-05-03 21:26:33 -04:00
alyosha-tas d4eb3da512 GBHawk: Restructure to pass all other tests (as before) 2018-05-03 19:07:51 -04:00
alyosha-tas 19c509e9c2 GBHawk: Attempt at some halt bugs 2018-05-01 21:53:20 -04:00
alyosha-tas 9c06ac02a2 Z80: Fix Flags for IN operations 2018-04-18 19:00:59 -04:00
alyosha-tas 6019073157 GBHawk: Fix some GBC Behaviours, start MBC7 2018-04-03 18:18:41 -04:00
alyosha-tas d4ee8f480b GBHawk: HDMA and GBC halt commits 2018-03-25 21:22:27 -04:00
alyosha-tas 380b9f085e GBHawk : GBC Commits round 2
-HDMA
-GBA setting
2018-03-25 17:58:21 -04:00
alyosha-tas ca69e52229 GBHawk: GBC commits round 1
-RAM banks
-Unify VRAM and add second Bank
-Speed Switch and associated reorg.
-Memory Map and Registers
-PPU seperation
2018-03-25 10:07:12 -04:00
Asnivor e2eac983a1
Merge pull request #1149 from TASVideos/master
Bringing ZXSpectrum branch up to date with master
2018-03-19 15:52:55 +00:00
alyosha-tas 81e80acf86 z80: make TotalExecutedCycles long and change related variables accordingly 2018-03-18 09:55:56 -04:00
alyosha-tas dbb90a996d z80: clean up 2018-03-16 17:50:51 -04:00
alyosha-tas 396f875ac2 z80 disassembler: handle address wrap 2018-03-15 20:58:08 -04:00
alyosha-tas 8ebcadbc58 z80: fix port addressing in some cases 2018-03-15 20:47:47 -04:00
feos 09d765e853 make 6502 tracelog less bullshit
- stop spamming ---
- stop acting like 6502 is able to execute the same pc twice in a row
- put as many raw bytes as 6502 fetches per instruction
- reorder some registers
- stop being called when there's nothing to disasm
2018-03-15 00:30:50 +03:00
alyosha-tas 47cfe9ceb6 Intellivision: TCI throw console warning instead of error, fixes popeye 2018-03-02 16:59:38 -05:00
Asnivor 7c82d6d526
Merge pull request #1106 from TASVideos/master
Bring ZXSpectrum branch up to date with master
2018-02-06 08:45:48 +00:00
alyosha-tas 7ae43505ec GBHawk: Clean up interrupt handling 2017-12-06 18:55:38 -05:00
alyosha-tas b65c10afc7 GBHawk: CPU Update for new test 2017-12-06 08:12:41 -05:00
alyosha-tas a9f8828063 z80: fix port access behaviour 2017-12-01 08:20:18 -05:00
alyosha-tas d09e73b592
z80: implement data bus
-needed for ZXspectrum mode 2 interrupts
-use with FetchDB function
2017-11-29 16:28:08 -05:00
alyosha-tas cbd217d479 GBHawk: MBC3 2017-11-24 15:44:29 -05:00
Tastyfish d0bdfd3d68 Fixes disassembler for SMS 2017-11-24 02:56:21 -05:00
alyosha-tas afe5a7cd11 GBHawk: Fix Amazing Penguin 2017-11-22 13:35:07 -05:00
alyosha-tas 69170fb110 Remove old GB CPU core 2017-11-19 10:22:05 -05:00
alyosha-tas 26b1a2dff0 GBHawk: Pass all sound tests 2017-11-19 09:30:18 -05:00
alyosha-tas 087586bc49 GBHawk: pass new IRQ test 2017-11-18 19:45:11 -05:00
alyosha-tas b2d453441e
Merge pull request #1051 from TASVideos/master
Sync Master to GBHawk
2017-11-09 08:50:48 -05:00
alyosha-tas 7cdffc25c3
Update Z80A.cs
Properly reset instruction vector index
2017-11-03 08:39:02 -04:00
adelikat ebcd237858 Merge branch 'master' into domainedmemoryhooks 2017-10-29 12:38:29 -05:00
alyosha-tas f94d3f58c6 Z80: Fix CDL
Use FetchMemory for opcodes and ReadMemory for everything else
Also fix Dis-assembling
2017-10-25 19:21:30 -04:00
alyosha-tas 28cce355bf Z80: Fix R register operation 2017-10-19 12:08:34 -04:00
alyosha-tas be6aa52bc8 Z80: Remove JAM
The relevent opcodes behave as NOPs
2017-10-19 10:55:17 -04:00
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