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
A different way of storing the ROM image.
[uccvend-snackrom.git]
/
ROM2
/
display_basic.c
diff --git
a/ROM2/display_basic.c
b/ROM2/display_basic.c
index
e7cb449
..
9d3264e
100644
(file)
--- a/
ROM2/display_basic.c
+++ b/
ROM2/display_basic.c
@@
-34,10
+34,9
@@
void display_send_byte(char c) {
_io_ports[M6811_SPDR]; /* SPDR read to clear SPIF flag */
bclr_misc_output(A3800_DISPLAY_WRITE); /* disable the display clock */
_io_ports[M6811_SPDR]; /* SPDR read to clear SPIF flag */
bclr_misc_output(A3800_DISPLAY_WRITE); /* disable the display clock */
- delay(1); /* guarantee t_BUSY (40us) */
}
}
-#define DISPLAY_DELAY
10
0 /* ms to delay between ops - could be tweaked */
+#define DISPLAY_DELAY
5
0 /* ms to delay between ops - could be tweaked */
void display_reset() {
/* lower the reset line for a while */
bclr((void*)&_io_ports[M6811_PORTA], PORTA_DISP_RESET);
void display_reset() {
/* lower the reset line for a while */
bclr((void*)&_io_ports[M6811_PORTA], PORTA_DISP_RESET);
UCC
git Repository :: git.ucc.asn.au