# Commodore 64 SDK
This SDK enables building applications that make use of the specific features available on
Commodore 64 hardware.
## Usage
This SDK requires [rust-mos]. The recommended way to write applications using this SDK is
with Docker and Visual Studio Code:
1. Copy the [`.devcontainer.json`] configuration from this repository into your workspace.
2. Install and start Docker.
3. Configure Visual Studio Code with the [Dev Containers] extension.
4. When your workspace is open, and VS Code asks, re-open in "Dev container".
5. Inside a VS Code terminal, build your application with:
```
cargo build --release --target mos-c64-none
```
6. Copy the binary from `./target/mos-c64-none/release` to your C64 emulator or hardware.
[rust-mos]: https://github.com/mrk-its/rust-mos
[`.devcontainer.json`]: ./.devcontainer.json
[Dev Containers]: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers
## License
Licensed under either of
* Apache License, Version 2.0, ([LICENSE-APACHE](./LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](./LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally
submitted for inclusion in the work by you, as defined in the Apache-2.0
license, shall be dual licensed as above, without any additional terms or
conditions.