Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #5392

Re: Sensing keypresses on the IIgs

Path csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From James Kruth <james@kruth.org>
Newsgroups comp.sys.apple2.programmer
Subject Re: Sensing keypresses on the IIgs
Date Sat, 01 Feb 2020 23:10:40 -0500
Organization A noiseless patient Spider
Lines 16
Message-ID <8736btbpdr.fsf@wardenclyffe.jk7.org> (permalink)
References <877e16au8a.fsf@wardenclyffe.jk7.org> <060beed4-a794-4be6-b581-40f739f0a1a0@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain
Injection-Info reader02.eternal-september.org; posting-host="ea845cb359c7d6fd64a482ecbfc5cad0"; logging-data="23099"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/uxhCgHOLGSfPWvQ4BJSP4vIEXtapKjFs="
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
Cancel-Lock sha1:LC+70EGh5vb0DFpV5GMAeSJtXYc= sha1:y8lvNwBbon561BhXdtS4Zpe60Uc=
Xref csiph.com comp.sys.apple2.programmer:5392

Show key headers only | View raw


jgandersen@gmail.com writes:

> You can use the event manager. By far the easiest thing to do is use
> $C010, and $C000, to detect when a key is pressed, and to read what
> the key is. This is compatible with the rest of the ][ series.

I've been trying to stick to toolbox access, but this might be far
easier than using the rather complicated event manager. I appreciate the
suggestion.

I'm wondering, since I'm operating in 16-bit mode, I imagine my keyboard
routines would have to save the data bank register, then set it to 0,
read the keyboard, and then return the data bank to it's previous state.
Am I missing anything?

- James

Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Sensing keypresses on the IIgs James Kruth <james@kruth.org> - 2020-02-01 16:11 -0500
  Re: Sensing keypresses on the IIgs jgandersen@gmail.com - 2020-02-01 14:17 -0800
    Re: Sensing keypresses on the IIgs James Kruth <james@kruth.org> - 2020-02-01 23:10 -0500
      Re: Sensing keypresses on the IIgs kegs@provalid.com (Kent Dickey) - 2020-02-01 23:17 -0600
        Re: Sensing keypresses on the IIgs James Kruth <james@kruth.org> - 2020-02-08 22:30 -0500
          Re: Sensing keypresses on the IIgs kegs@provalid.com (Kent Dickey) - 2020-02-09 15:26 -0600
  Re: Sensing keypresses on the IIgs Andy McFadden <thefadden@gmail.com> - 2020-02-02 07:52 -0800
    Re: Sensing keypresses on the IIgs James Kruth <james@kruth.org> - 2020-02-03 00:10 -0500
      Re: Sensing keypresses on the IIgs Andy McFadden <thefadden@gmail.com> - 2020-02-03 07:52 -0800
  Sensing keypresses on the IIgs gids.rs@sasktel.net - 2020-02-02 13:07 -0800
    Re: Sensing keypresses on the IIgs James Kruth <james@kruth.org> - 2020-02-02 23:57 -0500
      Re: Sensing keypresses on the IIgs gids.rs@sasktel.net - 2020-02-02 21:25 -0800
      Re: Sensing keypresses on the IIgs kelvin@pro-kegs.uucp (Kelvin Sherlock) - 2020-02-05 00:06 -0500
        Re: Sensing keypresses on the IIgs James Kruth <james@kruth.org> - 2020-02-08 22:56 -0500

csiph-web