[Coco] Nitros9 and Set Status Call SS.AScrn
Walter Zambotti
zambotti at iinet.net.au
Tue Apr 9 02:48:38 EDT 2019
Hi all Nitros9 programmers.
First of thanks to Bill for sending me the asm functions for creating a
window
and mapping the window into process address space. Works well (Bill)!
Now I am trying to do the same thing but by using the SS.AScrn set status
call.
I would like to use this because, if I'm reading the manual correctly, it
allocates
a window of a given size and resolution and maps it into the process address
in
one call!
The call is documented in the Nitros9 Tech Ref Manual page 236.
It states:
Screens must be allocated from a VDG-type device - a standard 32-column
text screen must be available for the device. (Which Device?? Do they mean
the
window!)
The support module for this call is VDGINT.
I am running the app from a 32 col CoVDG window.
Mdir shows CoVDG and GRFDRV are loaded and seven /W descriptors are loaded.
As the SS.AScrn call takes a screen type parameter I am assuming that there
is no
need to perform a dwset to the open window.
However I can successfully open the window and can successfully configure
and select the window
via the dwset (write to stdin of the window) method. But now I want to avoid
using this method
and use SS.AScrn instead.
In an attempt to tie the window to the 32 column VDG window I have also
closed stdin, stdout,
stderr in the app and have dup'ed the window path into these three paths.
Can anyone shed any light on the SS.AScrn call?
Walter
More information about the Coco
mailing list