Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!umich!umeecs!msi-s0.msi.umn.edu!cs.umn.edu!thelake!steve From: steve@thelake.mn.org (Steve Yelvington) Newsgroups: comp.sys.atari.st Subject: Re: Technical Q: keyclick Message-ID: Date: 31 May 90 00:55:32 GMT References: <11038@sdcc6.ucsd.edu> Organization: Otter Lake Leisure Society Lines: 31 X-Member-Of: STdNET [In article <11038@sdcc6.ucsd.edu>, zz1jm@sdcc4.ucsd.edu (Jon McCarty) writes ... ] > I've been scrounging through all my docs but I can't find any > reference to how to inquire and change the keyclick state. I don't > want to replace it, just shut it off. > > I'd appreciate any pointers to some bios or xbios call I missed, > or whatever. It's a bit in the conterm system variable in protected memory at 0x484. Here's a fairly paranoid program that turns it off. #include main() { long ssp; char conterm; ssp = Super(0L); /* enter supervisor mode */ conterm = *(char *)0x484; /* get conterm */ Super(ssp); /* back to normal */ conterm = conterm & 0xFE; /* nuke the keyclick bit */ ssp = Super(0L); /* enter supervisor mode */ *(char *)0x484 = conterm; /* set conterm */ Super(ssp); /* back to normal again */ } -- Steve Yelvington at the lake in Minnesota (Ah, summer... leech season...)