EasyManua.ls Logo

Apple IIe - Graphics Commands: GR, PLOT, HGR, HPLOT

Apple IIe
320 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...
Apple
BASIC Reference
Guide
107
Applesoft
GR
Integer
The GR statement sets and
clears
the
low
resolution
screen
mode
(40x40
with
4
lines
~
f
text
at
the
bottom
of
the
screen).
Configuration
GR
This statement
should
be
executed
before
the
graphics state-
ments PLOT,
HLIN
..
AT, and
VLIN
..
AT
are used.
When
the
GR
statement
is
executed,
the
color
is
automatically
set
to
0
(BLACK).
Example
10 GR
20
COLOR
=15
30
PLOT
19,
23
40
END
The
preceding
example
should
put
a
white
square
on
the
screen.
If
line
10 was
omitted
, a
zero
would
be
placed
in
the
middle
of
the
screen, because
the
low-resolution
mode
was
not
set.
If
you
wish
to
return
to
the
normal
mode
,
you
can
do
so by
executing
the
TEXT
statement.
If
full-screen
graphics
(40x48)
is
desired, this can
be
accomplished
by
executing
POKE -16302,0
after
GR
has
been
executed.
POKE
- 16301,0
can be used
to
restore
the
text
window
.
HCOLOR
Applesoft
o
Integer
The
HCOLOR
statement
defines
the
next
color
to
be
displayed

Other manuals for Apple IIe

Related product manuals