annotate user/lib.c3 @ 350:2b02bd286fe9

Fixed A9 hello worle
author Windel Bouwman
date Sat, 08 Mar 2014 16:29:03 +0100
parents 084cccaa5deb
children 6ae782a085e0
rev   line source
283
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
1 module lib;
315
084cccaa5deb Added console and screen
Windel Bouwman
parents: 313
diff changeset
2 import ipc;
283
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
3
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
4 /*
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
5 Runtime library.
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
6
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
7 */
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
8
313
04cf4d26a3bc Added constant function
Windel Bouwman
parents: 311
diff changeset
9 function void print(int txt)
283
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
10 {
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
11 // TODO
315
084cccaa5deb Added console and screen
Windel Bouwman
parents: 313
diff changeset
12 var ipc.Msg msg;
084cccaa5deb Added console and screen
Windel Bouwman
parents: 313
diff changeset
13 ipc.SendMessage(&msg);
283
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
14 }
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
15
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
16