"KEYPROC, after being called by KEYINT, first checks to see if the key that was pressed was a function key." . . . .