🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Control-F1, Alt-F1 ??? - (nf)

#27315
From: braner
Date: Mon, 22 Jun 1987 19:22
16 lines
1432 bytes
[]

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-<x>,
where <x> is a key in the set {[1],...,[=]} (row above QWERTY).

- Moshe Braner
Technical Details
Message-ID: <1475@batcomputer.tn.cornell.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!husc6!think!ames!oliveb!pyramid!batcomputer!braner
References: <19400005@qtecmuc.UUCP>

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!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