]> git.sur5r.net Git - cc65/commitdiff
telestrat : cgetc add for conio
authorjede <jede@oric.org>
Sun, 1 Oct 2017 21:23:03 +0000 (23:23 +0200)
committerjede <jede@oric.org>
Sun, 1 Oct 2017 21:23:03 +0000 (23:23 +0200)
libsrc/telestrat/cgetc.s [new file with mode: 0644]

diff --git a/libsrc/telestrat/cgetc.s b/libsrc/telestrat/cgetc.s
new file mode 100644 (file)
index 0000000..85ea4fc
--- /dev/null
@@ -0,0 +1,15 @@
+;
+; jede jede@oric.org 2017-10-01
+;
+    .export    _cgetc
+   
+    .include   "telestrat.inc"
+
+.proc _cgetc
+loop:   
+        BRK_TELEMON XRD0
+        bcc     key_pressed
+        jmp     loop
+key_pressed:
+        rts
+.endproc