diff kernel/src/kernel.c3 @ 363:396e5cefba13

Removed debuginfo instruction
author Windel Bouwman
date Sun, 16 Mar 2014 11:28:47 +0100
parents c05ab629976a
children c49459768aaa
line wrap: on
line diff
--- a/kernel/src/kernel.c3	Sat Mar 15 10:56:34 2014 +0100
+++ b/kernel/src/kernel.c3	Sun Mar 16 11:28:47 2014 +0100
@@ -6,16 +6,30 @@
 import arch;
 import io;
 
+var int G;
+
+function void do()
+{
+    io.print2("G = ", G);
+    G = G + 1;
+}
+
 // Main entry point of the kernel:
 function void start()
 {
+    G = 0;
     arch.init();
 
     io.println("Welcome to lcfos!");
 
+    do();
+    do();
+    do();
+    do();
+
     io.print_int(0x1337);
-    io.print_int(0x1338);
-    io.print2("Test: ", 0x13);
+    //io.print_int(0x1338);
+    //io.print2("Test: ", 0x13);
 
     var int a;
     for (a = 0; a < 2; a = a + 1)