Skip to content

Instantly share code, notes, and snippets.

@rschulman
Created May 13, 2014 19:08
Show Gist options
  • Save rschulman/258b21af12464865660b to your computer and use it in GitHub Desktop.
Save rschulman/258b21af12464865660b to your computer and use it in GitHub Desktop.
#![no_std]
#![allow_ctypes]
#![feature(asm, macro_rules, default_type_params, phase)]
#![phase(syntax, link)]
extern crate core;
//use core;
mod video;
#[no_mangle]
#[no_split_stack]
pub fn kernel_main() {
video::clear_screen(video::Red);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment