1,884
edits
Changes
→ROM Routines
If C=0: X,Y registers set the cursor position
Y:A is returned as a pointer to the current screen position (i.e., Y is the high byte and A is the low byte of a pointer to the memory address of the current cursor position)
If C=1: X,Y registers return the current cursor position