Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!cmcl2!husc6!husc4!fry_b From: fry_b@husc4.harvard.edu (david fry) Newsgroups: comp.sys.mac Subject: FKEY's from Aztec C Message-ID: <821@husc6.UUCP> Date: Thu, 4-Dec-86 01:55:01 EST Article-I.D.: husc6.821 Posted: Thu Dec 4 01:55:01 1986 Date-Received: Thu, 4-Dec-86 04:44:17 EST Sender: news@husc6.UUCP Reply-To: fry_b@husc4.UUCP (david fry) Distribution: net Organization: Harvard Science Center Lines: 19 Keywords: FKEY's, Aztec C, registers A4 and A5 I have a small application that I'm trying to convert to an FKEY. My FKEY's usually work for a little while, but end up crashing whatever program they're running under, so I'm obviously not doing something right. I'm writing this in Aztec C, which provides an option to compile using A4 instead of A5 to access the appliation globals. They recommend using this for drivers and DA's so I should be using it for FKEY's as well. But I want to use Quickdraw globals, like randSeed and screenBits, in my FKEY so I want to use A5 for that. Does someone have an example of an FKEY written in C or Pascal, and hopefully one that uses Quickdraw globals? I'd appreciate it, because I'd like to know how to cut this Gordian knot. David Fry fry@huma1.harvard.EDU Department of Mathematics fry@harvma1.bitnet Harvard University fry%huma1@harvsc4.bitnet Cambridge, MA 02138 ...!harvard!huma1!fry