Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!think!ames!oliveb!pyramid!batcomputer!braner From: braner@batcomputer.tn.cornell.edu (braner) Newsgroups: comp.sys.atari.st Subject: Re: Control-F1, Alt-F1 ??? - (nf) Message-ID: <1475@batcomputer.tn.cornell.edu> Date: Mon, 22-Jun-87 15:22:33 EDT Article-I.D.: batcompu.1475 Posted: Mon Jun 22 15:22:33 1987 Date-Received: Tue, 23-Jun-87 07:32:59 EDT References: <19400005@qtecmuc.UUCP> Reply-To: braner@tcgould.tn.cornell.edu (braner) Organization: Cornell Theory Center, Cornell University, Ithaca NY Lines: 16 Summary: Shift-Fn is easy, else use another BIOS call [] Remember that the BIOS calls return a long word, with the ASCII code in the lower 8 bits and the scan-code (tied to the physical key) in the upper word's lower byte (bits 16-23). The Fn keys return an ASCII code of zero, and so do Alt-keys. There is a separate BIOS function that returns the current status of the various shift keys (incl. Alt, Ctrl and Capslock). You need to call it right after you get a keypress to get the right info. Note that the shift keys change the ASCII code returned by some keys (e.g. shift-letter) but not the scan-code. Except that shifted Fn keys have different scan codes than the same Fn keys unshifted, and so do Alt-, where is a key in the set {[1],...,[=]} (row above QWERTY). - Moshe Braner