Skip to content

Commit

Permalink
Running the Woz Monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Akhmetov committed May 11, 2019
1 parent 8affede commit b26004f
Show file tree
Hide file tree
Showing 29 changed files with 5,308 additions and 175 deletions.
296 changes: 295 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 24 additions & 1 deletion Cargo.toml
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"]
11 changes: 11 additions & 0 deletions Makefile
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
Loading

0 comments on commit b26004f

Please sign in to comment.