[Coco] Saving and Restoring Cursor position in Basic09.

tim lindner tlindner at macmess.org
Mon Jul 6 15:10:06 EDT 2020


On Thu, Jul 2, 2020 at 12:06 PM <coco at jechar.ca> wrote:
>
> Anyone
>
>   I have a program where at one point I
>   want to be able to detect my screen location
>   so I can go back to that part of the screen
>   later.
>
>   Does anyone know how I would do this ?
>   Ideally for any screen mode but if text
>   mode only that's ok.

In this document:

https://colorcomputerarchive.com/repo/Documents/Manuals/Operating%20Systems/OS-9%20Level%201%20(Tandy).pdf

At the very end, there is an addendum that talks about the SS.Cursr
get status call. It will return the X and Y position of the cursor.

I think it only works in true text modes.

To set the cursor position there should be documentation in the main
manual DISPLAY hex codes that will accomplish that.

-- 
--
tim lindner

"Proper User Policy apparently means Simon Says."


More information about the Coco mailing list