|
Atari Function Keys by Paul Lay |
|
'Function keys' provides programmable function keys on Atari micros. 16k is required on cassette-based systems and 32k for disk machines. On the Atari, CTRL, SHIFT and any other key pressed simultaneously is normally ignored. This program modifies the keyboard interrupt routine to trap CTRL-SHIFT-key combinations and the deferred vertical blank interrupt routine, to allow these combinations to be used. The net result is that CTRL + SHIFT + a numeric key (0-9) can now be treated as a programmable function key. To run the program, select KEYBOARD for input, then choose the key you wish to define and enter the string to be assigned to the key. Note that any control characters will be displayed, so the 'cursor down' character, for example, will appear rather than the cursor moving down a line. When the function key is used, however, the control characters will have their usual effect. Note that the RETURN key, when pressed, will be displayed as an 'E' over an 'L' but will be interpreted as a RETURN. Each key can be assigned up to 113 characters. The emulator occupies locations 1536 to 1704 inclusive of RAM page 6. The code for the function keys is placed 38 pages below RAMTOP; this allows a GRAPHICS 8 screen to be used. |
|