Difference between revisions of "OSBYTE &03"

From BeebWiki
Jump to: navigation, search
m (moved OSBYTE 03 to OSBYTE &03)
 
m (1 revision)
(No difference)

Revision as of 23:58, 28 August 2013

Flowchart of pathways from the OSWRCH entry point to the output devices

OSBYTE &03 (3) - Select output device

On entry, A=&03, X=new output selection

On exit, X=old output selection

Controls which output device or devices receive the characters sent to OSWRCH. The flowchart on the right shows the flow of characters from the OSWRCH entry point to the output devices.

The value of X is made up as follows:

Bit Meaning if set
0 Enable serial port
1 Disable screen drivers (overrides VDU 2 and VDU 6)
2 Disable printer (overrides VDU 2 and bits 3 and 6)
3 Enable printer (overrides VDU 3)
4 Disable output to *SPOOL file
5 Not used
6 Disable printer except for VDU 1 sequences (overrides bit 3)
7 Not used

-- beardo 21:43, 5 October 2007 (BST)