1
0
mirror of https://github.com/mre/mos6502.git synced 2024-11-30 20:51:21 +00:00
Commit Graph

260 Commits

Author SHA1 Message Date
Alex Weisberger
702129ddeb beef up test 2014-10-07 23:56:27 -04:00
Alex Weisberger
52280a9646 DEX instruction and test 2014-10-07 23:52:38 -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
Andrew Keeton
6436fef0a0 Add add_with_carry(). 2014-09-26 05:49:13 -04:00
Andrew Keeton
8deafa2644 Merge branch 'from-scratch' of https://github.com/akeeton/6502-rs into from-scratch 2014-09-26 03:56:59 -04:00
Andrew Keeton
b04190ce29 Add some stuff. 2014-09-26 03:52:13 -04:00
Johannes Muenzel
e4c998ddfd Add just a bit of extra annotation to the Instruction chart 2014-09-26 03:37:13 -04:00
Johannes Muenzel
0b2c805a96 Shuffle things around a little. For now a library called machine6502 will be the main code base. 6502-rs is inconvenient to use in a rust context since it starts with a number. The test_exe is no longer the main cargo build target 2014-09-26 02:59:47 -04:00
Andrew Keeton
e6623c443c Run 'cargo new 6502emu --bin' 2014-09-26 02:51:01 -04:00
Johannes Muenzel
b22b36bc2a Get some basic definitions and module structure going. Not sure whether Cargo.lock should be in .gitignore 2014-09-26 02:29:27 -04:00
Johannes Muenzel
9a81a48502 Add copyright, authorship, and license information 2014-09-26 02:26:26 -04:00