1
0
mirror of https://github.com/mre/mos6502.git synced 2024-12-22 12:29:31 +00:00
Commit Graph

68 Commits

Author SHA1 Message Date
Andrew Keeton
2f25c490da Fix build. 2014-10-16 22:12:43 -04:00
Andrew Keeton
96f5f15d82 Fix build. 2014-10-16 22:11:17 -04:00
Andrew Keeton
8759b15d9e branch_fi_minus_test() passes. 2014-10-16 22:11:17 -04:00
Andrew Keeton
d70915ad0f Compile tests. 2014-10-16 22:11:16 -04:00
Andrew Keeton
71d15f9d08 Add BMI implementation. Untested 2014-10-16 22:11:16 -04:00
Andrew Keeton
6941a29352 Fix build. 2014-10-16 22:06:30 -04:00
Andrew Keeton
bc1687c247 Make Address take i32 so relative addresses work. 2014-10-16 21:24:18 -04:00
Alex Weisberger
34cd5edd44 compiler fixes, static -> const 2014-10-16 18:50:45 -04:00
Johannes Muenzel
a8b8fa12d4 Merge pull request #10 from amw-zero/bitflag_warnings
Remove numerous warnings from bitflags! expanding to non-uppercase static constants.
2014-10-08 22:22:07 -04:00
Alex Weisberger
6321266179 Remove numerous warnings from bitflags! expanding to non-uppercase static constants. 2014-10-08 00:07:43 -04:00
Alex Weisberger
db3ae89745 add org files 2014-10-07 23:51:30 -04:00
Johannes Muenzel
70db1564a4 Change g_opcodes to OPCODES (style warning) 2014-10-07 00:07:09 -04:00
amw-zero
48b0c90c43 Merge pull request #9 from typelist/big-old-table
Orthogonal AddressingMode handling; implement all addressing modes for ADC, LDA, LDX, LDY
2014-10-06 17:48:23 -04:00
Johannes Muenzel
7556071edb Use log! macro instead of println! so we have the option of running without noise 2014-10-04 17:47:32 -04:00
Johannes Muenzel
dae32caada Some cleanup. Enable experimental 'if let' Rust language feature 2014-10-04 16:47:42 -04:00
Johannes Muenzel
7adc2bbcb4 Use a table to look up the meaning of opcodes. Use common code for addressing modes. 2014-10-04 16:33:42 -04:00
amw-zero
b0ff12ac33 Merge pull request #7 from amw-zero/controller2
Controller2
2014-10-02 17:38:06 -04:00
Alex Weisberger
59132d0d8d Formatting 2014-10-01 18:43:57 -04:00
Alex Weisberger
9940517c3b program 2 adc instructions 2014-10-01 18:42:52 -04:00
Alex Weisberger
3563f6362c get immediate operand when opcode is ADC Immediate 2014-10-01 18:40:58 -04:00
Alex Weisberger
3e2fecec8f properly inc PC 2014-10-01 18:38:07 -04:00
Alex Weisberger
f590b2d90c program loading 2014-10-01 18:19:28 -04:00
Alex Weisberger
f2a47f4b00 Show impl for machine 2014-10-01 18:07:57 -04:00
Alex Weisberger
be65550525 fetch, decode, execute loop 2014-10-01 18:02:45 -04:00
amw-zero
54fd9aa72f Merge pull request #6 from amw-zero/test-pr-branch
Update work for me in notes
2014-10-01 17:41:46 -04:00
Alex Weisberger
aefdfe3f0f Update work for me in notes 2014-10-01 17:40:20 -04:00
amw-zero
b1f219c03b Merge pull request #5 from typelist/foo2
Amend folder structure and Cargo.toml; add bitflags! implementation of registers::Status
2014-10-01 17:32:43 -04:00
Johannes Muenzel
12f9b21bd0 Move files around to match the usual structure more 2014-10-01 00:17:33 -04:00
amw-zero
d201bb4b61 Merge pull request #4 from akeeton/merge-jm
Merge Johannes' changes into mine
2014-09-30 15:54:36 -04:00
Andrew Keeton
2675725a3d Remove Cargo.toml. 2014-09-28 21:15:25 -04:00
Andrew Keeton
97fa21380f Remove src directory. 2014-09-28 21:13:02 -04:00
Andrew Keeton
87262b0dca Integrate Instruction. 2014-09-28 21:12:06 -04:00
Andrew Keeton
53fce602b3 Integrate AddressingMode. 2014-09-28 21:07:13 -04:00
Andrew Keeton
203bfa6244 Integrate IRQ. 2014-09-28 21:06:12 -04:00
Andrew Keeton
f7cf02fb9e Integrate AddressDiff. 2014-09-28 20:59:09 -04:00
Andrew Keeton
957a3272b7 Add unit test for add_with_carry(). Fix carrying logic. 2014-09-28 20:29:01 -04:00
Andrew Keeton
ef43a7335c Remove redundant entry in .gitignore. 2014-09-28 18:11:34 -04:00
Andrew Keeton
dd059506ff git rm Cargo.lock 2014-09-28 18:10:50 -04:00
Andrew Keeton
34f8a757e3 Add Cargo.lock to .gitignore. 2014-09-28 18:05:52 -04:00
Andrew Keeton
468d659772 Add Cargo.lock to .gitignore. Remove the .gitignore created by Cargo. 2014-09-28 18:04:44 -04:00
Andrew Keeton
446e93eabd Add Cargo.lock to .gitignore. 2014-09-28 18:02:33 -04:00
Andrew Keeton
0a1d6c47d0 Rename the Status register sign to negative. 2014-09-28 18:01:47 -04:00
Andrew Keeton
b546c62946 Add a BitFlag enum for the Status registers, replacing u8s. 2014-09-28 17:58:02 -04:00
Andrew Keeton
0b492a9702 Add new() methods and get main() running. 2014-09-27 23:58:12 -04:00
Andrew Keeton
2e2ba84d61 Fix modules. 2014-09-27 22:09:31 -04:00
Andrew Keeton
1f896fb4e9 Try to split into modules. 2014-09-27 21:32:41 -04:00
Andrew Keeton
36df6520e3 Merge branch 'master' into from-scratch 2014-09-27 19:40:12 -04:00
amw-zero
f3394ec702 Merge pull request #3 from typelist/master
stuff that doesn't do anything
2014-09-26 11:09:44 -04:00
Johannes Muenzel
3dc2647270 a bit more commenting for the Instruction enum, and Addr vs AddrDiff distinction 2014-09-26 09:25:06 -04:00
Johannes Muenzel
0b5bfa8d8b move notes into notes folder 2014-09-26 08:07:26 -04:00