omarandlorraine
113f95afba
Merge pull request #57 from mre/overflow_panic
...
Add or subtract: some values result in panics
2022-10-23 09:46:48 +01:00
Sam M W
c2e77b5f52
also test subtractions
2022-10-23 07:05:08 +01:00
Sam M W
2bcbfa63b5
fix panic
2022-10-23 07:05:04 +01:00
Sam M W
bf543e2fbe
add failing test
2022-10-23 07:04:52 +01:00
Sam M W
11e48c1691
add missing CLI instruction
2022-10-22 12:26:03 +01:00
omarandlorraine
a28ae7e584
Merge pull request #56 from mre/incdec
...
Sort out increments and decrements
2022-10-21 09:15:05 +01:00
omarandlorraine
32f925feb2
Merge branch 'master' into incdec
2022-10-21 09:10:18 +01:00
omarandlorraine
8850934023
Merge pull request #53 from mre/addrfix
...
Proper wrap-around for address calculations
2022-10-21 09:09:21 +01:00
Sam M W
f821dce70f
do increments in the same way
2022-10-21 06:45:40 +01:00
Sam M W
e4aebb9dfe
cargo fmt
2022-10-21 06:42:27 +01:00
Sam M W
4e057a2a94
remove unused function decrement_memory
2022-10-21 06:40:56 +01:00
Sam M W
1d0fd6aad0
remove unused function dec_x
2022-10-21 06:37:41 +01:00
Sam M W
7500e8816e
cargo clippy --fix
2022-10-21 06:34:42 +01:00
Sam M W
95731752ba
using the associated function decrement
2022-10-21 06:33:51 +01:00
Sam M W
665ee4193d
x and y are now unsigned and there's less casting all over
2022-10-20 09:42:17 +01:00
Sam M W
41b9b19be2
decrement_y_test passes
2022-10-20 09:32:51 +01:00
Sam M W
c406965560
decrement_x_test passes
2022-10-20 09:23:58 +01:00
Sam M W
1972a42adc
some failing tests
2022-10-20 09:04:44 +01:00
Sam M W
894e4304ea
test branch_across_end_of_address_space
2022-10-18 14:55:22 +01:00
Sam M W
d8a9558095
formatting
2022-10-18 13:37:06 +01:00
Sam M W
5290a9d61e
zeropage wraparound test
2022-10-18 13:35:17 +01:00
Sam M W
89d6e66e11
whitespace
2022-10-18 10:39:29 +01:00
Sam M W
4cc24efce4
forgot to change README
2022-10-18 10:13:19 +01:00
Sam M W
cd83ae7b9c
delete now useless sourcefile src/address.rs
2022-10-18 10:10:45 +01:00
Sam M W
8c6591f6a4
remove last of Address and AddressDiff
2022-10-18 10:10:38 +01:00
Sam M W
3de8f9158d
move tests and README away from Address
2022-10-18 10:01:55 +01:00
Sam M W
a3c4a7689f
the program counter should wrap as well
2022-10-18 09:42:51 +01:00
Sam M W
7328eb416a
misc clippy fixes.
2022-10-18 09:38:05 +01:00
Sam M W
4b26e83529
remove Address and AddressDiff from equation
2022-10-18 06:57:59 +01:00
omarandlorraine
f3d3bf470f
add option to statically disable decimal mode ( #47 )
...
* add the decimal mode feature to `Cargo.toml`
* add tests for disabled decimal mode to github workflows
* don't run decimal mode tests if decimal mode disabled
Co-authored-by: Sam M W <you@example.com>
2022-08-11 15:42:34 +02:00
Sam M W
18e55aaeca
remove call to .trim(), as clippy suggests
2022-08-09 04:14:46 +01:00
Matthias
8e876989e4
Add image
2022-06-07 20:31:53 +02:00
Matthias
cdb2f0949a
Merge branch 'master' of github.com:mre/mos6502
2022-06-07 20:17:48 +02:00
Matthias
7398fc4c3f
Simplify GCD program
2022-06-07 20:17:44 +02:00
Matthias
b6c888f951
Update and rename continuous_testing.yaml to ci.yaml
2022-06-07 20:01:11 +02:00
Matthias
8c088611bb
Update dependencies
2022-06-07 19:57:54 +02:00
Matthias
885afe0c10
Rust 2021 edition
2022-06-07 19:53:16 +02:00
Matthias
d1b1c93fd4
Fix clippy warnings
2022-06-07 19:52:00 +02:00
Matthias
363dc47755
Format code
2022-06-07 19:30:29 +02:00
Matthias
e829122a5a
Delete .travis.yml
2022-06-07 19:27:57 +02:00
omarandlorraine
ef9a49ac8b
set carry flag if carry_in && value == "$ff" ( #44 )
2022-06-07 11:03:51 +02:00
Matthias
e2fd2469e3
Merge pull request #42 from mre/dependabot/cargo/log-0.4.17
...
Bump log from 0.4.16 to 0.4.17
2022-05-03 10:02:19 +02:00
dependabot[bot]
57c5e97cd4
Bump log from 0.4.16 to 0.4.17
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.16 to 0.4.17.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/commits/0.4.17 )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-03 04:11:28 +00:00
Matthias
6b39e04089
Merge pull request #41 from mre/dependabot/cargo/log-0.4.16
...
Bump log from 0.4.14 to 0.4.16
2022-03-23 10:17:33 +01:00
dependabot[bot]
46aae27bd1
Bump log from 0.4.14 to 0.4.16
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.14 to 0.4.16.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/commits )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-23 04:11:47 +00:00
Matthias
eea8dcd5da
Merge pull request #40 from mre/dependabot/cargo/skeptic-0.13.7
...
Bump skeptic from 0.13.6 to 0.13.7
2022-02-02 10:17:59 +01:00
dependabot[bot]
0483f453af
Bump skeptic from 0.13.6 to 0.13.7
...
Bumps [skeptic](https://github.com/budziq/rust-skeptic ) from 0.13.6 to 0.13.7.
- [Release notes](https://github.com/budziq/rust-skeptic/releases )
- [Changelog](https://github.com/budziq/rust-skeptic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/budziq/rust-skeptic/commits )
---
updated-dependencies:
- dependency-name: skeptic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-02 04:11:02 +00:00
Matthias
8ae11309b8
Merge pull request #39 from mre/dependabot/cargo/bitflags-1.3.2
...
Bump bitflags from 1.2.1 to 1.3.2
2021-12-16 00:35:11 +01:00
dependabot[bot]
25cecf4cd2
Bump bitflags from 1.2.1 to 1.3.2
...
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 1.2.1 to 1.3.2.
- [Release notes](https://github.com/bitflags/bitflags/releases )
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitflags/bitflags/compare/1.2.1...1.3.2 )
---
updated-dependencies:
- dependency-name: bitflags
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 04:20:42 +00:00
Matthias
6fdd561b02
Remove unnecessary fixme comment ( #37 )
2021-05-16 17:21:56 +02:00