aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/appl/arduino/mega128.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/appl/arduino/mega128.asm')
-rw-r--r--amforth-6.5/appl/arduino/mega128.asm18
1 files changed, 18 insertions, 0 deletions
diff --git a/amforth-6.5/appl/arduino/mega128.asm b/amforth-6.5/appl/arduino/mega128.asm
new file mode 100644
index 0000000..4b8dc0e
--- /dev/null
+++ b/amforth-6.5/appl/arduino/mega128.asm
@@ -0,0 +1,18 @@
+; for a description, what can be done in this
+; file see ../template/template.asm. You may want to
+; copy that file to this one and edit it afterwards.
+
+.include "preamble.inc"
+
+.set WANT_IGNORECASE = 1
+
+.equ F_CPU = 16000000
+.include "drivers/usart_0.asm"
+
+; settings for 1wire interface, if desired
+.equ OW_PORT=PORTE
+.EQU OW_BIT=4
+.include "drivers/1wire.asm"
+
+; include the whole source tree.
+.include "amforth.asm"