X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=ROM2%2Fdisplay.h;h=384ef8da63f98a561c3adcbfd5d68a3ddc5f5d76;hb=067df52c32420b3165f2df104383da98d5b52626;hp=c9af2122355d2b3779ef413446b97028a15ecc51;hpb=9366107abfbfbe85f00b27449c79284d0e1aa59e;p=uccvend-snackrom.git diff --git a/ROM2/display.h b/ROM2/display.h index c9af212..384ef8d 100644 --- a/ROM2/display.h +++ b/ROM2/display.h @@ -4,14 +4,16 @@ #include "types.h" /* scrolling modes */ -#define WRAP_SCROLL_L 1 /* scroll to the left */ -#define WRAP_SCROLL_R 2 /* scroll to the right */ +#define WRAP_NONE 0 /* trailing chars get left off */ +#define WRAP_SCROLL_L 1 /* scroll to the left */ +#define WRAP_SCROLL_R 2 /* scroll to the right */ #define WRAP_ALTERNATE 3 /* alternate between text */ extern char current_message[256]; void display_init(); -void set_msg(char* newmsg); +void set_msg(char* newmsg, u8 wrap); +void set_char(char c, u8 pos); void set_wrap_mode(u8 new_wrap_mode); void display_refresh();