EasyManua.ls Logo

Commodore PET - Sys; Ti Ti; Usr

Commodore PET
447 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Number of jiffies since current startup.
Time of day string.
The status should
be
checked. if
it
is
going to
be
checked. immediately after
an
INPUT# or GET# statement.
Examples:
10
IF
ST
<
>0
GOTO
500 Branch on any error.
50
IF
ST=4
THEN
?"SHORT BLOCK"
SYS
SYS
is
a system function that transfers program control to
an
independent
subsystem.
Format:
SYS(address)
where:
address
is
a numeric constant, variable. or expression
representing the starting address at
which
ex-
ecution of the subsystem
is
to begin. The value
must
be
in the range
0~address~65535.
Unlike other functions.
SYS
can
be
specified alone
in
an
immediate program
statement. Use of the
SYS
command
is
described further in Chapter
6.
TI, TI$
TI
and TI$ represent
two
system time variables.
Format:
TI
TI$
Examples:
?TI
TI$="081
000"
Usages of
TI
and TI$ are described in Chapter
5.
under
"Setting
Time of
Day."
USR
USR
is
a system function that passes a parameter to a user-written assem-
bly language subroutine whose address
is
contained in memory locations 1 and
2.
and fetches a return parameter fram the subroutine.
163

Table of Contents

Related product manuals