From: Bernhard Urban Date: Wed, 23 Sep 2009 15:42:23 +0000 (+0200) Subject: Merge branch 'master' into usbkb_sauter X-Git-Tag: demo0~2 X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=ppcskel.git;a=commitdiff_plain;h=59cd61cee0ebb13ed425654f9de96652c167c5cd Merge branch 'master' into usbkb_sauter Conflicts: Makefile gecko.c hollywood.h main.c --- 59cd61cee0ebb13ed425654f9de96652c167c5cd diff --cc Makefile index 9811862,39a27ff..a7d144b --- a/Makefile +++ b/Makefile @@@ -9,9 -9,7 +9,9 @@@ TARGET = ppcboot.el OBJS = realmode.o crt0.o main.o string.o sync.o time.o printf.o input.o \ exception.o exception_2200.o malloc.o gecko.o video_low.o \ ipc.o mini_ipc.o nandfs.o ff.o diskio.o fat.o font.o console.o \ - irq.o - sha1.o ++ irq.o sha1.o + +include usb/Makefile include common.mk diff --cc hollywood.h index 9133116,3f2dde4..e957e99 --- a/hollywood.h +++ b/hollywood.h @@@ -140,41 -140,67 +140,40 @@@ Copyright (C) 2008, 2009 John Kelley keys[i]>0; i++) { + if(x>650) { + x = 20; + y += 15; + } + if(y>440) { + y=20; + } + if((k->keys[i] >= 4) && k->keys[i] <= 4+'z'-'a') { + str[j] = k->keys[i] - 4 + 'a'; + } + else if (k->keys[i] == 0x28) { + y += 15; + x = 20; + } + j++; + } + if(j > 0) { + print_str_noscroll(x, y, str); + printf("y: %d\n", y); + } + while(j--) { + x += 13; + } + } + ++#if 0 + printf("===============================\n"); + + SHA1TestCases(); + + printf("bye, world!\n"); ++#endif + return 0; }