Advertisement
konalisp

kmain.cxx

Nov 15th, 2014
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1. #include <stdint.h>
  2. #include <stddef.h>
  3. #include <kernel.hxx>
  4. #include "../x86HAL/initx86.cxx"
  5. #include "../Drivers/vga.cxx"
  6.  
  7. vga::vga video;
  8.  
  9. void printtest() {
  10.     video.write("viper doesnt live :[");
  11. }
  12.  
  13. extern "C"
  14. void kmain() {
  15.     initx86();
  16.     video.write("Hisssssssssssssssss, Viper Lives\n");
  17.     printtest();
  18.     for (;;);
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement