Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!pacbell.com!att!oucsace!tswingle From: tswingle@oucsace.cs.OHIOU.EDU (Tom Swingle) Newsgroups: comp.lang.pascal Subject: Re: Keyboard lights Message-ID: <2534@oucsace.cs.OHIOU.EDU> Date: 16 Nov 90 00:19:21 GMT References: <2526@oucsace.cs.OHIOU.EDU> <11485@j.cc.purdue.edu> Distribution: na Organization: Ohio University CS Dept., Athens Lines: 11 In article <11485@j.cc.purdue.edu> zhou@brazil.psych.purdue.edu (Albert Zhou) writes: >It is said that it's not always safe to write things to BIOS data area, althoughyou can always read information from it. In this case I wonder if it is safe >to write on this area in order to change key status. I've read a lot of Pascal books that have code like this to modify keyboard status bytes, and none of them have ever mentioned this as being dangerous. This may not be true of everything, though, but keyboard status seems like a harmless enough thing to modify, although it can get annoying when the lights on the keyboard get out of synch with the status in memory. -- #include