6 releases (breaking)
0.8.0 | Feb 12, 2023 |
---|---|
0.7.0 | Nov 17, 2022 |
0.6.1 | Apr 18, 2022 |
0.5.0 | Apr 15, 2022 |
0.1.0 | Mar 18, 2022 |
120 downloads per month
Used in neotron-os
105KB
1.5K
SLoC
Neotron Common BIOS
This crate contains the BIOS API and common routines for all Neotron systems.
Hardware
Neotron runs on a variety of ARM Cortex-M based systems.
Status
This BIOS API crate is a work in progress.
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/>.
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.
Changelog
Unreleased Changes
- None
v0.8.0
audio_mixer_channel_get_info
now returns anOption
notResult
- Add
impl From<core::option::Option for Option
- Add
impl From<Option for core::option::Option
- Add
impl From<core::result::Result for Result
- Add
impl From<Result for core::result::Result
- Clarify that some parameters are actually expected to be numeric IDs
- Use
pc-keyboard::KeyCode
to define Key Codes.
v0.7.0
- Change
time_get
totime_clock_get
- Change
time_set
totime_clock_set
- Add
time_ticks_get
andtime_ticks_per_second
- Add
bus_interrupt_status
- Remove
delay
- Add back in the
block_XXX
API for reading/writing Block Devices. - Add idle function.
memory_get_region
returnsOption
, notResult
- Fix epoch used in conversion to chrono timestamp.
v0.6.1
- No changes - v0.6.0 release was incorrect so re-releasing
v0.6.0
- Removed 'block_X' APIs
- Added 'bus_X' APIs
- Added 'audio_X' APIs
- Added 'i2c_X' APIs
- Added 'video_get/set_palette' APIs
- Added 'delay' API
v0.5.0
- Added
serial_read
API - Added
video_mode_needs_vram
API - Added
hid_get_event
API - Added
hid_set_leds
API - Added
video_wait_for_line
API - Added
block_dev_get_info
API - Added
block_write
API - Added
block_read
API - Added
block_verify
API
v0.4.0
- Changed
memory_get_region
to return aMemoryRegion
- Changed
video_set_framebuffer
to take a*const u8
not*mut u8
- as the BIOS doesn't change video RAM.
v0.3.0
- First published version.
Cargo.toml
reports at0.1.0
.
Dependencies
~1MB
~21K SLoC