aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/appl/eval-pollin/pollin.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/appl/eval-pollin/pollin.asm')
-rw-r--r--amforth-6.5/appl/eval-pollin/pollin.asm21
1 files changed, 21 insertions, 0 deletions
diff --git a/amforth-6.5/appl/eval-pollin/pollin.asm b/amforth-6.5/appl/eval-pollin/pollin.asm
new file mode 100644
index 0000000..de3d0d2
--- /dev/null
+++ b/amforth-6.5/appl/eval-pollin/pollin.asm
@@ -0,0 +1,21 @@
+; 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 AMFORTH_RO_SEG = NRWW_START_ADDR+1
+
+; cpu clock in hertz
+.equ F_CPU = @F_CPU@
+.set BAUD_MAXERROR = 30
+.equ TIMER_INT = OVF2addr
+
+.include "drivers/usart@USART@.asm"
+
+; settings for 1wire interface
+.equ OW_PORT=PORTB
+.EQU OW_BIT=4
+.include "drivers/1wire.asm"
+
+.include "amforth.asm"