Template for projects using the mos-hardware crate.
The project requires rust-mos and is setup to build for C64 by default. A docker image of rust-mos is available for x86 and arm: (mrkits/rust-mos) or for arm64. See also llvm-mos wiki.
The easiest way is to use the provided .devcontainer.json
configuration for vscode.
- Configure Visual Studio Code with the Remote - Containers extension. From the command-line:
code --install-extension ms-vscode-remote.remote-containers
- Install and start Docker
- Open the project (e.g. with
code .
) and when asked, re-open in Dev container - In the vscode terminal type:
resulting in the binary
cargo build --release --target mos-c64-none
target/mos-c64-none/release/mos-example
(not missing.prg
extension).