384ef8da63f98a561c3adcbfd5d68a3ddc5f5d76
[uccvend-snackrom.git] / ROM2 / display.h
1 #ifndef _DISPLAY_H_
2 #define _DISPLAY_H_
3
4 #include "types.h"
5
6 /* scrolling modes */
7 #define WRAP_NONE      0  /* trailing chars get left off */
8 #define WRAP_SCROLL_L  1  /* scroll to the left */
9 #define WRAP_SCROLL_R  2  /* scroll to the right */
10 #define WRAP_ALTERNATE 3  /* alternate between text */
11
12 extern char current_message[256];
13
14 void display_init();
15 void set_msg(char* newmsg, u8 wrap);
16 void set_char(char c, u8 pos);
17 void set_wrap_mode(u8 new_wrap_mode);
18 void display_refresh();
19
20 #endif /* _DISPLAY_H_ */

UCC git Repository :: git.ucc.asn.au