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-14 22:55:48 -05:00
|
|
|
mod colors;
|
2020-03-12 12:34:13 -05:00
|
|
|
mod configurations;
|
|
|
|
mod fonts;
|
|
|
|
mod registers;
|
2020-03-14 22:55:48 -05:00
|
|
|
mod vga;
|
2020-03-12 12:34:13 -05:00
|
|
|
mod writers;
|
2020-03-12 12:10:18 -05:00
|
|
|
|
2020-03-14 22:55:48 -05:00
|
|
|
pub use self::configurations::{
|
|
|
|
VgaConfiguration, MODE_40X25_CONFIGURATION, MODE_40X50_CONFIGURATION,
|
|
|
|
MODE_640X480X16_CONFIGURATION, MODE_80X25_CONFIGURATION,
|
|
|
|
};
|
|
|
|
pub use self::vga::{Vga, VideoMode, VGA};
|
2020-03-12 12:34:13 -05:00
|
|
|
pub use self::writers::{Graphics640x480x16, Text40x25, Text40x50, Text80x25};
|