Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!cmcl2!adm!xadmx!MATHRICH@umcvmb.missouri.edu From: MATHRICH@umcvmb.missouri.edu (Rich Winkel UMC Math Department) Newsgroups: comp.lang.pascal Subject: Re: caps lock toggle question Message-ID: <18534@adm.BRL.MIL> Date: 4 Mar 89 07:33:16 GMT Sender: news@adm.BRL.MIL Lines: 10 My XT tech reference here says the caps lock state is indicated by a 1 in bit $40 at byte $40:$17. So: mem($40:$17):=mem($40:$17) OR $40; (* turns on caps lock state *) mem($40:$17):=mem($40:$17) AND $BF; (* turns off caps lock state *) (sorry, I can't enter square brackets on this keyboard .. mem should have brackets, not parens) Rich