Commit Graph

360 Commits

Author SHA1 Message Date
Matthias Endler 6a9ce4e12e Rename machine to cpu and the crate to mos6502 2017-11-13 23:34:31 +01:00
Matthias Endler aa30ea6300 Merge branch 'master' of github.com:mre/6502 2017-10-08 17:32:13 +02:00
Matthias Endler 7eafe55dfa Update README 2017-10-08 17:31:20 +02:00
Matthias Endler 5b57497ea4 Fix build for latest rustc 2017-10-08 17:27:53 +02:00
Matthias Endler 35b6ea6179 Switch back memory from vector to raw byte slice 2017-10-08 17:26:45 +02:00
Matthias Endler 0a3f628168 Fix compilation with latest rustc 2017-08-08 23:24:41 +02:00
Andrew Keeton 82e2cac30c Fix build. 2015-02-12 17:13:13 -05:00
Andrew Keeton 404f8ba1e8 Fix build. 2015-01-29 16:28:53 -05:00
Andrew Keeton 6520983de4 Add range_incl.rs and use range_incl() in the tests. 2015-01-17 19:47:58 -05:00
Andrew Keeton 7210ee7d71 Fix range literal overflow. 2015-01-17 18:51:26 -05:00
Andrew Keeton fd68b8dc58 Fix range literal overflow. 2015-01-17 18:50:18 -05:00
Andrew Keeton 93b6356cbf Fix tests. 2015-01-17 18:41:28 -05:00
Andrew Keeton 5e4dc965bf Fix breaking changes. 2015-01-17 17:53:21 -05:00
Johannes Muenzel bd30f8c6cc Merge pull request #35 from typelist/master
Reintroduce CheckedAddressDiff now that multidispatch works
2014-12-18 19:18:42 -05:00
Johannes Muenzel e4b3e64739 Reintroduce CheckedAddressDiff now that multidispatch works 2014-12-18 19:17:37 -05:00
Johannes Muenzel 94c67395a9 Merge pull request #34 from typelist/master
Fix the build
2014-12-18 18:06:40 -05:00
Johannes Muenzel 3355699a94 Fix the build 2014-12-18 17:57:42 -05:00
Andrew Keeton a6c59c3ff1 Merge pull request #33 from amw-zero/ark-ora
Implement ORA
2014-11-20 18:52:13 -05:00
Andrew Keeton 4e75f50afd Add inclusive_or(). 2014-11-20 18:48:42 -05:00
Andrew Keeton 8698dc17f9 Add ORA to execute_instruction(). 2014-11-20 18:47:32 -05:00
Andrew Keeton 9c95ade3a3 Fix inclusive_or_test(). 2014-11-20 18:45:52 -05:00
Andrew Keeton d0c376ba90 Add inclusive_or_test(). 2014-11-20 18:42:57 -05:00
Johannes Muenzel aa7db5e623 Merge pull request #32 from typelist/master
Fix the build for namespaced enums
2014-11-20 18:36:24 -05:00
Johannes Muenzel c01995ba55 fix the build for namespaced enums 2014-11-20 18:33:23 -05:00
Andrew Keeton 90b353e991 Merge pull request #31 from amw-zero/ark-eor
Implement EOR
2014-11-16 21:21:57 -05:00
Andrew Keeton b7cc5cd234 Add exclusive_or(). 2014-11-16 21:20:42 -05:00
Andrew Keeton e4acd0575d Add EOR to execute_instruction(). 2014-11-16 21:14:23 -05:00
Andrew Keeton fab7ff5cf0 Add exclusive_or_test(). 2014-11-16 21:11:22 -05:00
Andrew Keeton 0563911fe3 Merge pull request #30 from amw-zero/ark-cmp-cpx-cpy
Implement CMP, CPX, and CPY instructions
2014-11-13 21:19:31 -05:00
Andrew Keeton 0eee2e659b Add CPX and CPY. 2014-11-13 21:17:59 -05:00
Andrew Keeton 99345e2b1f Make compare() take a variable register. 2014-11-13 20:58:56 -05:00
Andrew Keeton a05a5dfde7 Add CMP to execute_instruction(). 2014-11-13 20:15:40 -05:00
Andrew Keeton 8b962fd542 Add compare(). Add more cases to compare_test(). 2014-11-13 20:08:56 -05:00
Andrew Keeton 233c36ce7e Add compare_test(). 2014-11-13 19:52:10 -05:00
Andrew Keeton 196968687f Merge pull request #29 from amw-zero/ark-bvs
Implement BVS instruction
2014-11-13 18:56:26 -05:00
Andrew Keeton 448fc3f061 Add BVC to execute_instruction(). 2014-11-13 18:52:14 -05:00
Andrew Keeton 7e0a086a1d Add branch_if_overflow_set(). 2014-11-13 18:50:55 -05:00
Andrew Keeton c00e170285 Add branch_if_overflow_set_test(). 2014-11-13 18:49:43 -05:00
Andrew Keeton 5e0d4c68cc Merge pull request #28 from amw-zero/ark-bvc
Implement BVC instruction
2014-11-13 18:45:05 -05:00
Andrew Keeton b050ac7d04 Add BVC to execute_instruction(). 2014-11-13 18:43:48 -05:00
Andrew Keeton 8b3c9f8ad2 Add branch_if_overflow_clear(). 2014-11-13 18:42:07 -05:00
Andrew Keeton 4ffae406d6 Add branch_if_overflow_clear_test(). 2014-11-13 18:27:58 -05:00
Andrew Keeton b57a946f6a Merge pull request #27 from amw-zero/ark-bpl
Implement BPL instruction
2014-11-06 20:05:40 -05:00
Andrew Keeton 83d303f878 Add BPL to execute_instruction(). 2014-11-06 20:04:03 -05:00
Andrew Keeton f3160e1bcc Add branch_if_positive(). 2014-11-06 20:02:40 -05:00
Andrew Keeton eb27595cd5 Add branch_if_positive_test(). 2014-11-06 20:00:09 -05:00
Andrew Keeton a80c98b000 Merge pull request #26 from amw-zero/ark-beq
Implement BEQ instruction
2014-11-06 19:51:54 -05:00
Andrew Keeton a0ad2d47be Add BEQ to execute_instruction(). 2014-11-06 19:50:35 -05:00
Andrew Keeton 8febc74788 Add branch_if_equal(). 2014-11-06 19:49:54 -05:00
Andrew Keeton c9ed9e1720 Add branch_if_equal_test(). 2014-11-06 19:48:48 -05:00