Useing yellow events ==================== A 'yellow event'is so called because the FUNCTION key is coloured yellow, a yellow event occurs when the user has pressed one of the FUNCTION+key combinations that cause an immediate context switch ( FN+red, FN+green, FN+blue, FN+menu... ) or when the machine is powered up and (because the option to preserve context has not been set) needs to return to the main menu. When a yellow event occurs an open application exit normally as quickly as possible and any unsaved files will be saved automatically! You can use yellow events from BBC BASIC to change into an bild in application by loading the variables B% and C% with the yellow event token and then call the firmware routine 'kmsetyellow' at &B8D5: 10 ***** Call Editor ******** 20 DEF PROC_Editor 30 B%=177:C%=3:CALL &B8D5 40 ENDPROC Yellow event token FUNCTION+key Immediate context switch to: B% C% combination ----------------------------------------------------------------- 177 3 Text Wordprocessor 178 3 Calc Calculator 179 3 Clock Calendar 180 3 Menu Password 181 3 Wordprocessor 182 3 D Address book 183 3 C Show Calandar 184 3 T Multifunktion clock 185 3 Z Timezone setting 186 3 A Creat a new diary entry 187 3 N Creat a new textfile 188 3 L File selector 189 3 P Print file 190 3 B BBC BASIC 191 3 X Start a RAM card program 192 3 S Seriell data transfer