summaryrefslogtreecommitdiff
path: root/ports.asm
diff options
context:
space:
mode:
authorAstrid Smith2010-06-12 20:43:38 -0700
committerAstrid Smith2010-06-12 20:43:38 -0700
commit110b54c9beb0d1bcdd52d8a2247da035bab28b01 (patch)
treef3d1c3398f7cd20f558e2327cd8373cd9ab67874 /ports.asm
parent7ecffb0d3ec7abf5f5d838da2ca86a192e8d52e4 (diff)
More instructions added, stubs created for IO operation.
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