From mint-bounce@lists.fishpool.fi  Wed Apr  6 08:49:02 2005
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
Message-ID: <42538627.3060405@utbm.fr>
Date: Wed, 06 Apr 2005 08:48:07 +0200
From: Olivier Landemarre <olivier.landemarre@utbm.fr>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Gerhard Stoll <Gerhard_Stoll@b.maus.de>
Cc: mint@fishpool.com
Subject: Re: [MiNT] SWM_REZCHANGE in shel_write()
References: <200504041818.p44943@b.maus.de>
In-Reply-To: <200504041818.p44943@b.maus.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: olivier.landemarre@utbm.fr
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
X-Virus-Scanned: by amavisd-new at relay.boerde.de
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de
X-Spam-Status: No, hits=-0.3 tagged_above=-50.5 required=7.0 tests=AWL,
 BAYES_00
X-Spam-Level: 

Gerhard Stoll wrote:

>-------------------------------cut-------------------------------
>shel_write() enhancements
>
>-> Sh_wodex value 5   (Changed 9/29/92)
>
>Request the AES to change resolution. The sh_wiscr's value affects
>the meaning of sh_wisgr. If AES accepts the resolution change
>request, then it will put the system in SHUT DOWN mode. An
>application can either shut down and exit or deny to shut down by
>sending a AP_TFAIL message to the AES.
>
>a, If sh_wiscr is zero, then sh_wisgr is the physical device id to
>   perform VDI's open physical workstation call. To get the current
>   physical device id, do the Getres()+2.
>
>   The following are the existing physical device id values:
>
>   2 -> 320x200        ST Low
>   3 -> 640x200        ST Medium
>   4 -> 640x400        ST High
>   6 -> 640x480        TT Medium
>   8 -> 1280x960       TT High
>   9 -> 320x480        TT Low
>
>b, If sh_wiscr is one, then sh_wisgr is the video mode word for use
>   in the FALCON030 machine. Sh_wiscr value from 2 and up are
>   reserved for future use.
>-------------------------------cut-------------------------------
>
>
>int16_t shel_write ( int16_t sh_wdoex, int16_t 
>               sh_wisgr, int16_t sh_wiscr, int8_t *sh_wpcmd, int8_t 
>               *sh_wptail );
>
>N.AES have an extend mode
>
>shel_write(5, vmode, falconflag, &ignorant, NULL)
>
>ignorant is an integer. If shel_write returns null then you can find in
>ignorant an App-ID from the programm with do not understand AP_TERM. If it
>returns (ignorant) the value -1, then an Shutdown is started, -2 if some of the
>parameters are wrong.
>
>MagiC do it like MultiTOS.
>  
>
Ok thanks a lot for your answer  it should be enough, I hope Arnaud will 
put it in Gemlib documentation

Olivier

>
>Gerhard
>
>
>
>
>  
>


