[Coco] Syscall to get the window screen and width

Jeff Teunissen deek at d2dc.net
Sat Mar 8 17:09:14 EST 2025


On Sat, Mar 8, 2025, 10:28 plt via Coco <coco at maltedmedia.com> wrote:

>
> In Basic09 is there a way to find the current window that your using?
>

In OS-9, there are always 3 path numbers pre-opened for the program when it
starts. These are files 0 (standard input), 1 (standard output), and 2
(standard error output). You don't have to OPEN them, that has already been
done for you.

So you should be able to call syscall using the code for I$GetStt, and the
GetStat code SS.ScSiz, using file number 1.

>


More information about the Coco mailing list