🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #25604

questions about TOS

#25604
From: braner
Date: Thu, 12 Mar 1987 06:56
14 lines
1264 bytes
[]

I know how to intercept the keyboard interrupt handler ($118), but
how can I tell what key was pressed?  Ideally, I'd like to be able
to grab a special key (e.g. Alt-shift-ctrl-Z) and react to it from
my own utility, so that TOS will never know it was pressed!  Alternatively,
I could let the usual handler do it's thing first.  But then where do I find
the info on what was it?

I have in mind the tricks used on IBM-PCs where you press a key and a
resident utility pops up (e.g. sidekick), or a resident utility translates
the key to a macro (e.g. superkey) or checks your spelling as you type.

- Moshe Braner
Technical Details
Message-ID: <405@batcomputer.tn.cornell.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!seismo!ll-xn!ames!lll-lcc!pyramid!batcomputer!braner

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!seismo!ll-xn!ames!lll-lcc!pyramid!batcomputer!braner
From: braner@batcomputer.UUCP
Newsgroups: comp.sys.atari.st
Subject: questions about TOS
Message-ID: <405@batcomputer.tn.cornell.edu>
Date: Thu, 12-Mar-87 01:56:20 EST
Article-I.D.: batcompu.405
Posted: Thu Mar 12 01:56:20 1987
Date-Received: Fri, 13-Mar-87 07:28:44 EST
Reply-To: braner@batcomputer.UUCP (braner)
Distribution: world
Organization: Theory Center, Cornell University, Ithaca NY
Lines: 14
Summary: intercepting the keyboard interrupt handler