Commit Graph

21 Commits

Author SHA1 Message Date
Matthias 363dc47755 Format code 2022-06-07 19:30:29 +02:00
omarandlorraine ef9a49ac8b
set carry flag if carry_in && value == "$ff" (#44) 2022-06-07 11:03:51 +02:00
Matthias Endler 24973d7fbd Upgrade to Rust 2018 edition 2021-04-07 13:55:41 +02:00
Sam M W 34bbe55712 Add tests for stack over- and underflow 2021-01-30 15:10:41 +00:00
Sam M W ad40c72dfe separate unit test for decimal sbc 2021-01-28 10:13:44 +00:00
Sam M W 2d87640692 remove worthless comment 2021-01-28 08:58:04 +00:00
Sam M W 51775fbe95 Decimal mode for SBC 2021-01-27 22:44:20 +00:00
Sam M W 3844a730f0 whitespace 2021-01-27 20:31:36 +00:00
Sam M W 153f8e4bd7 Some unit testing for decimal mode 2021-01-26 20:58:09 +00:00
Sam M W 85dd92615d First stab at implementing decimal mode for ADC 2021-01-25 22:57:28 +00:00
Andrey Kutejko cb2658f3e3 update bitflags 2019-10-06 18:56:51 +02:00
Matthias Endler 8360aa4518 Merge branch 'master' of github.com:mre/mos6502 into no-std-base 2018-11-04 20:32:30 +01:00
Matthias Endler 5ee12bdbc0 Add no_std support 2018-11-04 20:26:51 +01:00
Stefano Probst 8239b298cb Simplify some expressions by using the assign op pattern.
See also https://rust-lang-nursery.github.io/rust-clippy/v0.0.212/index.html#assign_op_pattern
2018-10-30 12:40:41 +01:00
Stefano Probst 7df3f75934 More stable future for this project. Change some casts from `as` to a `TYPE::from(x)` style so that the compile can warn us in the future for some things.
See also https://rust-lang-nursery.github.io/rust-clippy/v0.0.212/index.html#cast_lossless
2018-10-30 12:32:36 +01:00
Matthias Endler bba4ded34d
Merge branch 'master' into master 2018-10-27 14:53:13 +02:00
Noppadet Vivatchotikul 7e8171487e fix syntax error 2018-10-26 09:50:43 +07:00
kzzt ddfb3a3b29 ran clippy and renamed main.rs to mos6502.rs 2018-10-25 13:29:38 -05:00
Noppadet Vivatchotikul c440637adb fix variable 2018-10-25 22:35:00 +07:00
Noppadet Vivatchotikul a9697e6b79 remove warning 2018-10-25 22:07:16 +07:00
Matthias Endler 2737471819 Rename machine to cpu and the crate to mos6502 2017-11-13 23:37:32 +01:00