Programming/Assembly Reference/KERNAL
With PLOT, the cursor can be set to any position. The column (0-39) is passed in the Y-register and the row (0-24) in the X-register. The carry flag must be cleared.
Example:
. LDY #$01 . LDX #$03 . CLC . JSR $FFF0
Sets the cursor in column 4 and row 2. The first column/row is 0.
|