1
0
mirror of https://github.com/mre/mos6502.git synced 2024-11-28 22:51:26 +00:00
Commit Graph

25 Commits

Author SHA1 Message Date
Alex Weisberger
4fa49d4899 pull in the remote version of decrement-x branch? So I can push to it? I have no idea what I'm doing 2014-10-16 20:09:37 -04:00
Alex Weisberger
dd1d52ae24 Rebase onto master to pick up compiler errors and use load_x_register to simplify impl of dec_x. Because load_x_register sets the zero and negative status flags already 2014-10-16 20:05:41 -04:00
Alex Weisberger
8fd38026aa beef up test 2014-10-16 19:54:31 -04:00
Alex Weisberger
d132f040f2 DEX instruction and test 2014-10-16 19:54:31 -04:00
Alex Weisberger
34cd5edd44 compiler fixes, static -> const 2014-10-16 18:50:45 -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
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
Johannes Muenzel
70db1564a4 Change g_opcodes to OPCODES (style warning) 2014-10-07 00:07:09 -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
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
Johannes Muenzel
12f9b21bd0 Move files around to match the usual structure more 2014-10-01 00:17:33 -04:00
Andrew Keeton
97fa21380f Remove src directory. 2014-09-28 21:13:02 -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
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
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