git.ucc.asn.au
/
uccvend-snackrom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow changes to individual characters
[uccvend-snackrom.git]
/
ROM2
/
display.h
diff --git
a/ROM2/display.h
b/ROM2/display.h
index
c9af212
..
384ef8d
100644
(file)
--- a/
ROM2/display.h
+++ b/
ROM2/display.h
@@
-4,14
+4,16
@@
#include "types.h"
/* scrolling modes */
#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();
#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();
void set_wrap_mode(u8 new_wrap_mode);
void display_refresh();
UCC
git Repository :: git.ucc.asn.au