X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=betty%2Fdisplay.c;h=1d6af1a0eb2ae2785a9af75d7e1bbfed9f990a4c;hb=00632c1df2040d4ee30ff8a9420489f7adfe9963;hp=a5db3385ecf6e93dffcb606c0bfa2dd4688781a3;hpb=b4ca71fc214ba3c58cec25661ba1f81cf7b1b871;p=my-code%2Farm.git diff --git a/betty/display.c b/betty/display.c index a5db338..1d6af1a 100644 --- a/betty/display.c +++ b/betty/display.c @@ -11,13 +11,55 @@ * 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