From mint-bounce@lists.fishpool.fi Tue Jun 22 11:49:00 2010 Message-ID: Content-Type: multipart/alternative; boundary="_07c6c5e7-8c3c-4245-b6c0-94e463d8da4b_" X-Originating-IP: [193.62.202.242] From: Matt Waller To: "Miro Kropacek (http://mikro.umpc.sk/)" , CC: mint Subject: Re: [MiNT] patch:MiNT:keyboard Date: Tue, 22 Jun 2010 16:43:03 +0100 Importance: Normal In-Reply-To: References: ,<0006a997.01b8d2629b5c@smtp.freeola.net>,,,, MIME-Version: 1.0 X-OriginalArrivalTime: 22 Jun 2010 15:43:03.0756 (UTC) FILETIME=[9A06F8C0:01CB1221] X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: mw333@hotmail.com Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: --_07c6c5e7-8c3c-4245-b6c0-94e463d8da4b_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable An older document [1985 Bios] refers to mouse buttons=2C which is an altern= ate idea.. (11) kbshift LONG kbshift(mode) WORD mode=3B = If 'mode' is non-negative=2C sets the keyboard s= hift bits accordingly and returns the old shift bits. If = 'mode' is less than zero=2C returns the IBM-PC compatibl= e state of the shift keys on the keyboard=2C as a bit-vecto= r in the low byte of D0. Bit assignments are: = 0 Right shift key 1 Left shift key = 2 Control key 3 ALT key = 4 Caps-lock 5 Right mou= se button (CLR/HOME) 6 Left mouse button (INSERT)= 7 (reserved=2C currently zero) From: mw333@hotmail.com To: miro.kropacek@gmail.com=3B joska@online.no CC: mint@lists.fishpool.fi Subject: Re: [MiNT] patch:MiNT:keyboard Date: Tue=2C 22 Jun 2010 16:30:54 +0100 > Date: Tue=2C 22 Jun 2010 16:05:53 +0200 > Subject: Re: [MiNT] patch:MiNT:keyboard > From: miro.kropacek@gmail.com > To: joska@online.no > CC: mint@lists.fishpool.fi >=20 > > I can't recall ever reading that Kbshift returns the status of Home and > > Insert > Compendium says so. > A google search came up with:http://cd.textfiles.com/ataricompendium/BOOK= /HTML/BIOS.HTM#kbshift2 K_CLRHOME 0x20 Clr/Home key depressedK_INSERT 0x40 Insert key = depressed Still not as definitive as having a machine in front of you.. Matt. >=20 > --=20 > MiKRO / Mystic Bytes > http://mikro.atari.org >=20 >=20 =20 Get a free e-mail account with Hotmail. Sign-up now. =20 _________________________________________________________________ http://clk.atdmt.com/UKM/go/195013117/direct/01/ We want to hear all your funny=2C exciting and crazy Hotmail stories. Tell = us now= --_07c6c5e7-8c3c-4245-b6c0-94e463d8da4b_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable An older document [1985 Bios] refers to mouse buttons=2C which is an altern= ate idea..

(11) kbshift
 =3B =3B =  =3B  =3B  =3B  =3B LONG kbshift(mode)
 =3B&n= bsp=3B  =3B  =3B  =3B  =3B WORD mode=3B
 =3B&= nbsp=3B  =3B  =3B  =3B  =3B  =3B  =3B  =3B If '= mode'  =3Bis  =3Bnon-negative=2C  =3Bsets  =3Bthe  =3Bk= eyboard
 =3B =3B  =3B  =3B  =3B  =3B &nbs= p=3B  =3B  =3B shift  =3Bbits accordingly and returns the old s= hift
 =3B =3B  =3B  =3B  =3B  =3B  = =3B  =3B  =3B bits.  =3BIf 'mode' is less than zero=2C  =3B= returns  =3Bthe
 =3B =3B  =3B  =3B  =3B &= nbsp=3B  =3B  =3B  =3B IBM-PC  =3Bcompatible state of the s= hift keys on the
 =3B =3B  =3B  =3B  =3B &nbs= p=3B  =3B  =3B  =3B keyboard=2C as a bit-vector in the low byte= of D0.
 =3B =3B  =3B  =3B  =3B  =3B &nbs= p=3B  =3B  =3B Bit assignments are:
 =3B =3B &nbs= p=3B  =3B  =3B  =3B  =3B  =3B  =3B  =3B  = =3B  =3B 0  =3B  =3B Right shift key
 =3B =3B=  =3B  =3B  =3B  =3B  =3B  =3B  =3B  =3B &n= bsp=3B  =3B 1  =3B  =3B Left shift key
 =3B = =3B  =3B  =3B  =3B  =3B  =3B  =3B  =3B  =3B=  =3B  =3B 2  =3B  =3B Control key
 =3B = =3B  =3B  =3B  =3B  =3B  =3B  =3B  =3B  =3B=  =3B  =3B 3  =3B  =3B ALT key
 =3B =3B &= nbsp=3B  =3B  =3B  =3B  =3B  =3B  =3B  =3B &nbs= p=3B  =3B 4  =3B  =3B Caps-lock
 =3B =3B &nbs= p=3B  =3B  =3B  =3B  =3B  =3B  =3B  =3B  = =3B  =3B 5  =3B  =3B Right mouse button (CLR/HOME)
&n= bsp=3B =3B  =3B  =3B  =3B  =3B  =3B  =3B  = =3B  =3B  =3B  =3B 6  =3B  =3B Left mouse button (INSER= T)
 =3B =3B  =3B  =3B  =3B  =3B  =3B =  =3B  =3B  =3B  =3B  =3B 7  =3B  =3B (reserved= =2C currently zero)


From: mw333@hotmail.co= m
To: miro.kropacek@gmail.com=3B joska@online.no
CC: mint@lists.fishp= ool.fi
Subject: Re: [MiNT] patch:MiNT:keyboard
Date: Tue=2C 22 Jun 20= 10 16:30:54 +0100

>=3B Date: Tue=2C 22 Jun 2010 16:05:53 +0200
>=3B Subject: Re: [MiNT= ] patch:MiNT:keyboard
>=3B From: miro.kropacek@gmail.com
>=3B To:= joska@online.no
>=3B CC: mint@lists.fishpool.fi
>=3B
>=3B = >=3B I can't recall ever reading that Kbshift returns the status of Home = and
>=3B >=3B Insert
>=3B Compendium says so.
>=3B =3B=
A google search came up with:
http://cd.textfiles.com/a= taricompendium/BOOK/HTML/BIOS.HTM#kbshift2

K_CLRHO= ME  =3B  =3B0x20  =3B  =3BClr/Home key depressed
= K_INSERT  =3B  =3B 0x40  =3B  =3BInsert key depressed
=

Still not as definitive as having a machine in front of= you..

Matt.

>=3B
>=3B= --
>=3B MiKRO / Mystic Bytes
>=3B http://mikro.atari.org
>= =3B
>=3B


Get a free e-mail account with= Hotmail. Sign= -up now.


Get a new e-mail account with Hot= mail - Free. Sign-up now. = --_07c6c5e7-8c3c-4245-b6c0-94e463d8da4b_--