summaryrefslogtreecommitdiff
path: root/ports.asm
diff options
context:
space:
mode:
Diffstat (limited to 'ports.asm')
-rw-r--r--ports.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/ports.asm b/ports.asm
new file mode 100644
index 0000000..4ca60f7
--- /dev/null
+++ b/ports.asm
@@ -0,0 +1,9 @@
+ ;; Routines to process OUT and IN instructions. This is the
+ ;; bit that's unique to TI calculators.
+
+ ;; Port is in d0, byte is in d1
+port_in:
+ rts
+
+port_out:
+ rts