a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Resources:
 potgo.resource
  AllocPotBits
  FreePotBits
  WritePotgo
Include
GuruMeditation
Docs » Autodocs » potgo.resource » WritePotgo

NAME

	WritePotgo -- Write to the hardware potgo register.

SYNOPSIS

	WritePotgo(word, mask)
D0 D1
void WritePotgo( UWORD, UWORD );

FUNCTION

	The WritePotgo routine sets and clears bits in the hardware
potgo register. Only those bits specified by the mask are
affected -- it is improper to set bits in the mask that you
have not successfully allocated. The bits in the high byte
are saved to be maintained when other users write to the
potgo register. The START bit is not saved, it is written
only explicitly as the result of a call to this routine with
the START bit set: other users will not restart it.

INPUTS

	word - the data to write to the hardware potgo register and
save for further use, except the START bit, which is
not saved.
mask - those bits in word that are to be written. Other
bits may have been provided by previous calls to
this routine, and default to zero.

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Alpha Flight 1970

AFL
ATX
SCX
AYS

Comments:

$VER: d0.se 1.13 Copyright © 2011-2018 Tobias Geijersson support at d0 dot se