summaryrefslogtreecommitdiff
path: root/usrbin
diff options
context:
space:
mode:
Diffstat (limited to 'usrbin')
-rw-r--r--usrbin/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usrbin/main.c b/usrbin/main.c
index aa48450..83dcd90 100644
--- a/usrbin/main.c
+++ b/usrbin/main.c
@@ -1,12 +1,15 @@
#include <stdint.h>
#include <stdio.h>
#include <time.h>
+#include <unistd.h>
void main(void) {
+ int x = 0;
+
printf("We did it ma!\n");
while(1) {
sleep(1);
- printf("1000ms tick!\n");
+ printf("0x%04x:0x%08x: 0x%08x\n", getpid(), (uint32_t) getpdir(), x++);
}
}