added IEC support to CHRIN and CHROUT

This commit is contained in:
FeralChild64 committed 2019-07-22 19:45:38 +02:00
1 parent 1bb195a9c4
commit 4980dff3bf
3 files changed
+66 -6

No files matched your search

+2 -1
View File
@@ -8,6 +8,7 @@
;; CPU registers that has to be preserved (see [RG64]): .Y
;;
clrchn:
;; Handle IEC input device
@@ -24,7 +25,7 @@ clrchn:
;; Handle IEC output device
jsr unlsn
*
clrchn_reset:
clrchn_reset: ;; entry needed by CHRIN
;; Set input device number to keyboard
lda #$00
sta DFLTN