Difference between revisions of "Talk:OSWRCH"

From BeebWiki
Jump to: navigation, search
(Incorrect label VDU 1 -> VDU 21)
 
(reply)
Line 1: Line 1:
 
The "Is VDU 1 in effect?" during the call to VDUCHR should be "Is VDU 21 in effect?" (not VDU 1!).
 
The "Is VDU 1 in effect?" during the call to VDUCHR should be "Is VDU 21 in effect?" (not VDU 1!).
  
Or "Is VDU disabled by VDU 21?" to be clearer.
+
Or "Is VDU disabled by VDU 21?" to be clearer. [Jgharston, 9 September 2021]
 +
 
 +
:There isn't really a clean way to draw VDUCHR as it's both a character sink and part of the flow control.  The 'Screen' terminal is the sink part of VDUCHR dragged down to sit alongside the others, whereas it's actually part of the VDUCHR process.
 +
 
 +
:The only reasons the two parts are separated are (a) to show OSWRCH forwarding to the printer under VDUCHR's control and (b) VDUCHR's own diversion to the printer under VDU 1. (The presence of two distinct paths leads to the double-printing bug in OS 1.20.)  The 'Screen' encapsulates all the other display functions and VDU codes including VDU 21; the effect of the 'Screen' on VDUCHR used to be represented by an arrow which I removed long ago for clarity.  Hope this helps. [[User:Regregex|Regregex]] ([[User talk:Regregex|talk]]) 13:12, 1 October 2021 (CEST)

Revision as of 12:12, 1 October 2021

The "Is VDU 1 in effect?" during the call to VDUCHR should be "Is VDU 21 in effect?" (not VDU 1!).

Or "Is VDU disabled by VDU 21?" to be clearer. [Jgharston, 9 September 2021]

There isn't really a clean way to draw VDUCHR as it's both a character sink and part of the flow control. The 'Screen' terminal is the sink part of VDUCHR dragged down to sit alongside the others, whereas it's actually part of the VDUCHR process.
The only reasons the two parts are separated are (a) to show OSWRCH forwarding to the printer under VDUCHR's control and (b) VDUCHR's own diversion to the printer under VDU 1. (The presence of two distinct paths leads to the double-printing bug in OS 1.20.) The 'Screen' encapsulates all the other display functions and VDU codes including VDU 21; the effect of the 'Screen' on VDUCHR used to be represented by an arrow which I removed long ago for clarity. Hope this helps. Regregex (talk) 13:12, 1 October 2021 (CEST)