Tandy 600 Programmer's Reference Manual page 153

Bios programmers
Hide thumbs Also See for 600:
Table of Contents

Advertisement

Upon
exit,
the
graphics cursor
points
to
the
pixe! to
the
right
of
the
last
one
affected
by
the
routine.
However,
if
the
last
pixel
affected
is
the rightmost
pixel
on
the screen, the graphics
cursor
is left
pointing
to
it
rather
than
pointing
beyond
the
edge
of
the screen.
This
is
a
speed
critical
routine,
it
should be
coded
accordingly.
INT
52h,
Function F
-
Set
Pixel
at
Specified
X,Y
to
Specified Attribute
Entry:
AH
=
F
(function
code)
AL
=
attribute
0-off
1
-
on
CX
= X
coordinate
DX
= Y
coordinate
Exit:
No
registers specified
Upon
exit,
the
graphics cursor
points
to
the
pixel
specified
by
the
X,Y
coordinate
pair,
and
the
graphics
attribute
is
the
one
that
was
passed
to
the
routine
in
AL.
Calling
this
routine
is
the simplest
way
to plot individual
points
on
the screen.
It
is
intended
for
use by
applications
that
do
not require
maximum
speed.
It
may
therefore
be coded as
calls
to
the routines that
map
an X,Y
coordinate
pair to
the
graphics
cursor, set the
graphics
attribute,
and
set
the current
pixel to
the
current
attribute.
148

Advertisement

Table of Contents
loading

Table of Contents