Atari DOS 2.5: XF551 Owner's Manual page 82

Atari dos 2.5 disk drive
Table of Contents

Advertisement

45
SEC10R
#
= 145
55
SECTOR # = 145
75
SEC10R # = 145
80
SEC10R # = 145
90
SEC10R # = 145
100
SECTOR #
=
145
110
SEC10R # = 145
POINT (P.)
Format: POINT
#Iocb
, avar,
avar
Example:
100 F'OItH
#
2
~
~b
B
BYTE # =9
BYTE # = 12
BYTE#=15
BYTE # = 18
BYTE
#
= 21
BYTE
#
=
24
BYTE
#
= 28
POINT
is
the complement of
NOTE.
This command sets the file
pOinter to an arbitrary value determined
by
the arithmetic varia-
bles. POINT is used when
reading
specified file locations. (sector
and byte)
into RAM
.
The first
arithmetic variable specifies (points
to) the sector
number,
and
the
second arithmetic variable speci-
fies
the byte
number
into which the next byte will be
read
or writ-
ten
.
As with the
NOTE
command
,
the sector number
ranges
from
1 to 719 in single density and
1
to 1023 in enhanced
density;
byte
range is between 0 and
124.
If you point out of an opened
file,
you will get a
File
Number Mismatch error message
.
The pro-
gram listing below contains an example of the POINT command
to
read
data created by the program shown as the example for
the
NOTE command
.
When run
,
this program prints the keyboard input by sector and
byte in
reverse
order from the way it was written to the diskette.
After you type
the
sample
NOTE
and
POINT
programs, run the
NOTE
program
,
then
run
the
POINT
program without changing
disks.
72

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xf551

Table of Contents