Caps Control For 130XE
I have been reading your magazine for several years and I enjoy it a lot. At present, I'm doing some programming on an Atari 130XE. Would you tell me the correct PEEK to check the status of the Caps key?
Robert A. Engle
Location 702 reflects the status of the Caps key on all Atari eight-bit models. This location contains a zero if the keyboard is in lowercase mode, and 64 if the keyboard is in uppercase mode. The values in this location are always current when you're in immediate mode; when running a program, location 702 is updated only after you execute a GET or an INPUT statement. By POKEing a zero or 64 into location 702, you can change the keyboard status under program control.