]> git.sur5r.net Git - cc65/blobdiff - libsrc/atmos/cgetc.s
fix comments
[cc65] / libsrc / atmos / cgetc.s
index 9883021380c11560954c26a4f97854cf1b85cd92..e6473471906357cccbc7fb57bc49c7e491ebce17 100644 (file)
 
 @L2:    and     #$7F            ; Mask out avail flag
         sta     KEYBUF
+        ldy     $209
+        cpy     #$A5
+        bne     @L3
+        ora     #$80            ; FUNCT pressed
 
 ; Done
 
-        rts
+@L3:    rts
 
 .endproc