diff options
| author | Miguel <m.i@gmx.at> | 2018-08-20 03:18:04 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-08-20 03:18:04 +0200 |
| commit | e4febc5aac3006c3ef025b5f708ec51fdac63b94 (patch) | |
| tree | e00149a611589520bd6c99e1fe043385df583f5c /userspace | |
| parent | 39100c30b7a16103e75187c9840a79c7df54f3da (diff) | |
vesa works beuatifullyy
Diffstat (limited to 'userspace')
| -rw-r--r-- | userspace/foolshell.c | 12 | ||||
| -rw-r--r-- | userspace/snake.c | 1 |
2 files changed, 1 insertions, 12 deletions
diff --git a/userspace/foolshell.c b/userspace/foolshell.c index 47d1e92..c5c3b42 100644 --- a/userspace/foolshell.c +++ b/userspace/foolshell.c @@ -71,13 +71,6 @@ int main(int argc, char **argv) printf("setvbuf returned %i\n",setvbuf(stdin,NULL,_IONBF,0)); - // TODO: remove test (Tryint to write directyly to frameubuff) - uint32_t *vmem=0xfd000000; - for(int i=0;i<2000;i++) - { - *vmem=0xff0000; - vmem++; - } while(1) { prompt(); @@ -93,11 +86,6 @@ int main(int argc, char **argv) buf[bl]=c; buf[bl+1]='\0'; bl++; - for(int i=0;i<20000;i++) - { - *vmem=0xff0000; - vmem++; - } } //fgets(buf,255,stdin); diff --git a/userspace/snake.c b/userspace/snake.c index 9bf9fe2..d825987 100644 --- a/userspace/snake.c +++ b/userspace/snake.c @@ -18,6 +18,7 @@ int main() puts("+++"); printf("setvbuf returned %i\n",setvbuf(stdin,NULL,_IONBF,0)); + printf("setvbuf returned %i\n",setvbuf(stdout,NULL,_IONBF,0)); //fool_tune(1,0,0); // activate gaming mode |
