This crate is a low-level abstraction (aka a Peripheral Access Crate) over the CPU and memory-mapped registers available on the Nintendo 64 console.
Due to the low-level nature of the API, most projects (games especially) are unlikely to use this crate directly.
| Peripheral | Registers | Complete | |:----------:|:---------:|:----------------------:| | CP0 | 1 of 32 | :x: | | CP1 | 0 of 32 | :x: | | MI | 0 of 4 | :x: | | VI | 15 of 15 | :heavycheckmark: | | AI | 0 of ? | :x: | | PI | 0 of ? | :x: | | RI | 0 of ? | :x: | | SI | 0 of 6? | :x: |
In your project's Cargo.toml
:
Toml
[dependencies]
n64-pac = "0.0.1"
Refer to the docs for examples and details regarding safety.
This crate is only intended to be used in the N64 embedded environment.
Unfortunately, the unstable build-std
cargo feature needed to build the project, still requires a nightly rust toolchain. If/when that is stabilized, this crate should no longer require nightly rust.