🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Intercepting keystrokes on ST

#23750
From: David Brand
Date: Tue, 02 Dec 1986 00:12
18 lines
1248 bytes
WANTED: some sort of routine that catches control-C on the Atari ST
and (ideally) emulates a signal() call, but in desperation, I'll take
anything that just sets a flag when ctrl-C is hit.

The keystroke intercept routine from a memory resident utility would
probably be ideal.

If such a routine is not currently available, I could use some pointers
on where these characters are available to be intercepted.  Taking them
out of the acia seems to reset the interrupt condition and I don't feel
like duplicating Atari's entire ROM input routine.

Any pointers, references, hints... would be GREATLY appreciated.
-- 

					- Dave

...{decvax,ihnp4,ucbvax}!allegra!phri!orville!dvm!dave
Technical Details
Message-ID: <120@dvm.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!cmcl2!phri!orville!dvm!dave

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!cmcl2!phri!orville!dvm!dave
From: dave@dvm.UUCP (David Brand)
Newsgroups: comp.sys.atari.st
Subject: Intercepting keystrokes on ST
Message-ID: <120@dvm.UUCP>
Date: Mon, 1-Dec-86 19:12:15 EST
Article-I.D.: dvm.120
Posted: Mon Dec  1 19:12:15 1986
Date-Received: Tue, 2-Dec-86 06:28:35 EST
Reply-To: dave@dvm.UUCP (David Brand)
Distribution: world
Organization: Philon, Inc. (NY, NY)
Lines: 18
Keywords: memory resident, interrupts, keyboard, signal