Expand description

§Neotron Common BIOS

Contains the common API for all Neotron BIOS implementations.

§License

Copyright (C) The Neotron Developers, 2019-2022

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Re-exports§

Modules§

Macros§

  • Creates an FFI-safe struct to use in place of an enum.

Structs§

  • The BIOS API, expressed as a structure of function pointers.
  • A Rust u8 mutable slice, but compatible with FFI. Assume the lifetime is only valid until the callee returns to the caller.
  • A Rust u8 slice, but compatible with FFI. Assume the lifetime is only valid until the callee returns to the caller.
  • A Rust UTF-8 string, but compatible with FFI.

Enums§

  • All API functions which take/return optional values return this type.
  • All API functions which can fail return this type.

Constants§

  • BIOS API semantic version for the API defined in this crate.

Type Aliases§

  • Describes the result of an API call.