From mint-bounce@lists.fishpool.fi  Thu Aug 31 17:43:27 2006
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
X-ME-UUID: 20060831153729784.BF78D1C0009A@mwinf1923.orange.fr
Date: Thu, 31 Aug 2006 17:37:28 +0200
From: Patrice Mandin <mandin.patrice@wanadoo.fr>
To: Mint list <mint@fishpool.com>
Subject: [MiNT] Extra keyboard mapping tables: bug?
Message-Id: <20060831173728.13328c7d.mandin.patrice@wanadoo.fr>
Organization: Chez moi
X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: mandin.patrice@wanadoo.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>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto: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.5 tagged_above=-50.5 required=7.0 tests=BAYES_00,
 RCVD_IN_BL_SPAMCOP_NET
X-Spam-Level: 
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by wh58-508.st.uni-magdeburg.de id k7VFhRUE023782

Hello,

The xbios function Keytbl() return a pointer to a structure holding
array pointers to map scancodes to ascii codes in various state (normal,
shift, caps), and with alt on tos>=4.x.

Each of these tables must be 128 byte long, but either for TOS 4.x, MiNT
or Emutos, the extra alt tables are only some bytes long, if not zero
length. So if an application try to read ascii code of key 110 for
example, it will point outside of the table.

So can someone explain how these extra tables should be used?

-- 
Patrice Mandin
WWW: http://pmandin.atari.org/
Programmeur Linux, Atari
Spécialité: Développement, jeux


