2020-03-12 12:10:18 -05:00
|
|
|
//! This crate provides vga specific functions, data structures,
|
|
|
|
//! and access to various registers.
|
|
|
|
|
|
|
|
#![no_std]
|
|
|
|
#![warn(missing_docs)]
|
|
|
|
|
|
|
|
pub mod vga;
|
|
|
|
pub mod vga_colors;
|
|
|
|
mod vga_configurations;
|
|
|
|
mod vga_fonts;
|
|
|
|
mod vga_registers;
|
|
|
|
|
2020-03-12 12:16:27 -05:00
|
|
|
pub use self::vga::VGA;
|
2020-03-12 12:10:18 -05:00
|
|
|
|
|
|
|
#[cfg(test)]
|
|
|
|
mod tests {
|
|
|
|
#[test]
|
|
|
|
fn it_works() {
|
|
|
|
assert_eq!(2 + 2, 4);
|
|
|
|
}
|
|
|
|
}
|