.SETYC STA YC \ Store the new text row in YC JMP PUTBACK \ Jump to PUTBACK to restore the USOSWRCH handler and \ return from the subroutine using a tail callName: SETYC [Show more] Type: Subroutine Category: Text Summary: Implement the #SETYC <row> command (move the text cursor to a specific row)Context: See this subroutine in context in the source code Variations: See code variations for this subroutine in the different versions References: This subroutine is called as follows: * JMPTAB calls SETYC
This routine is run when the parasite sends a #SETYC <row> command. It updates the text cursor y-coordinate (i.e. the text row) in YC. Arguments: A The text row
[X]
Subroutine PUTBACK (category: Tube)
Reset the OSWRCH vector in WRCHV to point to USOSWRCH
[X]
Variable YC in workspace I/O variables
The y-coordinate of the text cursor (i.e. the text row), set to an initial value of 1