vga/src/lib.rs

19 lines
452 B
Rust
Raw Normal View History

2020-03-12 12:10:18 -05:00
//! This crate provides vga specific functions, data structures,
//! and access to various registers.
2020-03-12 13:04:25 -05:00
//!
//! Memory addresses `0xA0000 -> 0xBFFFF` must be readable and writeable
//! this crate to work properly.
2020-03-12 12:10:18 -05:00
#![no_std]
#![warn(missing_docs)]
2020-03-12 12:34:13 -05:00
pub mod colors;
mod configurations;
mod fonts;
mod registers;
2020-03-12 12:10:18 -05:00
pub mod vga;
2020-03-12 12:34:13 -05:00
mod writers;
2020-03-12 12:10:18 -05:00
2020-03-12 23:41:00 -05:00
pub use self::vga::{VideoMode, VGA};
2020-03-12 12:34:13 -05:00
pub use self::writers::{Graphics640x480x16, Text40x25, Text40x50, Text80x25};