Home » Archimedes archive » Acorn User » AU 1996-12 B.adf » Regulars_2 » StarInfo/Clifford/!Macros/Documents/ReadMe
StarInfo/Clifford/!Macros/Documents/ReadMe
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 1996-12 B.adf » Regulars_2 |
Filename: | StarInfo/Clifford/!Macros/Documents/ReadMe |
Read OK: | ✔ |
File size: | 0EDD bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
Macros 0.10 (02 Aug 1996) by Paul Clifford ========================================== This module allows actions to be assigned to user defined key combinations. The actions can either be simple star commands or, for greater flexibility, pieces of ARM code, and can be executed both in and out of the desktop environment. Simple usage ------------ The *Macro command can be used to attach star commands to a list of keys using the following syntax: *Macro <key list> : <command> [parameters] The key names are case insensitive and the | character may be used to specify 'or'. For example: LeftAlt | RightAlt Insert LeftCtrl | LeftShift | LeftAlt F1 | F2 | F3 The first will accept the left or right alt keys, plus insert. The second will accept the left ctrl, shift or alt keys, plus either F1, F2 or F3. Two examples of valid macros would be: *Macro LeftAlt | RightAlt PageUp : Cache On *Macro RightAlt LeftAlt : ScreenSave $.Screen A list of all the defined macros can be obtained with *ListMacros, and they may be removed using *RemoveMacro, followed by the list of keys (without the corresponding action). For example, to remove the above two macros: *RemoveMacro LeftAlt | RightAlt PageUp *RemoveMacro RightAlt LeftAlt More advanced use ----------------- A more powerful macro can be defined by writing a piece of code to be called when the keys are pressed. There are several examples supplied, with source code, which are detailed in the 'MacroCode' file. To write your own requires knowledge of ARM assembly language - see the 'CodeFormat' file and examples for more information. To attach a code module requires the same syntax as attaching a star command, except two colons are used: *Macro RightAlt CursorDown :: CDControl 4 *Macro LeftAlt | RightAlt Break :: Watchdog Before these macros will have any effect though, the code in question must be loaded into memory using the *MacroCode command. The names of all loaded code modules can be found by looking at *ListMacroCode, which also gives a brief description, together with version and date. Code modules are removed using *RemoveMacroCode, passing the name of the module in question: *RemoveMacroCode Watchdog *RemoveMacroCode CDControl Any macros using the code will cease to work until the name becomes valid again. Notes on key naming ------------------- Some keys can be referred to by multiple names: Alt : LeftAlt, AltLeft, RightAlt, AltRight Shift : LeftShift, ShiftLeft, RightShift, ShiftRight Ctrl : LeftCtrl, CtrlLeft, RightCtrl, CtrlRight Cursors: CursorUp, Up, CursorDown, Down, CursorLeft, Left, CursorRight, Right Key names can be replaced or added to by use of a keymap file which is passed to the module when it is first loaded. This is used to cater for the Risc PC's keyboard, which is different from those supplied with previous Acorn machines. If you wish to write your own custom keymaps, take a look at 'KeyMaps.PCKeysSrc' for an example. Examples -------- The 'Example' obey file will set up a number of macros to demonstrate the module, providing various functions depending on the setup of your machine. Load it into a text editor to see the comments describing what each of the macros does, or type *ListMacros after running it to see those installed. Also supplied is an obey file called 'FKeys'. This sets up macros which allow the use of function keys to enter text outside of the command line. Pressing alt and the function key will enter the text stored in the system variable, Key$XXYY. YY is the number of the function key, and XX is either S (shift), C (ctrl) or SC (shift and ctrl), eg: *Set Key$S1 Alt, shift and F1 have been pressed *Set Key$C10 Alt, ctrl and F10 have been pressed *Set Key$0 Alt and print/F0 have been pressed
00000000 4d 61 63 72 6f 73 20 30 2e 31 30 20 28 30 32 20 |Macros 0.10 (02 | 00000010 41 75 67 20 31 39 39 36 29 20 62 79 20 50 61 75 |Aug 1996) by Pau| 00000020 6c 20 43 6c 69 66 66 6f 72 64 0a 3d 3d 3d 3d 3d |l Clifford.=====| 00000030 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00000050 3d 3d 3d 3d 3d 0a 0a 54 68 69 73 20 6d 6f 64 75 |=====..This modu| 00000060 6c 65 20 61 6c 6c 6f 77 73 20 61 63 74 69 6f 6e |le allows action| 00000070 73 20 74 6f 20 62 65 20 61 73 73 69 67 6e 65 64 |s to be assigned| 00000080 20 74 6f 20 75 73 65 72 20 64 65 66 69 6e 65 64 | to user defined| 00000090 20 6b 65 79 0a 63 6f 6d 62 69 6e 61 74 69 6f 6e | key.combination| 000000a0 73 2e 20 54 68 65 20 61 63 74 69 6f 6e 73 20 63 |s. The actions c| 000000b0 61 6e 20 65 69 74 68 65 72 20 62 65 20 73 69 6d |an either be sim| 000000c0 70 6c 65 20 73 74 61 72 20 63 6f 6d 6d 61 6e 64 |ple star command| 000000d0 73 20 6f 72 2c 20 66 6f 72 0a 67 72 65 61 74 65 |s or, for.greate| 000000e0 72 20 66 6c 65 78 69 62 69 6c 69 74 79 2c 20 70 |r flexibility, p| 000000f0 69 65 63 65 73 20 6f 66 20 41 52 4d 20 63 6f 64 |ieces of ARM cod| 00000100 65 2c 20 61 6e 64 20 63 61 6e 20 62 65 20 65 78 |e, and can be ex| 00000110 65 63 75 74 65 64 20 62 6f 74 68 20 69 6e 0a 61 |ecuted both in.a| 00000120 6e 64 20 6f 75 74 20 6f 66 20 74 68 65 20 64 65 |nd out of the de| 00000130 73 6b 74 6f 70 20 65 6e 76 69 72 6f 6e 6d 65 6e |sktop environmen| 00000140 74 2e 0a 0a 0a 53 69 6d 70 6c 65 20 75 73 61 67 |t....Simple usag| 00000150 65 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a |e.------------..| 00000160 54 68 65 20 2a 4d 61 63 72 6f 20 63 6f 6d 6d 61 |The *Macro comma| 00000170 6e 64 20 63 61 6e 20 62 65 20 75 73 65 64 20 74 |nd can be used t| 00000180 6f 20 61 74 74 61 63 68 20 73 74 61 72 20 63 6f |o attach star co| 00000190 6d 6d 61 6e 64 73 20 74 6f 20 61 20 6c 69 73 74 |mmands to a list| 000001a0 20 6f 66 0a 6b 65 79 73 20 75 73 69 6e 67 20 74 | of.keys using t| 000001b0 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 73 79 6e |he following syn| 000001c0 74 61 78 3a 0a 20 20 2a 4d 61 63 72 6f 20 3c 6b |tax:. *Macro <k| 000001d0 65 79 20 6c 69 73 74 3e 20 3a 20 3c 63 6f 6d 6d |ey list> : <comm| 000001e0 61 6e 64 3e 20 5b 70 61 72 61 6d 65 74 65 72 73 |and> [parameters| 000001f0 5d 0a 0a 54 68 65 20 6b 65 79 20 6e 61 6d 65 73 |]..The key names| 00000200 20 61 72 65 20 63 61 73 65 20 69 6e 73 65 6e 73 | are case insens| 00000210 69 74 69 76 65 20 61 6e 64 20 74 68 65 20 7c 20 |itive and the | | 00000220 63 68 61 72 61 63 74 65 72 20 6d 61 79 20 62 65 |character may be| 00000230 20 75 73 65 64 20 74 6f 0a 73 70 65 63 69 66 79 | used to.specify| 00000240 20 27 6f 72 27 2e 20 46 6f 72 20 65 78 61 6d 70 | 'or'. For examp| 00000250 6c 65 3a 0a 20 20 4c 65 66 74 41 6c 74 20 7c 20 |le:. LeftAlt | | 00000260 52 69 67 68 74 41 6c 74 20 49 6e 73 65 72 74 0a |RightAlt Insert.| 00000270 20 20 4c 65 66 74 43 74 72 6c 20 7c 20 4c 65 66 | LeftCtrl | Lef| 00000280 74 53 68 69 66 74 20 7c 20 4c 65 66 74 41 6c 74 |tShift | LeftAlt| 00000290 20 46 31 20 7c 20 46 32 20 7c 20 46 33 0a 54 68 | F1 | F2 | F3.Th| 000002a0 65 20 66 69 72 73 74 20 77 69 6c 6c 20 61 63 63 |e first will acc| 000002b0 65 70 74 20 74 68 65 20 6c 65 66 74 20 6f 72 20 |ept the left or | 000002c0 72 69 67 68 74 20 61 6c 74 20 6b 65 79 73 2c 20 |right alt keys, | 000002d0 70 6c 75 73 20 69 6e 73 65 72 74 2e 20 54 68 65 |plus insert. The| 000002e0 0a 73 65 63 6f 6e 64 20 77 69 6c 6c 20 61 63 63 |.second will acc| 000002f0 65 70 74 20 74 68 65 20 6c 65 66 74 20 63 74 72 |ept the left ctr| 00000300 6c 2c 20 73 68 69 66 74 20 6f 72 20 61 6c 74 20 |l, shift or alt | 00000310 6b 65 79 73 2c 20 70 6c 75 73 20 65 69 74 68 65 |keys, plus eithe| 00000320 72 20 46 31 2c 0a 46 32 20 6f 72 20 46 33 2e 0a |r F1,.F2 or F3..| 00000330 0a 54 77 6f 20 65 78 61 6d 70 6c 65 73 20 6f 66 |.Two examples of| 00000340 20 76 61 6c 69 64 20 6d 61 63 72 6f 73 20 77 6f | valid macros wo| 00000350 75 6c 64 20 62 65 3a 0a 20 20 2a 4d 61 63 72 6f |uld be:. *Macro| 00000360 20 4c 65 66 74 41 6c 74 20 7c 20 52 69 67 68 74 | LeftAlt | Right| 00000370 41 6c 74 20 50 61 67 65 55 70 20 3a 20 43 61 63 |Alt PageUp : Cac| 00000380 68 65 20 4f 6e 0a 20 20 2a 4d 61 63 72 6f 20 52 |he On. *Macro R| 00000390 69 67 68 74 41 6c 74 20 4c 65 66 74 41 6c 74 20 |ightAlt LeftAlt | 000003a0 3a 20 53 63 72 65 65 6e 53 61 76 65 20 24 2e 53 |: ScreenSave $.S| 000003b0 63 72 65 65 6e 0a 0a 41 20 6c 69 73 74 20 6f 66 |creen..A list of| 000003c0 20 61 6c 6c 20 74 68 65 20 64 65 66 69 6e 65 64 | all the defined| 000003d0 20 6d 61 63 72 6f 73 20 63 61 6e 20 62 65 20 6f | macros can be o| 000003e0 62 74 61 69 6e 65 64 20 77 69 74 68 20 2a 4c 69 |btained with *Li| 000003f0 73 74 4d 61 63 72 6f 73 2c 20 61 6e 64 0a 74 68 |stMacros, and.th| 00000400 65 79 20 6d 61 79 20 62 65 20 72 65 6d 6f 76 65 |ey may be remove| 00000410 64 20 75 73 69 6e 67 20 2a 52 65 6d 6f 76 65 4d |d using *RemoveM| 00000420 61 63 72 6f 2c 20 66 6f 6c 6c 6f 77 65 64 20 62 |acro, followed b| 00000430 79 20 74 68 65 20 6c 69 73 74 20 6f 66 20 6b 65 |y the list of ke| 00000440 79 73 0a 28 77 69 74 68 6f 75 74 20 74 68 65 20 |ys.(without the | 00000450 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 61 63 |corresponding ac| 00000460 74 69 6f 6e 29 2e 20 46 6f 72 20 65 78 61 6d 70 |tion). For examp| 00000470 6c 65 2c 20 74 6f 20 72 65 6d 6f 76 65 20 74 68 |le, to remove th| 00000480 65 20 61 62 6f 76 65 0a 74 77 6f 20 6d 61 63 72 |e above.two macr| 00000490 6f 73 3a 0a 20 20 2a 52 65 6d 6f 76 65 4d 61 63 |os:. *RemoveMac| 000004a0 72 6f 20 4c 65 66 74 41 6c 74 20 7c 20 52 69 67 |ro LeftAlt | Rig| 000004b0 68 74 41 6c 74 20 50 61 67 65 55 70 0a 20 20 2a |htAlt PageUp. *| 000004c0 52 65 6d 6f 76 65 4d 61 63 72 6f 20 52 69 67 68 |RemoveMacro Righ| 000004d0 74 41 6c 74 20 4c 65 66 74 41 6c 74 0a 0a 0a 4d |tAlt LeftAlt...M| 000004e0 6f 72 65 20 61 64 76 61 6e 63 65 64 20 75 73 65 |ore advanced use| 000004f0 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |.---------------| 00000500 2d 2d 0a 0a 41 20 6d 6f 72 65 20 70 6f 77 65 72 |--..A more power| 00000510 66 75 6c 20 6d 61 63 72 6f 20 63 61 6e 20 62 65 |ful macro can be| 00000520 20 64 65 66 69 6e 65 64 20 62 79 20 77 72 69 74 | defined by writ| 00000530 69 6e 67 20 61 20 70 69 65 63 65 20 6f 66 20 63 |ing a piece of c| 00000540 6f 64 65 20 74 6f 20 62 65 0a 63 61 6c 6c 65 64 |ode to be.called| 00000550 20 77 68 65 6e 20 74 68 65 20 6b 65 79 73 20 61 | when the keys a| 00000560 72 65 20 70 72 65 73 73 65 64 2e 20 54 68 65 72 |re pressed. Ther| 00000570 65 20 61 72 65 20 73 65 76 65 72 61 6c 20 65 78 |e are several ex| 00000580 61 6d 70 6c 65 73 20 73 75 70 70 6c 69 65 64 2c |amples supplied,| 00000590 0a 77 69 74 68 20 73 6f 75 72 63 65 20 63 6f 64 |.with source cod| 000005a0 65 2c 20 77 68 69 63 68 20 61 72 65 20 64 65 74 |e, which are det| 000005b0 61 69 6c 65 64 20 69 6e 20 74 68 65 20 27 4d 61 |ailed in the 'Ma| 000005c0 63 72 6f 43 6f 64 65 27 20 66 69 6c 65 2e 20 54 |croCode' file. T| 000005d0 6f 20 77 72 69 74 65 0a 79 6f 75 72 20 6f 77 6e |o write.your own| 000005e0 20 72 65 71 75 69 72 65 73 20 6b 6e 6f 77 6c 65 | requires knowle| 000005f0 64 67 65 20 6f 66 20 41 52 4d 20 61 73 73 65 6d |dge of ARM assem| 00000600 62 6c 79 20 6c 61 6e 67 75 61 67 65 20 2d 20 73 |bly language - s| 00000610 65 65 20 74 68 65 0a 27 43 6f 64 65 46 6f 72 6d |ee the.'CodeForm| 00000620 61 74 27 20 66 69 6c 65 20 61 6e 64 20 65 78 61 |at' file and exa| 00000630 6d 70 6c 65 73 20 66 6f 72 20 6d 6f 72 65 20 69 |mples for more i| 00000640 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0a 0a 54 6f 20 |nformation...To | 00000650 61 74 74 61 63 68 20 61 20 63 6f 64 65 20 6d 6f |attach a code mo| 00000660 64 75 6c 65 20 72 65 71 75 69 72 65 73 20 74 68 |dule requires th| 00000670 65 20 73 61 6d 65 20 73 79 6e 74 61 78 20 61 73 |e same syntax as| 00000680 20 61 74 74 61 63 68 69 6e 67 20 61 20 73 74 61 | attaching a sta| 00000690 72 0a 63 6f 6d 6d 61 6e 64 2c 20 65 78 63 65 70 |r.command, excep| 000006a0 74 20 74 77 6f 20 63 6f 6c 6f 6e 73 20 61 72 65 |t two colons are| 000006b0 20 75 73 65 64 3a 0a 20 20 2a 4d 61 63 72 6f 20 | used:. *Macro | 000006c0 52 69 67 68 74 41 6c 74 20 43 75 72 73 6f 72 44 |RightAlt CursorD| 000006d0 6f 77 6e 20 3a 3a 20 43 44 43 6f 6e 74 72 6f 6c |own :: CDControl| 000006e0 20 34 0a 20 20 2a 4d 61 63 72 6f 20 4c 65 66 74 | 4. *Macro Left| 000006f0 41 6c 74 20 7c 20 52 69 67 68 74 41 6c 74 20 42 |Alt | RightAlt B| 00000700 72 65 61 6b 20 3a 3a 20 57 61 74 63 68 64 6f 67 |reak :: Watchdog| 00000710 0a 0a 42 65 66 6f 72 65 20 74 68 65 73 65 20 6d |..Before these m| 00000720 61 63 72 6f 73 20 77 69 6c 6c 20 68 61 76 65 20 |acros will have | 00000730 61 6e 79 20 65 66 66 65 63 74 20 74 68 6f 75 67 |any effect thoug| 00000740 68 2c 20 74 68 65 20 63 6f 64 65 20 69 6e 20 71 |h, the code in q| 00000750 75 65 73 74 69 6f 6e 0a 6d 75 73 74 20 62 65 20 |uestion.must be | 00000760 6c 6f 61 64 65 64 20 69 6e 74 6f 20 6d 65 6d 6f |loaded into memo| 00000770 72 79 20 75 73 69 6e 67 20 74 68 65 20 2a 4d 61 |ry using the *Ma| 00000780 63 72 6f 43 6f 64 65 20 63 6f 6d 6d 61 6e 64 2e |croCode command.| 00000790 20 54 68 65 20 6e 61 6d 65 73 20 6f 66 0a 61 6c | The names of.al| 000007a0 6c 20 6c 6f 61 64 65 64 20 63 6f 64 65 20 6d 6f |l loaded code mo| 000007b0 64 75 6c 65 73 20 63 61 6e 20 62 65 20 66 6f 75 |dules can be fou| 000007c0 6e 64 20 62 79 20 6c 6f 6f 6b 69 6e 67 20 61 74 |nd by looking at| 000007d0 20 2a 4c 69 73 74 4d 61 63 72 6f 43 6f 64 65 2c | *ListMacroCode,| 000007e0 0a 77 68 69 63 68 20 61 6c 73 6f 20 67 69 76 65 |.which also give| 000007f0 73 20 61 20 62 72 69 65 66 20 64 65 73 63 72 69 |s a brief descri| 00000800 70 74 69 6f 6e 2c 20 74 6f 67 65 74 68 65 72 20 |ption, together | 00000810 77 69 74 68 20 76 65 72 73 69 6f 6e 20 61 6e 64 |with version and| 00000820 20 64 61 74 65 2e 0a 0a 43 6f 64 65 20 6d 6f 64 | date...Code mod| 00000830 75 6c 65 73 20 61 72 65 20 72 65 6d 6f 76 65 64 |ules are removed| 00000840 20 75 73 69 6e 67 20 2a 52 65 6d 6f 76 65 4d 61 | using *RemoveMa| 00000850 63 72 6f 43 6f 64 65 2c 20 70 61 73 73 69 6e 67 |croCode, passing| 00000860 20 74 68 65 20 6e 61 6d 65 20 6f 66 0a 74 68 65 | the name of.the| 00000870 20 6d 6f 64 75 6c 65 20 69 6e 20 71 75 65 73 74 | module in quest| 00000880 69 6f 6e 3a 0a 20 20 2a 52 65 6d 6f 76 65 4d 61 |ion:. *RemoveMa| 00000890 63 72 6f 43 6f 64 65 20 57 61 74 63 68 64 6f 67 |croCode Watchdog| 000008a0 0a 20 20 2a 52 65 6d 6f 76 65 4d 61 63 72 6f 43 |. *RemoveMacroC| 000008b0 6f 64 65 20 43 44 43 6f 6e 74 72 6f 6c 0a 41 6e |ode CDControl.An| 000008c0 79 20 6d 61 63 72 6f 73 20 75 73 69 6e 67 20 74 |y macros using t| 000008d0 68 65 20 63 6f 64 65 20 77 69 6c 6c 20 63 65 61 |he code will cea| 000008e0 73 65 20 74 6f 20 77 6f 72 6b 20 75 6e 74 69 6c |se to work until| 000008f0 20 74 68 65 20 6e 61 6d 65 20 62 65 63 6f 6d 65 | the name become| 00000900 73 0a 76 61 6c 69 64 20 61 67 61 69 6e 2e 0a 0a |s.valid again...| 00000910 0a 4e 6f 74 65 73 20 6f 6e 20 6b 65 79 20 6e 61 |.Notes on key na| 00000920 6d 69 6e 67 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |ming.-----------| 00000930 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 53 6f 6d 65 20 6b |--------..Some k| 00000940 65 79 73 20 63 61 6e 20 62 65 20 72 65 66 65 72 |eys can be refer| 00000950 72 65 64 20 74 6f 20 62 79 20 6d 75 6c 74 69 70 |red to by multip| 00000960 6c 65 20 6e 61 6d 65 73 3a 0a 20 20 41 6c 74 20 |le names:. Alt | 00000970 20 20 20 3a 20 4c 65 66 74 41 6c 74 2c 20 41 6c | : LeftAlt, Al| 00000980 74 4c 65 66 74 2c 20 52 69 67 68 74 41 6c 74 2c |tLeft, RightAlt,| 00000990 20 41 6c 74 52 69 67 68 74 0a 20 20 53 68 69 66 | AltRight. Shif| 000009a0 74 20 20 3a 20 4c 65 66 74 53 68 69 66 74 2c 20 |t : LeftShift, | 000009b0 53 68 69 66 74 4c 65 66 74 2c 20 52 69 67 68 74 |ShiftLeft, Right| 000009c0 53 68 69 66 74 2c 20 53 68 69 66 74 52 69 67 68 |Shift, ShiftRigh| 000009d0 74 0a 20 20 43 74 72 6c 20 20 20 3a 20 4c 65 66 |t. Ctrl : Lef| 000009e0 74 43 74 72 6c 2c 20 43 74 72 6c 4c 65 66 74 2c |tCtrl, CtrlLeft,| 000009f0 20 52 69 67 68 74 43 74 72 6c 2c 20 43 74 72 6c | RightCtrl, Ctrl| 00000a00 52 69 67 68 74 0a 20 20 43 75 72 73 6f 72 73 3a |Right. Cursors:| 00000a10 20 43 75 72 73 6f 72 55 70 2c 20 55 70 2c 20 43 | CursorUp, Up, C| 00000a20 75 72 73 6f 72 44 6f 77 6e 2c 20 44 6f 77 6e 2c |ursorDown, Down,| 00000a30 20 43 75 72 73 6f 72 4c 65 66 74 2c 20 4c 65 66 | CursorLeft, Lef| 00000a40 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 43 75 |t,. Cu| 00000a50 72 73 6f 72 52 69 67 68 74 2c 20 52 69 67 68 74 |rsorRight, Right| 00000a60 0a 0a 4b 65 79 20 6e 61 6d 65 73 20 63 61 6e 20 |..Key names can | 00000a70 62 65 20 72 65 70 6c 61 63 65 64 20 6f 72 20 61 |be replaced or a| 00000a80 64 64 65 64 20 74 6f 20 62 79 20 75 73 65 20 6f |dded to by use o| 00000a90 66 20 61 20 6b 65 79 6d 61 70 20 66 69 6c 65 20 |f a keymap file | 00000aa0 77 68 69 63 68 20 69 73 0a 70 61 73 73 65 64 20 |which is.passed | 00000ab0 74 6f 20 74 68 65 20 6d 6f 64 75 6c 65 20 77 68 |to the module wh| 00000ac0 65 6e 20 69 74 20 69 73 20 66 69 72 73 74 20 6c |en it is first l| 00000ad0 6f 61 64 65 64 2e 20 54 68 69 73 20 69 73 20 75 |oaded. This is u| 00000ae0 73 65 64 20 74 6f 20 63 61 74 65 72 0a 66 6f 72 |sed to cater.for| 00000af0 20 74 68 65 20 52 69 73 63 20 50 43 27 73 20 6b | the Risc PC's k| 00000b00 65 79 62 6f 61 72 64 2c 20 77 68 69 63 68 20 69 |eyboard, which i| 00000b10 73 20 64 69 66 66 65 72 65 6e 74 20 66 72 6f 6d |s different from| 00000b20 20 74 68 6f 73 65 20 73 75 70 70 6c 69 65 64 0a | those supplied.| 00000b30 77 69 74 68 20 70 72 65 76 69 6f 75 73 20 41 63 |with previous Ac| 00000b40 6f 72 6e 20 6d 61 63 68 69 6e 65 73 2e 20 49 66 |orn machines. If| 00000b50 20 79 6f 75 20 77 69 73 68 20 74 6f 20 77 72 69 | you wish to wri| 00000b60 74 65 20 79 6f 75 72 20 6f 77 6e 20 63 75 73 74 |te your own cust| 00000b70 6f 6d 0a 6b 65 79 6d 61 70 73 2c 20 74 61 6b 65 |om.keymaps, take| 00000b80 20 61 20 6c 6f 6f 6b 20 61 74 20 27 4b 65 79 4d | a look at 'KeyM| 00000b90 61 70 73 2e 50 43 4b 65 79 73 53 72 63 27 20 66 |aps.PCKeysSrc' f| 00000ba0 6f 72 20 61 6e 20 65 78 61 6d 70 6c 65 2e 0a 0a |or an example...| 00000bb0 0a 45 78 61 6d 70 6c 65 73 0a 2d 2d 2d 2d 2d 2d |.Examples.------| 00000bc0 2d 2d 0a 0a 54 68 65 20 27 45 78 61 6d 70 6c 65 |--..The 'Example| 00000bd0 27 20 6f 62 65 79 20 66 69 6c 65 20 77 69 6c 6c |' obey file will| 00000be0 20 73 65 74 20 75 70 20 61 20 6e 75 6d 62 65 72 | set up a number| 00000bf0 20 6f 66 20 6d 61 63 72 6f 73 20 74 6f 20 64 65 | of macros to de| 00000c00 6d 6f 6e 73 74 72 61 74 65 0a 74 68 65 20 6d 6f |monstrate.the mo| 00000c10 64 75 6c 65 2c 20 70 72 6f 76 69 64 69 6e 67 20 |dule, providing | 00000c20 76 61 72 69 6f 75 73 20 66 75 6e 63 74 69 6f 6e |various function| 00000c30 73 20 64 65 70 65 6e 64 69 6e 67 20 6f 6e 20 74 |s depending on t| 00000c40 68 65 20 73 65 74 75 70 20 6f 66 20 79 6f 75 72 |he setup of your| 00000c50 0a 6d 61 63 68 69 6e 65 2e 20 4c 6f 61 64 20 69 |.machine. Load i| 00000c60 74 20 69 6e 74 6f 20 61 20 74 65 78 74 20 65 64 |t into a text ed| 00000c70 69 74 6f 72 20 74 6f 20 73 65 65 20 74 68 65 20 |itor to see the | 00000c80 63 6f 6d 6d 65 6e 74 73 20 64 65 73 63 72 69 62 |comments describ| 00000c90 69 6e 67 0a 77 68 61 74 20 65 61 63 68 20 6f 66 |ing.what each of| 00000ca0 20 74 68 65 20 6d 61 63 72 6f 73 20 64 6f 65 73 | the macros does| 00000cb0 2c 20 6f 72 20 74 79 70 65 20 2a 4c 69 73 74 4d |, or type *ListM| 00000cc0 61 63 72 6f 73 20 61 66 74 65 72 20 72 75 6e 6e |acros after runn| 00000cd0 69 6e 67 20 69 74 20 74 6f 0a 73 65 65 20 74 68 |ing it to.see th| 00000ce0 6f 73 65 20 69 6e 73 74 61 6c 6c 65 64 2e 0a 0a |ose installed...| 00000cf0 41 6c 73 6f 20 73 75 70 70 6c 69 65 64 20 69 73 |Also supplied is| 00000d00 20 61 6e 20 6f 62 65 79 20 66 69 6c 65 20 63 61 | an obey file ca| 00000d10 6c 6c 65 64 20 27 46 4b 65 79 73 27 2e 20 54 68 |lled 'FKeys'. Th| 00000d20 69 73 20 73 65 74 73 20 75 70 20 6d 61 63 72 6f |is sets up macro| 00000d30 73 0a 77 68 69 63 68 20 61 6c 6c 6f 77 20 74 68 |s.which allow th| 00000d40 65 20 75 73 65 20 6f 66 20 66 75 6e 63 74 69 6f |e use of functio| 00000d50 6e 20 6b 65 79 73 20 74 6f 20 65 6e 74 65 72 20 |n keys to enter | 00000d60 74 65 78 74 20 6f 75 74 73 69 64 65 20 6f 66 20 |text outside of | 00000d70 74 68 65 0a 63 6f 6d 6d 61 6e 64 20 6c 69 6e 65 |the.command line| 00000d80 2e 20 50 72 65 73 73 69 6e 67 20 61 6c 74 20 61 |. Pressing alt a| 00000d90 6e 64 20 74 68 65 20 66 75 6e 63 74 69 6f 6e 20 |nd the function | 00000da0 6b 65 79 20 77 69 6c 6c 20 65 6e 74 65 72 20 74 |key will enter t| 00000db0 68 65 20 74 65 78 74 0a 73 74 6f 72 65 64 20 69 |he text.stored i| 00000dc0 6e 20 74 68 65 20 73 79 73 74 65 6d 20 76 61 72 |n the system var| 00000dd0 69 61 62 6c 65 2c 20 4b 65 79 24 58 58 59 59 2e |iable, Key$XXYY.| 00000de0 20 59 59 20 69 73 20 74 68 65 20 6e 75 6d 62 65 | YY is the numbe| 00000df0 72 20 6f 66 20 74 68 65 0a 66 75 6e 63 74 69 6f |r of the.functio| 00000e00 6e 20 6b 65 79 2c 20 61 6e 64 20 58 58 20 69 73 |n key, and XX is| 00000e10 20 65 69 74 68 65 72 20 53 20 28 73 68 69 66 74 | either S (shift| 00000e20 29 2c 20 43 20 28 63 74 72 6c 29 20 6f 72 20 53 |), C (ctrl) or S| 00000e30 43 20 28 73 68 69 66 74 20 61 6e 64 0a 63 74 72 |C (shift and.ctr| 00000e40 6c 29 2c 20 65 67 3a 0a 20 20 2a 53 65 74 20 4b |l), eg:. *Set K| 00000e50 65 79 24 53 31 20 41 6c 74 2c 20 73 68 69 66 74 |ey$S1 Alt, shift| 00000e60 20 61 6e 64 20 46 31 20 68 61 76 65 20 62 65 65 | and F1 have bee| 00000e70 6e 20 70 72 65 73 73 65 64 0a 20 20 2a 53 65 74 |n pressed. *Set| 00000e80 20 4b 65 79 24 43 31 30 20 41 6c 74 2c 20 63 74 | Key$C10 Alt, ct| 00000e90 72 6c 20 61 6e 64 20 46 31 30 20 68 61 76 65 20 |rl and F10 have | 00000ea0 62 65 65 6e 20 70 72 65 73 73 65 64 0a 20 20 2a |been pressed. *| 00000eb0 53 65 74 20 4b 65 79 24 30 20 41 6c 74 20 61 6e |Set Key$0 Alt an| 00000ec0 64 20 70 72 69 6e 74 2f 46 30 20 68 61 76 65 20 |d print/F0 have | 00000ed0 62 65 65 6e 20 70 72 65 73 73 65 64 0a |been pressed.| 00000edd