Mercurial > lcfOS
diff cos/kernel/kernel.c @ 27:7f74363f4c82
Added some files for the python port
author | windel |
---|---|
date | Tue, 27 Dec 2011 18:59:02 +0100 |
parents | dcce92b1efbc |
children | 47b7df514243 |
line wrap: on
line diff
--- a/cos/kernel/kernel.c Tue Dec 27 17:36:52 2011 +0100 +++ b/cos/kernel/kernel.c Tue Dec 27 18:59:02 2011 +0100 @@ -1,11 +1,5 @@ #include "kernel.h" -void startPython() -{ - // TODO: connect to Py_Main - //PyRun_SimpleString("print('hello world')"); -} - void testMalloc() { char *a, *b; @@ -34,7 +28,7 @@ while (1==1) { char buffer[70]; - printf(">>>"); + printf(">"); getline(buffer, 70); // TODO: interpret this line with python :) printf("\n");