summaryrefslogtreecommitdiff
path: root/ports.asm
diff options
context:
space:
mode:
authorDuncan Smith2010-06-12 20:43:38 -0700
committerDuncan Smith2010-06-12 20:43:38 -0700
commit209e61d7d73f51de361d507da1ce41166122a33a (patch)
treecf6b54958887a051c0c018d10f07401804b7be62 /ports.asm
parentc924d8477261d9bf09a12d6d2f18c3a0175deed2 (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