summaryrefslogtreecommitdiff
path: root/uisimulator/lcd-recorder.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/lcd-recorder.c')
-rw-r--r--uisimulator/lcd-recorder.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/uisimulator/lcd-recorder.c b/uisimulator/lcd-recorder.c
index f7623937c5..9ddcb53817 100644
--- a/uisimulator/lcd-recorder.c
+++ b/uisimulator/lcd-recorder.c
@@ -79,38 +79,6 @@ void lcd_update (void)
79 } 79 }
80} 80}
81 81
82#if 0
83/*
84 * Display a string at current position
85 */
86void lcd_string (const char *text, BOOL invert)
87{
88 int ch;
89
90 while ((ch = *text++) != '\0') {
91 if (lcd_y > DISP_Y-CHAR_Y) {
92 /* Scroll (8 pixels) */
93 memcpy (display[0], display[1], DISP_X*(DISP_Y/8-1));
94 lcd_y -= 8;
95 }
96
97 if (ch == '\n')
98 lcd_x = DISP_X;
99 else {
100 lcd_char (ch, invert);
101 lcd_x += CHAR_X;
102 }
103
104 if (lcd_x > DISP_X-CHAR_X) {
105 /* Wrap to next line */
106 lcd_x = 0;
107 lcd_y += CHAR_Y;
108 }
109 }
110}
111#endif
112
113
114/* 82/*
115 * Write a byte to LCD controller. 83 * Write a byte to LCD controller.
116 * command is TRUE if value is a command byte. 84 * command is TRUE if value is a command byte.