						Flag Poll Application
						---------------------
This is a very simple application to query and set debug flags in PenPoint.
It eliminates the need to use the debugger or environ.ini for that task and
can be used on any platform that runs PenPoint.  The code will compile for
either the Hobbit or Intel versions of PenPoint.

To compile and link flagpoll, create a flagpoll directory in your sample code
directory.  Then copy all the files (flagpoll.h, flagpoll.c, method.tbl,
lgicon.res, smicon.res & makefile) to the flagpoll directory if they are not
already there.  The makefile included will work with the mif files provided by
Go Corp. for sample code.  The makefile is set up to compile a Hobbit version
of flagpoll.  If you would like an intel version, edit the makefile and
uncomment all the lines with a "# Intel" comment on them and comment the lines
with a "# Hobbit" on them.

Flag poll is an accessory, not a document, so tap on accessories to use it
after installing.  Flag poll can query or set 5 debug flags at the same time.
You simply write the flags to be examined in any of the first sets of 2 combs
and tap on the "Get" button on the menu line.  The hex value of the flag will
be displayed in the corresponding 8 comb field.  If the flag is not understood
or not found "********" is displayed in the corresponding value field.  I
tried to set up flagpoll to mimic the behavior of the "fs" command in the
mini-debugger as much a possible.  If you only write in 1 character in the
flag field, flagpoll will treat it as a character flag (like "B").  If you
write in 2 characters, flagpoll assumes it is a hexidecimal flag number.  To
set flags, first query them and then change the hex value of the flags and
tap on the "Set" button in the menu line.

Flag poll does not do a lot of error checking so be cautious in its use.  In
particular, flagpoll will not demand that you query a flags value before
setting it which is a very unwise thing to do.  Be aware that EO machines
come with the "B" flag set to 0x4 so the proper way to see the boot volume is
to set "B" to 0x804, not just 0x800.

If anyone would like to improve the functionality of flagpoll, PLEASE do so.
It is for that reason that I have posted the source to the tool.  The only
thing I ask is that any nifty changes be shared with me and everyone else
who finds flagpoll useful.  The best way to do that would probably be to send
them to me and I will post an updated version to CompuServe.

Hope you enjoy this little app!  It's been useful in our shop (especially
when developing on the EO's).  It's free so the price is right, but do please
leave the Xactware copyright notice intact in the files.  Thanks.
