From mint-bounce@lists.fishpool.fi  Tue Feb  2 16:21:11 2010
X-Envelope-From: Gerhard_Stoll@b.maus.de
X-Envelope-To: <mint@fishpool.com>
From: Gerhard_Stoll@b.maus.de (Gerhard Stoll)
To: mint@fishpool.com
Subject: [MiNT] cflib screen locking
Message-ID: <201002022139.p8453@b.maus.de>
In-Reply-To: <4B686C86.7080300@online.no>
Date: Tue, 2 Feb 2010 21:39:00 +0100
Organization: MAUS Berlin (+49-30-82701142)
X-Gateway: b.maus.de gb1.1r 102698.1858
X-Gateway-Administrator: postmaster@b.maus.de
Lines: 41
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: Gerhard_Stoll@b.maus.de
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>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>

> I think that locking the screen is only required with ROM AES and no
> Selectric.

No, is also if Selectric present.

> So either check for ROM AES (is this possible?) or add XaAES, N.AES and
> MyAES to (2).

Or add the fslx function to XaAES. ;-)

That the moment the code is
-------------------------------cut-------------------------------
wind_update (BEG_UPDATE);

if (slct || gl_gem >= 0x140)
  fsel_exinput (path, name, &but, title);
else
  fsel_input (path, name, &but);

wind_update (END_UPDATE);
-------------------------------cut-------------------------------
slct is TRUE if Selectric > version 1.00 present.

This can be changed to
-------------------------------cut-------------------------------
if ( !gl_naes && !gl_xaaes )
  wind_update (BEG_UPDATE);

if (slct || gl_gem >= 0x140)
  fsel_exinput (path, name, &but, title);
else
  fsel_input (path, name, &but);

if ( !gl_naes && !gl_xaaes )
  wind_update (END_UPDATE);
-------------------------------cut-------------------------------

How can I check for MyAES? appl_getinfo_str ( 96 (AES_VERSION))?

Gerhard


