1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-22 17:29:34 +00:00

fixed return paramter; setup ICAX1Z so the key routine isn't confused by

opened R: devices


git-svn-id: svn://svn.cc65.org/cc65/trunk@1129 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cpg 2001-12-04 01:04:20 +00:00
parent e0c27701d0
commit a86b97cc89

View File

@ -8,10 +8,14 @@
.export _cgetc
_cgetc:
lda KEYBDV+5
jsr @1
ldx #0
rts
@1: lda KEYBDV+5
pha
lda KEYBDV+4
pha
lda #12
sta ICAX1Z ; fix problems with direct call to KEYBDV
rts
ldx #0
rts