aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/avr8/devices/atmega649/words/no-jtag.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/avr8/devices/atmega649/words/no-jtag.asm')
-rw-r--r--amforth-6.5/avr8/devices/atmega649/words/no-jtag.asm14
1 files changed, 14 insertions, 0 deletions
diff --git a/amforth-6.5/avr8/devices/atmega649/words/no-jtag.asm b/amforth-6.5/avr8/devices/atmega649/words/no-jtag.asm
new file mode 100644
index 0000000..352a4bb
--- /dev/null
+++ b/amforth-6.5/avr8/devices/atmega649/words/no-jtag.asm
@@ -0,0 +1,14 @@
+; ( -- )
+; ( -- )
+; MCU
+; disable jtag at runtime
+VE_NOJTAG:
+ .dw $FF05
+ .db "-jtag",0
+ .dw VE_HEAD
+ .set VE_HEAD = VE_NOJTAG
+XT_NOJTAG:
+ .dw PFA_NOJTAG
+PFA_NOJTAG:
+
+ jmp_ DO_NEXT