Poll Mask Generator

by Mike Whiteman


This is an easy-to-use application to help you generate the poll mask number required in R0 of the Wimp_Poll routine.  

USING THE PROGRAM
Clicking Select on the PollMask icon on the icon bar opens the PollMask window. This window contains a list of all twenty reason codes returned by Wimp_Poll. Several of the reason codes are 'greyed-out'. This is to reflect that they should not normally be masked out, and if the Message option in the PollMask icon bar menu is ticked, you will be warned of this fact if you attempt to select them. The program will not, however, prevent you from masking them out.

To select a reason code to be masked, click on either the number, the reason code itself, or the radio icon (which will become inverted).

At the bottom of the window is a box which displays the current mask number in both hex and binary.

Clicking Menu over PollMask window brings up a menu into which you can enter a poll mask number and see which reason codes it masks out. You can also save the poll mask number, either as a Text file, or directly into a text editor such as Edit or DeskEdit.

I hope you find this little utility useful and would welcome any comments. I can be contacted at:

127 Sewell Road
Abbey Wood
London
SE2 9DH

 RISC User 1993
