 |
pushkey |
Function (ROM Call 0x50) |
Replaces the keystroke in the keyboard queue with the given code.
If the keyboard queue is empty, pushkey pushes code in the keyboard queue,
then sets the "keypressed" flag. If the keyboard queue is not empty, pushkey replaces the
keystroke on the top of the keyboard queue with code. In each case, the next
call of ngetchx will return code.
Uses: kbhit, OSdequeue, OSenqueue, OSSetSR
Used by: cmd_disptbl, GS_PlotAll, GT_FreeTrace, GT_KeyIn, GT_Trace, GZ_Stat, Regraph, ROM Call 0x3EA