Expand description
§vgastream-rs
- High level VGA(0xB8000) library in freestanding Rust.
- Provides
println
print
eprintln
eprint
macros.
§Example
/*main.rs*/
#![no_std]
#![no_main]
mod multiboot;
mod panic;
extern crate vgastream_rs;
use vgastream_rs::prelude::*;
#[no_mangle]
pub extern "C" fn _start() -> ! {
use vga_rs::Color;
VgaOutStream::new().reset_with((Color::BLACK, Color::WHITE));
let _ = main();
unsafe { panic::halt() }
}
fn main() {
println!("Hello, World!");
}
Modules§
- prelude
- vga_
screen - Controls vga screen.
Macros§
- eprint
- eprint macro for VGA.
- eprintln
- eprintln macro for VGA.
- print macro for VGA.
- println
- println macro for VGA.
Structs§
- VgaOut
Stream - Provides vga stream.
- VgaOut
Stream Color - Provides vga stream color.
Enums§
- VgaStream
Error - Error for VgaRead and VgaWrite.