EasyManua.ls Logo

Commodore 128D - Page 278

Commodore 128D
427 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...
GRAPHIC
—Select
a
graphic
mode
1)
GRAPHIC
mode
[,[clear][,s]]
2)
GRAPHIC
CLR
This
statement
puts
the
Commodore
128
in
one
of
the
six
graphic
modes:
mode
description
0
40-column
text
1
standard
bit-map
graphics
2
standard
bit-map
graphics
(split
screen)
3
multicolor
bit-map
graphics
4
multicolor
bit-map
graphics
(split
screen)
5
80-column
text
The
clear
parameter
specifies
whether
the
bit
mapped
screen
is
cleared
(equal
to
1)
or
left
intact
(equal
to
0).
The
S
parameter
indi
cates
the
starting
line
number
of
the
split
screen
when
in
graphic
mode
2
or
4
(multicolor
or
standard
bit
map
split
screen
modes).
The
default
starting
line
number
of
the
split
screen
is
19.
Lines
are
num
bered
0-24.
When
executed,
GRAPHIC
1-4
allocates
a
9K-bit
mapped
area.
The
start
of
BASIC
text
area
is
moved
above
the
bit-map
area,
and
any
BASIC
program
is
automatically
relocated.
This
area
remains
allo
cated
even
if
the
user
returns
to
TEXT
mode
(GRAPHIC
0).
If
the
clear
option
is
specified
as
1,
the
screen
is
cleared.
The
GRAPHIC
CLR
command
deallocates
the
9k,
bit-mapped
area,
and
relocates
any
BASIC
text.
EXAMPLES:
GRAPHIC
1,1
GRAPHIC
4,0,10
GRAPHIC
0
GRAPHIC
5
GRAPHIC
CLR
Select
standard
bit
map
mode
and
clear
the
bit
map.
Select
split
screen
multicolor
bit
map
mode,
do
not clear
the
bit
map
and
start
the
split
screen
at
line
10.
Select
40-column
text.
Select
80-column
text.
Deallocate
the
bit
map
screen
to
make
the
memory
available
for
BASIC
text:
GSHAPE
SeeSSHAPE.
270
BASIC
7.0
ENCYCLOPEDIA—Basic
Commands
and
Statements

Table of Contents

Other manuals for Commodore 128D

Related product manuals