Article View: comp.sys.amiga.tech
Article #13682Re: Reading the keyboard without a window.
From: Juhana R{s{nen
Date: Tue, 13 Feb 1990 14:07
Date: Tue, 13 Feb 1990 14:07
52 lines
3450 bytes
3450 bytes
In article <131583@sun.Eng.Sun.COM> cmcmanis@sun.UUCP (Chuck McManis) writes:
>AAAAAAAAAAAAAAAAAAAAARRRRRRRRRRRRRRRRRRRRRGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHH!
SSSSSSSSSSSSSSSSSSSSSOOOOOOOOOOOOOOOOOORRRRRRRRRRRRRRRRRYYYYYYYYYYYYYYYY!
>In article <1990Feb9.150945.29787@santra.uucp> (Juhana R{s{nen) writes:
>> One (quite brutal) way to do this is to read the keyboard input register
>> directly. The address is (I belive) $bfec01, and there you'll see the
>> latest keyboard event (both presses and releases).
>
>WRONG!WRONG!WRONG!WRONG!WRONG
>There are so many *SUPPORTED* ways to do this without some bogus reading of
>an Address that may or may not be there in a different model that this sort
>of approach should never ever even be considered except in jest.
OK, OK, agreed. I wasn't quite suggesting THIS and perhaps my suggestion of
adding an custom interrupt handler wasn't the most sensible when you consider
that maybe someone else would like to use your program. But I hope the fact
that it wasn't me who was making the game relieves you even a bit. I only
told what I would have done in all my stupidness.
>I hate to generalize
>to "europeans" but this kind of answer seems to constantly originate on your
>side of the Atlantic, Why?
Well, every continent seems to have some very own bad habits. What annoys me
on YOUR side, are the numerous programs that don't support national keyboards,
and this problem is ancient compared with ours (as you can see when you see my
name, the braces should be 'a's with dots). 7-bit ASCII has annoyed for decades
countless Germans, Scandinavians and others having other alphabets than found
in English in their language. And even on Amiga, which has all means to avoid
national problems, you see programs that ignore keymap settings and use the
standard UK or USASCII keyboard. (For example, the version of LSE which came
with Lattice C 5.00. The problem has been corrected now.) But please, let's not
make a war between continents of this.
>Don't you guys get the documentation? Don't you read it?
Sometimes I wonder this myself. It seems to take much more time for a manual
than information of all new features and promises to cross the Atlantic.
When you know that your manual (that costs money!) will be old by the time
you get it into your hands, you decide to wait for the new version. You see,
we have to live in the future here!
>--Chuck McManis
>uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@Eng.Sun.COM
>These opinions are my own and no one elses, but you knew that didn't you.
>"If it didn't have bones in it, it wouldn't be crunchy now would it?!"
Juhana R{s{nen / justus@niksula.hut.fi
--
.... C'mon Joker...... Sing me a song......
Technical Details
Message-ID:
<1990Feb13.140718.26883@santra.uucp>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!eru!luth!sunic!tut!santra!robin.hut.fi!justusReferences:
<6675@ucdavis.ucdavis.edu> <1990Feb9.150945.29787@santra.uucp> <131583@sun.Eng.Sun.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!eru!luth!sunic!tut!santra!robin.hut.fi!justus
From: justus@robin.hut.fi (Juhana R{s{nen)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Reading the keyboard without a window.
Keywords: keyboard,read,easy?
Message-ID: <1990Feb13.140718.26883@santra.uucp>
Date: 13 Feb 90 14:07:18 GMT
References: <6675@ucdavis.ucdavis.edu> <1990Feb9.150945.29787@santra.uucp> <131583@sun.Eng.Sun.COM>
Sender: news@santra.uucp (Cnews - USENET news system)
Reply-To: justus@niksula.hut.fi (Juhana R{s{nen)
Organization: Helsinki University of Technology, Finland
Lines: 52