vgastream-rs
- High level VGA(0xB8000) library in freestanding Rust.
- Provides
printlnprinteprintlneprintmacros.
How to use
Examples
/*main.rs*/
extern crate vgastream_rs;
use *;
use Color;
pub extern "C" !
/*multiboot.rs*/
const ALIGN: u32 = 1 << 0;
const MEMINFO: u32 = 1 << 1;
const MAGIC: u32 = 0x1BADB002;
const FLAGS: u32 = ALIGN | MEMINFO;
static multiboot: MultiBoot = MultiBoot ;
/*panic.rs*/
use PanicInfo;
use *;
use asm;
pub unsafe !
!
simplekernel-rs
simplekernel-rs can print out "Hello, World!" on x86 freestanding.
Contact me
- Web: https://github.com/hwoy
- Email: mailto:bosskillerz@gmail.com
- Facebook: https://www.facebook.com/watt.duean