Home » Archimedes archive » Acorn User » AU 1997-06 B.adf » Extras » RiscUtils/!RuInstall/Install/!Help/Help/Draw/Help/Key-State/Page
RiscUtils/!RuInstall/Install/!Help/Help/Draw/Help/Key-State/Page
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Acorn User » AU 1997-06 B.adf » Extras |
Filename: | RiscUtils/!RuInstall/Install/!Help/Help/Draw/Help/Key-State/Page |
Read OK: | ✔ |
File size: | 18C0 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
Draw� Draw � � � 4 Trinity.Medium Corpus.Medium Acclamat X �? � � � � � ` t � � x 8 � � 8 � � ���\! 1 \F 0 Trinity.Medium 12 \F 1 Corpus.Medium 12 \0\AD/\L12 Check_KeyboardState : This command works along the same lines as the 'Check_KeyboardNumber' and 'Check_MouseState' commands (see the 'Key-Num' and 'Mouse-Stat' Helpfiles). It enables the user to find out what (if any) key is being pressed on the keyboard at the time the command is issued.Useful for intelligent Run file's. E.g. While Booting, press 'i' to Run Impression, 'a' for Artworks etc. Or before loading Edit, hold down 'F' to load flasher as well. If no key is pressed, only Edit is loaded. � � : � : ���\! 1 \F 0 Trinity.Medium 12 \F 1 Corpus.Medium 12 \0\AD/\L12 Using the command : � � " � � " � ���\! 1 \F 0 Trinity.Medium 12 \F 1 Corpus.Medium 12 \0\AD/\L12 The command has no parameters, once issued it simply sets a variable. The command provided is : � � � � � ���\! 1 \F 0 Trinity.Medium 12 \F 1 Corpus.Medium 12 \0\AD/\L12 Check_KeyBoardState � \ J � \ J � ���\! 1 \F 0 Trinity.Medium 12 \F 1 Corpus.Medium 12 \0\AD/\L12 When issued the variable � > R > R ���\! 1 \F 0 Trinity.Medium 12 \F 1 Corpus.Medium 12 \0\AD/\L12 KeyBoardState � � � ���\! 1 \F 0 Trinity.Medium 12 \F 1 Corpus.Medium 12 \0\AD/\L12 is set to a certain value, depending on the state of the keyboard. � � � � � � ���\! 1 \F 0 Trinity.Medium 12 \F 1 Corpus.Medium 12 \0\AD/\L12 To get to grips with the command easliy, run the files KeyState1, and State-Con, in the Directory RISCutils.User_Area.Demo's. � 4 � b 4 � b ���\! 1 \F 0 Trinity.Medium 12 \F 1 Corpus.Medium 12 \0\AD/\L12 The command can be used as so: (E.g. in boot sequences) � � . � . ���\! 1 \F 0 Trinity.Medium 12 \F 1 Corpus.Medium 12 \0\AD/\L12 Run ADFS::HardDisc4.$.!Tools.FILES.!RISCutils � � � � � ���\! 1 \F 0 Trinity.Medium 12 \F 1 Corpus.Medium 12 \0\AD/\L12 Check_KeyBoardState � � � � � � � ���\! 1 \F 0 Trinity.Medium 12 \F 1 Corpus.Medium 12 \0\AD/\L12 IF keyboardstate=�3� Then Run ADFS::HardDisc4.$.!Games.Files.!Star3000 � t z � t z � ���\! 1 \F 0 Trinity.Medium 12 \F 1 Corpus.Medium 12 \0\AD/\L12 IF keyboardstate=�i� Then Run ADFS::HardDisc4.$.!DTP.Packages.!Publish+ "