-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alexander Akhmetov
committed
May 11, 2019
1 parent
8affede
commit b26004f
Showing
29 changed files
with
5,308 additions
and
175 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,30 @@ | ||
[package] | ||
name = "mos6502" | ||
name = "mos6502-cpu-emulator" | ||
version = "0.1.0" | ||
authors = ["Alexander Akhmetov <[email protected]>"] | ||
edition = "2018" | ||
|
||
[lib] | ||
name = "mos6502" | ||
path = "src/lib.rs" | ||
authors = ["Alexander Akhmetov <[email protected]>"] | ||
edition = "2018" | ||
|
||
[[bin]] | ||
name = "apple1" | ||
path = "src/apple1.rs" | ||
required-features = ["build-binary"] | ||
|
||
[[bin]] | ||
name = "mos6502-cli" | ||
path = "src/cli.rs" | ||
required-features = ["build-binary"] | ||
|
||
[dependencies] | ||
log = "0.4" | ||
env_logger = {version = "0.6.1", optional = true } | ||
clap = {version = "2.33.0", optional = true } | ||
ncurses = {version = "5.99.0", optional = true} | ||
|
||
[features] | ||
build-binary = ["clap", "env_logger", "ncurses"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
replica1: | ||
RUST_LOG=warn cargo run --features build-binary --bin apple1 -- -p roms/replica1.bin -l e000 | ||
|
||
apple30: | ||
RUST_LOG=warn cargo run --features build-binary --bin apple1 -- -p roms/apple30.bin -l 280 | ||
|
||
minichess: | ||
RUST_LOG=error cargo run --features build-binary --bin apple1 -- -p roms/ASMmchess.bin -l 300 | ||
|
||
functional-tests: | ||
RUST_LOG=info cargo run --features build-binary --bin mos6502-cli roms/6502_functional_test.bin 400 |
Oops, something went wrong.