Commit Graph

51 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 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
Ed McCardell 356337f8e0 Compile with dmd 2.059 2012-04-16 07:47:32 -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 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 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 216ba9b6f3 Implement stable undocumented opcodes 2012-04-11 22:18:28 -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 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 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 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 04662745b0 cumulative mode bugs 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
edmccard 4b27ddbe75 Changed from version to static if for strict/cumulative 2012-03-23 12:09:33 -04:00
Ed McCardell ea1e8f192e fixes ADC bug introduced in last commit 2012-03-21 10:17:40 -04:00
edmccard e932b9b7ac ADC/SBC speedup (NMOS) and correct behavior for invalid BCD (CMOS) 2012-03-19 19:26:28 -04:00
edmccard ef7f3adf00 __gshared hack to allow inputevent access from sound thread, fixes #1 2012-03-15 18:44:00 -04:00
Ed McCardell da5742c1cc Whitespace cleanup 2012-03-15 02:45:30 -04:00
Ed McCardell fdfb1b1415 Project name change 2012-03-15 02:25:33 -04:00
edmccard c2cef08d50 Stop using gcc for linking 2012-03-15 02:25:33 -04:00
Ed McCardell 0063a9e8e0 64-bit cleanup 2012-03-15 02:25:02 -04:00
edmccard 3c7cca9c55 Turn off sound until segfault fixed 2012-03-14 08:27:21 -04:00
edmccard 8a241ddf50 Compile with latest dmd/gtkd/Derelict2 2012-03-14 08:24:35 -04:00