[Coco] Nitros9 and Set Status Call SS.AScrn

Bill Pierce ooogalapasooo at aol.com
Tue Apr 9 04:09:07 EDT 2019


Walter, I just looked up SS.AScrn and according to the NitrOS9 Technical Reference manual (page 225), that call is strictly for VDG screens.
Actually, reading it again... I'm confused. It states "must use CoVDG (CoGRF not required)". It also states "a standard 32 column screen must be available for the device". BUT, in the initial call, you can set screen types for all Hi-Res screen types?
This really makes little sense to me.
 
 
 
-----Original Message-----
From: Walter Zambotti <zambotti at iinet.net.au>
To: 'CoCoList for Color Computer Enthusiasts' <coco at maltedmedia.com>
Sent: Tue, Apr 9, 2019 2:49 am
Subject: [Coco] Nitros9 and Set Status Call SS.AScrn

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


-- 
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco


More information about the Coco mailing list