X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=betty%2Fdisplay.c;h=fad0804e5a5bfc477885791db874dbcf14d4247b;hb=2c6f5744c29fb65d904aa5fe40b5ce541247f900;hp=a5db3385ecf6e93dffcb606c0bfa2dd4688781a3;hpb=b4ca71fc214ba3c58cec25661ba1f81cf7b1b871;p=my-code%2Farm.git diff --git a/betty/display.c b/betty/display.c index a5db338..fad0804 100644 --- a/betty/display.c +++ b/betty/display.c @@ -11,13 +11,53 @@ * functions */ -void bl_init(void) { +void display_clear_screen(void) { + + u32 cnt; + + DISPLAY_SET_PAGE_ADDR(0); + DISPLAY_SET_C_ADDR(0); + + for(cnt=0;cnt