summaryrefslogtreecommitdiff
path: root/usrbin/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usrbin/main.c')
-rw-r--r--usrbin/main.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/usrbin/main.c b/usrbin/main.c
index d2ea633..aa48450 100644
--- a/usrbin/main.c
+++ b/usrbin/main.c
@@ -1,9 +1,12 @@
#include <stdint.h>
-
-extern int print(char*);
+#include <stdio.h>
+#include <time.h>
void main(void) {
- print("We did it ma!\n");
+ printf("We did it ma!\n");
- char c = *((char*) 0x80BEEF);
+ while(1) {
+ sleep(1);
+ printf("1000ms tick!\n");
+ }
}