]> git.sur5r.net Git - cc65/blob - libsrc/apple2/rdkey.s
Removed (pretty inconsistently used) tab chars from source code base.
[cc65] / libsrc / apple2 / rdkey.s
1 ;
2 ; Oliver Schmidt, 03.03.2007
3 ;
4 ; RDKEY routine
5 ;
6
7         .export         RDKEY
8
9         .include        "apple2.inc"
10
11         .segment        "LOWCODE"
12
13 RDKEY:
14         ; Switch in ROM and call RDKEY
15         bit     $C082
16         jsr     $FD0C           ; Display prompt and read key from user input routine
17
18         ; Switch in LC bank 2 for R/O and return
19         bit     $C080
20         rts