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
Export some functions that might be useful
[uccvend-snackrom.git]
/
ROM2
/
chime.c
diff --git
a/ROM2/chime.c
b/ROM2/chime.c
index
57c4630
..
e959c1a
100644
(file)
--- a/
ROM2/chime.c
+++ b/
ROM2/chime.c
@@
-5,12
+5,12
@@
u8 chime_count;
void chime() {
/* called from the RTI interrupt, sees if we need to turn the chime on or
void chime() {
/* called from the RTI interrupt, sees if we need to turn the chime on or
- * off (chime would be on for N RTI cycles
+ * off (chime would be on for N RTI cycles
)
*/
if (chime_count) {
*/
if (chime_count) {
-
bset((void*)&_io_ports[M6811_PORTA], PORTA_CHIME
);
+
chime_on(
);
--chime_count;
} else
--chime_count;
} else
-
bclr((void*)&_io_ports[M6811_PORTA], PORTA_CHIME
);
+
chime_off(
);
}
}
UCC
git Repository :: git.ucc.asn.au