EasyManuals Logo

Atari 400 User Manual

Atari 400
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 400

Questions and Answers:

Question and Answer IconNeed help?

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

Atari 400 Specifications

General IconGeneral
ManufacturerAtari
Model400
TypeHome Computer
Release Year1979
CPUMOS Technology 6502
CPU Speed1.79 MHz
ROM10 KB
Operating SystemAtari OS
KeyboardMembrane keyboard
RAM8 KB (expandable to 48 KB)
GraphicsANTIC and GTIA chips
Sound4 channels
DisplayRF output for connection to TV
StorageOptional cassette tape drive or floppy disk drive
PortsCartridge
Display Resolution320x192 (16 colors)

Related product manuals