blob: d8f1cf50b34fda9e7b4ef9eb6741878de113cc8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
.pa 1
.he 'CSW (II)'7/29/72'CSW (II)'
.ti 0
NAME csw -- read console switches
.sp
.ti 0
SYNOPSIS sys csw / csw = 38. not in assembler
.br
(value of csw in r0)
.br
(value of buttons in r1)
.sp
.ti 0
DESCRIPTION The setting of
the console switches is returned in r0.
The setting of the
external buttons is returned in r1.
.a
The return is synced to
a 30 CPS clock for graphical applications.
.sp
.ti 0
SEE ALSO --
.sp
.ti 0
DIAGNOSTICS none
.sp
.ti 0
BUGS Currently the buttons are unavailable.
|