Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #5390
| 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 | Sensing keypresses on the IIgs |
| Date | Sat, 01 Feb 2020 16:11:17 -0500 |
| Organization | A noiseless patient Spider |
| Lines | 19 |
| Message-ID | <877e16au8a.fsf@wardenclyffe.jk7.org> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | reader02.eternal-september.org; posting-host="543c86d210f28f71eb2c2dc108e38ce5"; logging-data="485"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+sJl9BXo0HeQy9onPxY/ylSve6Put0Vn0=" |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
| Cancel-Lock | sha1:Q1OU7cf2X/XnPG6vL7SHc22PJuk= sha1:N2fwWjR877UVTay/FJWTZUCBuzg= |
| Xref | csiph.com comp.sys.apple2.programmer:5390 |
Show key headers only | View raw
I've been writing some text based programs using ORCA/M on the IIgs to learn about 65816 assembly and using the IIgs toolbox. Just using the text tools I've managed to do a good deal of what I set out to accomplish, but now I find myself a bit stuck when it comes to keyboard input. Specifically I'd like to sense when a key is pressed and act on it rather than waiting for input. The text tools provide me with good tools for dealing with synchronous user input, but neither the text tools or the GS/OS .CONSOLE driver seem to handle asynch input, like what you might expect in a game. I've been reading the toolbox manuals and the event manager sounds like it might provide what I need, but it's not clear if I can use it with text based programs and I thought I'd ask here before coding up a test. Thanks in advance for your help! - James
Back to comp.sys.apple2.programmer | Previous | Next — Next in thread | Find similar | Unroll 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