#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_ALTERNATE 3 /* alternate between text */
+#define WRAP_NONE 0 /* trailing chars get left off */
+#define WRAP_SCROLL 1 /* scroll to the left */
+#define WRAP_ALTERNATE 2 /* alternate between text */
+
+/* number of RTI events between scrolling letters */
+#define SCROLL_TIME 8
extern char current_message[256];
+extern
void display_init();
-void set_msg(char* newmsg);
+void append_msg(char* newmsg, u8 wrap);
+void set_msg(char* newmsg, u8 wrap);
+void scroll_msg(char* newmsg);
+void set_char(char c, u8 pos);
void set_wrap_mode(u8 new_wrap_mode);
void display_refresh();
+void display_shift();
#endif /* _DISPLAY_H_ */