Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF

426 OSBYTE call with A=E3 (227) Set base number for CTRL function key codes See the entry for OSBYTE &E2. The default base value is 144. OSBYTE call with A=&E4 (228) Set base number for SHIFT CTRL function key codes See entry for OSBYTE &E2. The default is that these key combinations have no effect. Note: Remember that pressing CTRL and SHIFT together stops screen output while they are pressed. OSBYTE call with A=&E5 (229) ESCAPE key gives ASCII code This call can be used to make the ESCAPE key generate an ASCII code (27 or &1B) instead of interrupting a BASIC program. If X=0 then the ESCAPE key interrupts the BASIC program ( *FX229,0 ).

On the other hand, *FX229,1 (X=1) causes the key to generate its ASCII code. On entry Y must contain zero. OSBYTE call with A=&E6 (230) Enable/disable normal ESCAPE key action When a BASIC program is interrupted by pressing the ESCAPE key, or by *FX125 , all internal buffers will be cleared. This call can be used to stop the flushing of all internal buffers when a program is stopped. On entry Y must contain zero. *FX230,0 will permit all buffers to be flushed. *FX230,1 will ensure that no buffers are flushed.

OSBYTE call with A=&E7 (231) Enable/disable user 6522 IRQ This call sets a ‘mask’ byte which the operating system uses when servicing IRQs which may have originated in the 6522 which is used for the parallel printer and user port. The operating system ANDs the mask byte with the 6522 interrupt flag register AND the 6522 interrupt enable register. Setting the mask to zero would prevent the operating system from handling the 6522 interrupts thus leaving them available to be handled by user supplied routines. Additionally sideways ROMs may handle (via the operating system) interrupts generated from the B side of the 6522. The mask byte could hide those interrupts from the sideways ROMS.

The mask byte defaults to &FF.