comparison kernel/src/kernel.c3 @ 360:42343d189e14

Bugfix in for loop
author Windel Bouwman
date Fri, 14 Mar 2014 16:11:32 +0100
parents b4ac28efcdf4
children c05ab629976a
comparison
equal deleted inserted replaced
359:b4ac28efcdf4 360:42343d189e14
8 8
9 // Main entry point of the kernel: 9 // Main entry point of the kernel:
10 function void start() 10 function void start()
11 { 11 {
12 arch.init(); 12 arch.init();
13 io.println("Welcome to lcfos!");
14 io.print_int(0x1337);
15 io.print_int(0x1338);
16 io.print2("Test: ", 0x13);
13 17
14 io.println("Welcome to lcfos!"); 18 var int a;
15 19 for (a = 0; a < 10; a = a + 1)
16 // io.print_int(0x1337); 20 {
21 io.print2("a = ", a);
22 }
17 // process.init(); 23 // process.init();
18 //memory:init(); 24 //memory:init();
19 25
20 //Process proc = new process:Process(); 26 //Process proc = new process:Process();
21 27