home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Commodore Disk User Volume 4 #4
/
Commodore_Disk_User_Vol.4_4_1991_-.d64
/
keypress.list
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
356b
|
18 lines
10 ;"@:keypress.list"
20 *=$c000
30 sei
40 lda #$20
50 sta $0314
60 lda #$c0
70 sta $0315
80 cli
90 rts
100 *=$c020
110 lda $c5 ;get key pressed
120 cmp #$40 ;is it no key?
130 beq quit ;if it is, leave
140 sta $d020 ;place key value in
150 ;border col
160 quit ;quit
170 jmp $ea31 ;housekeeping