Permalink
Browse files

With asm and bin files

  • Loading branch information...
1 parent 2102345 commit a6108bf50f90455648ccfb2d2430a83989375d7b Tensor committed Sep 30, 2012
Showing with 15 additions and 0 deletions.
  1. BIN boot.bin
  2. +15 −0 kernel_start.asm
View
BIN boot.bin
Binary file not shown.
View
@@ -0,0 +1,15 @@
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;Very simple bootloader just for testing.
+;;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[BITS 32]
+
+[global start]
+[extern _k_main] ; this is in the c file
+
+start:
+ call _k_main
+
+ cli ; stop interrupts
+ hlt ; halt the CPU

0 comments on commit a6108bf

Please sign in to comment.