Oliver Schmidt updated the graphics drivers and part of the C library for the
Apple machines. git-svn-id: svn://svn.cc65.org/cc65/trunk@3816 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
20
libsrc/apple2/rdkey.s
Normal file
20
libsrc/apple2/rdkey.s
Normal file
@@ -0,0 +1,20 @@
|
||||
;
|
||||
; Oliver Schmidt, 03.03.2007
|
||||
;
|
||||
; RDKEY routine
|
||||
;
|
||||
|
||||
.export RDKEY
|
||||
|
||||
.include "apple2.inc"
|
||||
|
||||
.segment "LOWCODE"
|
||||
|
||||
RDKEY:
|
||||
; Switch in ROM and call RDKEY
|
||||
bit $C082
|
||||
jsr $FD0C ; Display prompt and read key from user input routine
|
||||
|
||||
; Switch in LC bank 2 for R/O and return
|
||||
bit $C080
|
||||
rts
|
||||
Reference in New Issue
Block a user