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 #106 background imageLoading...
Page #106 background image
Chapter
10
I
BASIC
Keywords
BSAVE
Statement
%SAVE
pathname,offset,length
Saves the contents of an area of memory as a disk file.
Pathname
is a standard file specification as defined in Chapter
1.
Offset
is an integer in the range
0
to
65535.
Offset
is the num-
ber
of
bytes into the current segment where
BASIC
starts sav-
ing.
Length
is an integer in the range
1
to
65535.
This is the length
in bytes
of
the memory image file
to
be saved.
You must specify
pathname, offset,
and
length.
If you omit any
of
them,
BASIC
returns an error and terminates the save.
A
memory image file is a byte-for-byte copy
of
what is in mem-
ory. The
BSAVE
statement lets you save data
or
programs as
memory image files on disk.
BSAVE
is often used
for
saving as-
sembly language programs, but you can also use it
to
save data,
programs written in other languages,
or
screen images.
When you load
BASIC,
the data segment
(DS)
register is set to
the address
of
BASIC’s
workspace. You must execute
a
DEF
SEG
statement before executing
BSAVE,
unless you used the
/M:
switch when you loaded
BASIC.
Without the
DEF SEG
state-
ment
or
the
/M:
switch,
BASIC’s
workspace could be destroyed.
Sample Program
See
BLOAD.
104

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