Knowledge Base

<Cursor row:colum> = Y:X; X=Z;Y=T;Z=T

This instruction moves the cursor to the row number in the Y register and the column number in the X register. It does not affect whether the cursor is visible or not.  Pops the stack twice.

Rows are counted up from 0, starting at the top. Columns are counted up from 0, starting at the far left.

If you specify invalid values for row and column, the display will become unpredictable. There is no error checking. The SPLat/PC simulator will not behave like the actual controller under abnormal use.

Note: This instruction modifies UV
NOTE: Prior to 6 December 2019, this instruction does not have any effect until characters are written to the screen.  From 6 December 2019, this instruction will output the new position immediately if the cursor is turned on (such as via a OBLCD_CurOn command).

Dialect exclusions: Not available in dialects before 16. Also, not available on SPLat controllers that do not have onboard LCD support (please check the documentation for your specific board and firmware version).

See also OBLCD_GetCurYX OBLCD_SetCur