monotron-api 0.2.2

Defines the API between the Monotron ROM and Monotron applications running in RAM.
Documentation
  • Coverage
  • 100%
    109 out of 109 items documented1 out of 29 items with examples
  • Size
  • Source code size: 22.1 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.54 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • thejpster/monotron
    194 9 38
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • thejpster

Monotron API

This crate contains the Userspace to Kernel API for the Monotron.

It is pulled in by the Kernel (github.com/thejpster/monotron) and the various user-space example applications (github.com/thejpster/monotron-apps).

The API in here is modelled after both the UNIX/POSIX API and the MS-DOS API. We use function pointers rather than SWI calls (software interrupts), provided in a structure. This structure is designed to be extensible.

A C header file version of this API can be generated with cbindgen.

All types in this file must be #[repr(C)].