Commit Graph

336 Commits

Author SHA1 Message Date
Brian Armstrong 2c6ecb68bd Merge branch 'master' into brian/mem_callback_addr_value 2019-06-06 02:11:04 -07:00
Brian Armstrong d41bd867b8 flags 2019-06-06 02:04:47 -07:00
alyosha-tas dd0d34593e Vectrex: More bug fixes 2019-06-01 12:25:30 -04:00
alyosha-tas c822cf401f vectrex: More 6522 work and CPU bug fixes 2019-05-26 17:19:39 -04:00
alyosha-tas cd1ab99f54 Vectrex: 6522 work 2019-05-26 09:16:53 -04:00
alyosha-tas 25d4d6a840 Vectrex: some cleanup 2019-04-21 19:11:45 -04:00
alyosha-tas 0d95943728 Vectrex: more disasm and bug fixes 2019-04-09 15:44:37 -05:00
alyosha-tas 9296092b84 Vectrex: Start running the cpu and fixing bugs 2019-04-08 18:57:21 -05:00
alyosha-tas b14332d352 mc6809: wire up interrupts 2019-04-07 15:57:24 -05:00
alyosha-tas 07c3dd4aad mc6809: more disasm 2019-04-07 11:39:38 -05:00
alyosha-tas 10d1c230f3 mc6809 start disassembler 2019-04-06 19:42:07 -05:00
alyosha-tas 87214c252d MC6809; finish instruction decoding 2019-04-06 15:16:53 -05:00
alyosha-tas 8995e2e977 MC6809: more decoding work 2019-04-06 10:06:23 -05:00
James Groom 8f5ecdf157
Remove trailing comma in vararg 2019-04-04 12:00:13 +10:00
James Groom b37ced84cb
Use string.Join 2019-04-04 11:57:36 +10:00
alyosha-tas 244b9d2231 More MC6809 2019-04-03 19:22:23 -05:00
YoshiRulz 9af93be0d3
Use string interpolation 2019-04-04 02:41:18 +10:00
YoshiRulz 7fb8051426
Use string.Concat/string.Join 2019-04-04 02:17:00 +10:00
alyosha-tas 7655e5194e Vectrex 6809 2019-04-02 19:25:48 -05:00
alyosha-tas ef0c7aee01 Vectrex: 6809 work 2019-04-01 19:00:54 -05:00
alyosha-tas ab1d47d756 Vectrex: Indexed Addressing 2019-03-31 16:33:02 -05:00
alyosha-tas 33af0b7fee Vectrex commit 2 2019-03-31 08:27:51 -05:00
alyosha-tas ba4ec02cb5 Vectrex Initial Commit 2019-03-30 16:09:04 -05:00
James Groom 4e91f88af3
Use nameof in cores 2019-03-28 14:18:58 +11:00
adelikat 165880b444
Merge pull request #1504 from TASVideos/semicolonFormat
[Untested] Use format strings with the semicolon section separator
2019-03-27 19:38:16 -05:00
alyosha-tas 6d0973ca7e
Merge pull request #1429 from YoshiRulz/master
Inconsequential changes (no whitespace)

looks good to me
2019-03-09 17:32:10 -06:00
YoshiRulz 0b5a61dcd3
Rewrite "d" replacement again but more like the previous algorithm 2019-03-05 19:37:59 +10:00
YoshiRulz 2f3ac59c7a
Inline local vars, use interpolated strings, and use {0:P;M} format string 2019-03-03 17:55:25 +10:00
Brian Armstrong a8f293eec8 Call mem callbacks with addr, value 2019-01-24 03:23:21 -08:00
feos 9955c55a0a
address #1458 2019-01-23 16:07:34 +03:00
alyosha-tas 8e99908c47 SubNESHawk: Add ppu cycle to tracer 2019-01-19 09:23:22 -06:00
YoshiRulz c0a28a320b
Inconsequential changes (no whitespace)
Remove useless semicolon, remove useless `? true : false`, move period to next
line
2019-01-07 22:02:02 +10:00
Asnivor 32cce86f51 z80: optimization using fixed-size arrays 2018-12-21 13:46:47 +00:00
Asnivor 50045f3b4b Z80: tidy up old commented code 2018-12-21 10:29:10 +00:00
Asnivor b4219b8242 Z80: convert .Length lookups to integer 2018-12-21 09:57:49 +00:00
Asnivor 6a60657199 Z80: optimization testing 2018-12-20 10:40:54 +00:00
alyosha-tas 69fe1bdf97 NESHawk: VRAM write timing glitch 2018-12-16 13:10:04 -06:00
alyosha-tas 0fad2495d1 GBHawk: GBC ppu work, change to halt timing 2018-12-16 13:02:14 -06:00
zeromus 026527380d gbhawk CDL - fiddle with it a bit, ignore writes to rom 2018-11-15 05:00:53 -05:00
zeromus a8db56d8b2 rough draft gbhawk CDL 2018-11-14 21:04:31 -05:00
alyosha-tas f0271b1f72 GBHawk: Pass many more tests 2018-11-10 12:47:46 -06:00
alyosha-tas 19a25e55fb
z80: IORQ signal interrupt acknowledge 2018-09-30 12:21:47 -05:00
alyosha-tas 7ba4e8a437
z80: minor cleanups and bug fixes 2018-09-30 10:02:50 -05:00
alyosha-tas 4cdcb80721
z80: rewrite interrupt handling
step one in proper line polling for CPC
2018-09-29 22:08:19 -05:00
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