Add a VGA buffer module

This commit is contained in:
Philipp Oppermann
2019-01-25 12:21:51 +01:00
parent 59f9fe1e69
commit 19de9e560d
2 changed files with 46 additions and 0 deletions

View File

@@ -5,6 +5,8 @@ use core::panic::PanicInfo;
static HELLO: &[u8] = b"Hello World!";
mod vga_buffer;
#[no_mangle]
pub extern "C" fn _start() -> ! {
let vga_buffer = 0xb8000 as *mut u8;