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
reworkings
[uccvend-snackrom.git]
/
ROM2
/
main.c
diff --git
a/ROM2/main.c
b/ROM2/main.c
index
3331548
..
9d59f60
100644
(file)
--- a/
ROM2/main.c
+++ b/
ROM2/main.c
@@
-1,5
+1,24
@@
#include "vend.h"
#include "vend.h"
+int main() {
+ /* do stuff */
+ set_msg("UNIVERSITY");
+ delay(1000);
+ set_msg(" COMPUTER ");
+ delay(1000);
+ set_msg(" CLUB ");
+ delay(1000);
+
+ while(1) {
+ }
+}
+
void _start() {
void _start() {
+ /* Initialize Stuff. Particularly some memory locations that can only be
+ * written in the first 64 clock cycles upon reset.
+ */
+ display_init();
+ set_bus_expanded();
+ main();
}
}
UCC
git Repository :: git.ucc.asn.au