Commit Graph

65 Commits

Author SHA1 Message Date
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 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 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 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
edmccard 8f16b62db6 facepalm 2012-04-06 18:23:09 -04:00
edmccard 616337fe8a Changed test benchmark options 2012-04-06 12:12:08 -04:00
Ed McCardell 57bf3323e0 fix test/base/formatMemory int->ulong for 64-bit 2012-04-06 10:42:18 -04:00
Ed McCardell d9bd8421a3 Merge branch 'master' of github.com:edmccard/twoapple-reboot 2012-04-05 05:41:50 -04:00
edmccard f79021fc14 Test refactoring; complete timing and nearly complete functional 2012-04-05 05:39:02 -04:00
edmccard afc38b6775 Timing fixes 2012-04-05 05:39:02 -04:00
edmccard 9642b19154 DCM flag fix 2012-04-05 05:38:46 -04:00
edmccard a4fd247e5c PC increment fixes 2012-04-05 05:38:46 -04:00
edmccard 1b9312ac97 Test framework reorginization 2012-03-31 21:46:26 -04:00
edmccard ae9c9fa6fe Fix links in README.md 2012-03-30 21:56:25 -03:00
edmccard 712b7547c6 quick-n-dirty benchmark 2012-03-30 16:43:31 -04:00
edmccard 8a3292e33d uncommented certain tests 2012-03-30 16:42:54 -04:00
edmccard fa60e14739 timing tests 2012-03-30 15:11:41 -04:00
edmccard 04662745b0 cumulative mode bugs 2012-03-30 15:11:41 -04:00
edmccard cd8500dbcd test_decimal to match framework 2012-03-30 15:11:41 -04:00
edmccard a2af6f0bd2 test framework update 2012-03-30 15:11:41 -04:00
edmccard a5334508e2 CMOS DEC/INC abx fix 2012-03-26 15:38:43 -04:00
edmccard 443b12f77e Strict mode fix for page-crossings 2012-03-26 14:48:23 -04:00
edmccard e72624ba9e strict mode RTI fix 2012-03-25 17:27:39 -04:00
edmccard ec10a4d549 HLT halts until interrupt 2012-03-25 04:01:08 -04:00
edmccard d55a53b186 NMOS opcode 0x0C addressing mode fix 2012-03-24 11:04:02 -04:00