EasyManuals Logo

Atari 800 User Manual

Atari 800
326 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #177 background imageLoading...
Page #177 background image
Atari
BASIC
Reference Guide 175
SETCOLOR
(SE.)
The SETCOLOR
statement
is
used
to
assign a
color
and
luminance
value
to
the
color
register specified.
CONFIGURATION
SETCOLOR register #,
color,
luminance
The
color
register must range
from
0
to
4 inclusive. The
color
must range
from
0
to
15
inclusive. These values and
their
corresponding
colors are listed in Table 9-3. The
luminance
can
range
from
0 (darkest)
to
14 (brightest).
Each
of
the 5
color
registers
has
a
default
color
and
luminance
value. These
default
values are listed in Table 9-2.
SGN
The
SGN
function
returns a
+1
if
its
argument
is
positive, a -1
if
negative, and a 0
if
zero.
SIN
CONFIGURA
TlON
SGN
(a)
EXAMPLE
100 A = 100
200
X =
SGN
(A)
300
PRINT X
RUN
1
The
SIN
function
returns the sine
of
the angle specified
as
its
argument.
The
argument
will
be
assumed in radians unless a DEG
statement precedes the
SIN statement.

Other manuals for Atari 800

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atari 800 and is the answer not in the manual?

Atari 800 Specifications

General IconGeneral
ProcessorMOS Technology 6502
Processor Speed1.79 MHz
ROM10 KB
GraphicsANTIC and GTIA chips
Release Year1979
Display Resolutionup to 320 x 192
Colors128 colors
Sound4 channels
StorageCartridge, cassette, floppy disk
PortsCartridge, serial, monitor
Operating SystemAtari OS

Related product manuals