add some further information about the CHRIN routine

This commit is contained in:
Paul Gardner-Stephen committed 2019-04-19 12:45:08 +09:30
1 parent 799458a2ad
commit 5799c5e5e6
1 file changed
+7 -1
+7 -1
View File
@@ -1,3 +1,9 @@
; Function defined on pp272-273 of C64 Programmers Reference Guide
; Function defined on pp272-273 of C64 Programmers Reference Guide
;; Compute's Mapping the 64, p228
;; Reads a byte of input, unless from keyboard.
;; If from keyboard, then it gets a whole line of input, and returns the first char.
;; Repeated calls after that read out the successive bytes of the line of input.
chrin:
lda #$00
clc
rts