Commit Graph

86 Commits

Author SHA1 Message Date
edmccard 2c404c68a2 Garbage collect deactivated timers when they are added faster than they can be triggered. 2012-04-30 22:30:23 -04:00
edmccard 22b32fc348 Fix system to use new opindex memory access 2012-04-28 20:07:00 -04:00
edmccard aa55b972e0 opindex interface to memory 2012-04-27 16:07:58 -04:00
edmccard 9691526fc1 Fix crash when reading paddle timers 2012-04-25 20:02:43 -04:00
edmccard c663b46003 Interrupt handling 2012-04-25 16:50:03 -04:00
edmccard 6ac568742e Run both cpu types in cpu benchmark 2012-04-24 16:21:32 -04:00
edmccard 9f8f73f530 New build.d 2012-04-24 10:11:16 -04:00
edmccard bf117ac730 New timer code 2012-04-20 01:32:57 -04:00
edmccard 22f4327c0d Refactor cpu benchmark 2012-04-17 07:01:58 -04:00
Ed McCardell 356337f8e0 Compile with dmd 2.059 2012-04-16 07:47:32 -04:00
Ed McCardell 696eab3127 Local merge 2012-04-16 05:04:46 -04:00
edmccard 1fcfb30042 Update README.md 2012-04-16 02:42:12 -03:00
edmccard 472d713473 Create cpu test subdirectory 2012-04-14 21:31:34 -04:00
edmccard 674f525f37 Workaround for gdc std.conv problem 2012-04-14 11:24:38 -04:00
edmccard 951dc30098 Remove unneeded files 2012-04-14 11:24:00 -04:00
edmccard bcc294b888 Merge branch 'newcpu' 2012-04-14 07:49:11 -04:00
edmccard d100f706fc Integrate new cpu 2012-04-14 07:28:11 -04:00
edmccard 23b0a96c1c Add cpu reset. 2012-04-14 06:33:56 -04:00
edmccard 581fe45c89 Begin documentation of test framework. 2012-04-14 06:30:05 -04:00
edmccard a4af7191be Make testing use same memory/clock interface as normal operation. 2012-04-14 03:07:02 -04:00
edmccard cf369d4d2b WIP 2012-04-14 02:43:03 -04:00
edmccard a572ea9146 Cpu speedup; removed OpFunctions option 2012-04-13 21:35:40 -04:00
edmccard d12f793d9a Strict and cumulative modes are now set by version, instead of template parameters. 2012-04-13 07:03:22 -04:00
edmccard 54a31232a8 Compile all files at once.
Conflicts:

	src/Makefile
2012-04-13 04:32:54 -04:00
edmccard 76cfb27a7b Compile all files at once. 2012-04-13 04:29:05 -04:00
edmccard ed8dc37bb4 Improve test runner. 2012-04-12 21:03:25 -04:00
edmccard 71f7a46e21 Fix bug with ROR acting as LSR 2012-04-12 03:18:33 -04:00
edmccard 41a12c284a Implement the rest of the undocumented opcodes. 2012-04-12 03:15:21 -04:00
edmccard b99e681952 Standardize opcode names between test and cpu 2012-04-11 23:32:16 -04:00
edmccard 68dde7ef87 Make undoc RMW opcodes pass new tests. 2012-04-11 23:31:02 -04:00
edmccard 5864e07e74 Fix undoc RMW tests 2012-04-11 23:29:23 -04:00
edmccard 216ba9b6f3 Implement stable undocumented opcodes 2012-04-11 22:18:28 -04:00
edmccard 8085dc61a0 Fix undoc RMW tests; better status printing in tests 2012-04-11 22:04:18 -04:00
edmccard 3c9c14364f CTFE tweaks 2012-04-11 09:28:21 -04:00
edmccard c81ff27bae Add RTI and extra 65C02 opcodes. 2012-04-11 04:52:15 -04:00
edmccard f3ebb822a6 Split ctfe code from cpu code 2012-04-10 20:22:02 -04:00
edmccard 7e5c7131ef Remove cpu dependency from peripherals 2012-04-10 17:58:26 -04:00
edmccard 0e330f8285 Add all documented 6502 opcodes. 2012-04-10 05:56:26 -04:00
edmccard 960d3f08a0 Test script cleanup (programs are not modules) 2012-04-09 23:39:41 -04:00
edmccard c5fb366184 Add opcodes to new cpu (enough to run benchmark) 2012-04-09 09:52:42 -04:00
edmccard d343db0842 Add tests for new cpu 2012-04-08 21:28:44 -04:00
edmccard 04f05fbc9a Add opcodes to new cpu (BRK) 2012-04-08 21:06:48 -04:00
edmccard d3a95c455d Make test framework work with new cpu 2012-04-08 21:06:48 -04:00
edmccard e5f3f190a8 new cpu skeleton 2012-04-08 21:06:48 -04:00
edmccard 700722c5de Playing with cpu/world interface 2012-04-08 21:06:48 -04:00
edmccard 9a758781b5 New cpu 2012-04-08 21:06:48 -04:00
edmccard b7d2356f78 raw opcodes 2012-04-08 21:06:48 -04:00
edmccard ceb7f5b678 Decouple test sstup code from test running code 2012-04-08 21:06:38 -04:00
edmccard b0ae43067c Undo overeager removal of readFinal/writeFinal
(without the checks for final cycle, they are still needed to know
when to call tick in cumulative mode)
2012-04-08 20:17:42 -04:00
Ed McCardell 59951ede01 Remove unneeded final cycle checks 2012-04-08 17:01:38 -04:00