X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=betty%2Fdisplay.c;h=71791fc0449fd97013c6d7b14ea7b43e3272b278;hb=ec21607f7dc421c6a474d93b90e9045ec465a222;hp=a5db3385ecf6e93dffcb606c0bfa2dd4688781a3;hpb=b4ca71fc214ba3c58cec25661ba1f81cf7b1b871;p=my-code%2Farm.git diff --git a/betty/display.c b/betty/display.c index a5db338..71791fc 100644 --- a/betty/display.c +++ b/betty/display.c @@ -6,18 +6,89 @@ */ #include "display.h" +#include "system.h" +#include "default_logo.h" +#include "uart.h" /* * 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