407 *FX21,7 flushes the sound channel number 3. *FX21,8 flushes the speech synthesis buffer. See also *FX15 , OSBYTE &80 and OSBYTE &8A. *FX114 is used to select shadow/main display memory at the next MODE change. *FX 114 selects shadow memory, *FX114,1 selects main memory. Note that a MODE change is required before HIMEM will be reset. (See chapter 42 for more details of the shadow screen facility.) *FX119 causes any open files being used as *SPOOL ed output or *EXEC ed input to be closed. *FX124 clears the ESCAPE pressed flag (bit 7 of location &FF). *FX125 sets the ESCAPE pressed flag. It must be set with this call and not directly. It has a similar effect to pressing the ESCAPE key.
(Conditional on any OSBYTE 229 call.) *FX126 must be used to acknowledge the detection of an escape condition if the user is intercepting characters fed into the computer through the OSRDCH (Operating System Read Character) routine. *FX142 can be used to select one of the six sideways ROM sockets (note that only language ROMs can be selected). The sockets are numbered,counting anticlockwise from the MOS/BASIC socket at the top right, 14/15, 10/11, 8/9, 2/3, 4/5, and 6/7. Each socket is capable of accepting a 32K ROM. The paired socket numbers correspond to the two 16K ‘logical ROMs’ which may exist within the single 32K ‘physical ROM’.
If a socket contains a 16K ROM then it can be selected by using either of the two socket numbers. For example, a (16K) language ROM in the socket immediately to the left of the MOS/BASIC socket could be selected by typing *FX142,10 or *FX142,11 . *FX209 will turn speech on or off. *FX209,80 is on, *FX209,1 is off. *FX210 will turn the sound on or off. *FX210,0 is on, *FX210,1 is off. *FX218,0,0 will cause the VDU software to forget the bytes it has received so far as part of an (incomplete) VDU (with parameters) statement. *FX255 will set the keyboard start-up option byte. This value will only take effect on a soft reset.
Any other sort of reset (hard or power-on) and the value will be taken direct from the wiring on the keyboard. The links on the keyboard are all ‘unmade’, which ensures that the RAM location which can be accessed by this call (&28F) has all its bits set on start-up or by a hard break. The value contained in &28F and the corresponding keyboard link numbers are as follows: