OBLCD_GetCurYX [D>=16]
<T=Y; Z=X;> Y = U[0] = <row number>; X = U[1] = <column number>; U[2] = <cursor flags>; U[3] = 0
NOTE that this instruction is not implemented in 32-bit versions of SPLat/OS prior to 21 January 2020.
This instruction pushes the current OBLCD cursor position onto the register stack, with Y (as well as U[0]) becoming the row number and X (as well as U[1]) becoming the column number. This can be used to save the current cursor. U2 is shows the cursor flags: Bit 0 indicates Blinking and Bit 1 indicates whether it is on.
Rows are counted up from 0, starting at the top. Columns are counted up from 0, starting at the far left.
| Note: This instruction modifies UV |
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_SetCurYX OBLCD_SetCur