aboutsummaryrefslogtreecommitdiffstats
path: root/forth/hal.fth
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2023-10-26 19:54:29 -0400
committerClyne Sullivan <clyne@bitgloo.com>2023-10-26 19:54:29 -0400
commit5ee8f7e01dfbcb03c705f8bb6f252c2f1b829b46 (patch)
tree1c444cf6d11b31b8b072ca91272a0771d88f44aa /forth/hal.fth
parent6b1955a69ed1dcb218ebc33fa22c6681924dff15 (diff)
add .R PAD U.R U> UNUSED WITHIN
Diffstat (limited to 'forth/hal.fth')
-rw-r--r--forth/hal.fth16
1 files changed, 16 insertions, 0 deletions
diff --git a/forth/hal.fth b/forth/hal.fth
new file mode 100644
index 0000000..99835ca
--- /dev/null
+++ b/forth/hal.fth
@@ -0,0 +1,16 @@
+1 constant bit0
+2 constant bit1
+4 constant bit2
+8 constant bit3
+16 constant bit4
+32 constant bit5
+64 constant bit6
+128 constant bit7
+
+1 constant port1
+2 constant port2
+3 constant port3
+4 constant port4
+5 constant port5
+
+: pindef