risc96-rs 0.1.0

Rust SDK for risc96 fantasy console cartridges
Documentation
  • Coverage
  • 0%
    0 out of 31 items documented0 out of 10 items with examples
  • Size
  • Source code size: 4.99 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.08 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 53s Average build duration of successful builds.
  • all releases: 53s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • isaiahpettingill

risc96-rs

risc96-rs is the Rust SDK crate for writing cartridges for the risc96 fantasy console.

What it provides

  • no_std API
  • ABI constants (FB_WIDTH, FB_HEIGHT, audio and controller constants)
  • Syscall wrappers for:
    • framebuffer (framebuffer())
    • audio buffer (audiobuffer())
    • controllers (controller_1()..controller_4())
    • frame present (present())
  • Pixel helper rgb(r, g, b)
  • Packed controller button helper button_level()

Publication

Package metadata is configured for publication from this repository:

  • Author: Isaiah Pettingill
  • Repository: https://codeberg.org/compu96/risc96
  • Crate name: risc96-rs

Publish dry run

cargo package --manifest-path sdks/risc96-rs/Cargo.toml --allow-dirty

Publish to crates.io

cargo login
cargo publish --manifest-path sdks/risc96-rs/Cargo.toml