]> git.sur5r.net Git - cc65/commitdiff
Function key support be Stephan Haubenthal.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 24 Jan 2009 16:35:42 +0000 (16:35 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 24 Jan 2009 16:35:42 +0000 (16:35 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3912 b7a2c559-68d2-44c3-8de9-860c34a00d81

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