[Coco] Saving and Restoring Cursor position in Basic09.

Jeff Teunissen deek at d2dc.net
Mon Jul 6 15:20:19 EDT 2020


Currently, it only works in _VDG_ text modes. L. Curtis Boyle was
going to work on extending it to CoCo3 hardware text modes (and maybe
graphics modes), since GrfDrv does actually know where the cursor is,
it just has no way to give you that information programmatically.

On Mon, Jul 6, 2020 at 3:10 PM tim lindner <tlindner at macmess.org> wrote:
>
> 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."
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco


More information about the Coco mailing list