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