Skip to content

hcsch/crsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crsp (WIP)

crates.io License

A CHIP-8 emulator written in Rust.

WIP

The emulator already supports running a CHIP-8 ROM specified as a CLI argument, but some aspects of the emulator still need to be made configurable.

So far there is also no option for configuring the emulator graphically (e.g. loading a ROM through a file chooser dialog, displaying errors with recovery options, etc.).

Running

cargo run --release -- <rom-file>

For a more detailed description see the output of

cargo run -- --help

Logs / Traces

The emulator uses the tracing and tracing-subscriber crates for logging/tracing.

To have the emulator print events to stdout at various levels of verbosity, run it with the environment variable RUST_LOG set to one of error, warn, info, debug and trace, or use a more complex filter as described here. Errors and warnings will be printed to stdout by default.

Example:

RUST_LOG="crsp=debug,crsp-base=debug" cargo run --release -- <rom-file>

This will print all events with level debug or higher from the crsp and crsp-base crates.

Naming

(CHIP(-8) → crisp) + Rust (rs) = crsp

License

This project is licensed under the MIT license.

References

About

A CHIP-8 emulator written in Rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages