chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f60110
)
new directory for shiny new code
author
ceb
<ceb>
Tue, 11 Oct 2005 22:52:51 +0000
(22:52 +0000)
committer
ceb
<ceb>
Tue, 11 Oct 2005 22:52:51 +0000
(22:52 +0000)
detpic/common.inc
[new file with mode: 0644]
patch
|
blob
detpic/variables.asm
[new file with mode: 0644]
patch
|
blob
diff --git a/detpic/common.inc
b/detpic/common.inc
new file mode 100644
(file)
index 0000000..
b2890d9
--- /dev/null
+++ b/
detpic/common.inc
@@ -0,0
+1,13
@@
+; common macros & equs etc.
+
+;**********************************************************************
+; boilerplate.inc
+; Include this at the top of each file.
+; Does the following things:
+; includes the PIC18F458 definitions file (register and bit names)
+; switches to decimal by default
+; defines various useful macros
+
+ include /usr/share/gputils/header/p18f458.inc
+ radix dec
+
diff --git a/detpic/variables.asm
b/detpic/variables.asm
new file mode 100644
(file)
index 0000000..
d7debc5
--- /dev/null
+++ b/
detpic/variables.asm
@@ -0,0
+1,7
@@
+; reservations for variables
+
+; boilerplate:
+
+ include /usr/share/gputils/header/p18f458.inc
+ radix dec
+