EasyManua.ls Logo

Radio Shack TRS-80 X-PAD GT-116 - 11; A Display Saved...

Radio Shack TRS-80 X-PAD GT-116
65 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...
1
1/
A
Display Saved.
.
.
Feastyour eyes on this: X-Pad has a
quick,
easy
way
to
save
your
graphic displays
on cassette for permanent storage.
Ifyou're drawing a display
and would
like
to take a break
(even Rome wasn't built in a day), you can save
the
display
on
cassette, load
it back later, and then finish drawing the
display.
The
concept of
memory storage is easy to understand.
When
you save the display,
the
memory contents ofthe display are
saved on cassette. This
gives
you a permanent copy ofyour
display. {When the display is
saved,
it
also
stays on the
Screen.)
There are two commands
involved
with memory storage:
CSAVEM
(saving
memory),
CLOADM (loading
memory),
The
CSAVEM
command
stores the graphic display as a
machine-language
file.
CLOADM
loads this
machine-language
file back
into
your Color Computer's
memory
and
displays
it
on the Screen.
The following
program is
the
"free-form
drawing"
program
we discussed
earlier.
We've added
the
program
lines you'll
need to save and
load
the machine-language
file.
10
C0SCREENPAGES=4
20
C1STARTPAGES=1
30
C2PAGELENGTH=1
.3*1024
40
C3STARTSCREEN=(
C 1
PAGESTART-
1
)
*C2PAGELENGTH +
&; HG00
50
CflENDSCREEN=CG3CREENPAGES*
C2PAGELENGTH+C35CREENSTART
B0
PMODE 4 ,1
70
PCLS
80
SCREEN
1
,1
90
GOSU0
170
35