EasyManuals Logo

Tandy 1000 Basic Reference Manual

Default Icon
411 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 #105 background imageLoading...
Page #105 background image
Chapter
10
i
BASIC Keywords
You may specify any segment
as
the target or source for BLOAD
or BSAVE. This is
a
useful way to save and redisplay screen im-
ages by saving from or loading to the screen buffer.
Sample
Programs
Program
1
10 'SAVE
A
50
byte image of memory
20 DEF SEG
=
bHl0
30 FOR
I
=
256
to
306
40 VLUE
=
PEEK (1)
50 LPRINT "AT ADDRESS
";I;
"WE HAVE A VALUE
60 NEXT
I
70 BSAVE
"prog1",0,50
80 PRINT
"Now
Run
Program
2
to verify that the
OF
";VLUE
content5 saved in the file
PROGl
match those
in the printout produced by this program."
Program
2
10
'Load
a
50
byte file into memory and verify
it
20
DEF
SEG
=
&H10
30 BLOAD
"progl .bas",
0
40
FOR
I
=
256
to
306
50 VALUE
=
PEEKCI)
60 LPRINT "AT ADDRESS
";I;
"the loaded value
i
5
"
;
VALUE
70 NEXT
I
Program
1
saves a memory image file, and Program
2
reloads
that file and prints it.
103

Table of Contents

Other manuals for Tandy 1000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tandy 1000 and is the answer not in the manual?

Tandy 1000 Specifications

General IconGeneral
ProcessorIntel 8088
Processor Speed4.77 MHz
RAM128 KB (expandable to 640 KB)
Operating SystemMS-DOS 2.11
ManufacturerTandy Corporation
Release Year1984
StorageSingle or double 5.25" floppy disk drive (360 KB), optional hard drive
SoundTandy 3-voice sound
PortsParallel, Serial
GraphicsCGA (Color Graphics Adapter)
Graphics Modes320x200, 640x200

Related product manuals