OSByte call | Action | Available on: | |||
---|---|---|---|---|---|
(dec) | (hex) | BBC | Master | Electron | |
2 | 02 | Select input stream | x | x | x |
Entry parameters
X | The input device |
---|
On exit:
A | preserved |
---|---|
X | Old value |
C | undefined |
Examples
*FX 2,0 X=0 keyboard selected, RS423 disabled
*FX 2,1 X=1 RS423 selected & enabled
*FX 2,2 X=2 keyboard selected, RS423 enabled
Default: *FX2,0
Electron
Any call with X<>0 will result in an unknown OSBYTE service call being made to paged ROMs unless a previous call was recognised & changed the input source.