Difference between revisions of "OSWORD &10"

From BeebWiki
Jump to: navigation, search
m (.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Category:OSWORD]][[Category:Networking]]
 
[[Category:OSWORD]][[Category:Networking]]
{{PageTitle|OSWORD &10 (16) - Network transmit}}
+
{{PageTitle|OSWORD &10 (16): Network transmit}}
 
  On entry:
 
  On entry:
 
   XY?0  =control byte with b7 set
 
   XY?0  =control byte with b7 set
Line 11: Line 11:
 
   XY?0=zero if transmission failed to start
 
   XY?0=zero if transmission failed to start
 
   
 
   
  Transmission must be polled with OSBYTE &32 (50). If the
+
  Transmission must be polled with OSBYTE &32 (50). If the destination station
  destination station is &FFFF, a broadcast will be sent, the eight
+
  is &FFFF, a broadcast will be sent, the eight bytes of data are in the control
bytes of data are in the control block at XY+4 to XY+11. If the
+
block at XY+4 to XY+11. If the port number is zero, an [[Immediate operations|immediate operation]] is
port number is zero, an [[Immediate operations|immediate operation]] is transmitted.
+
transmitted.
  
 
==See Also==
 
==See Also==

Latest revision as of 18:07, 7 January 2023

OSWORD &10 (16): Network transmit
On entry:
 XY?0   =control byte with b7 set
 XY?1   =destination port
 XY+2..3=destination station
 XY!4   =buffer start address
 XY!8   =buffer end address
 XY!12  =remote address for immediate operations
On exit
 XY?0=zero if transmission failed to start

Transmission must be polled with OSBYTE &32 (50). If the destination station
is &FFFF, a broadcast will be sent, the eight bytes of data are in the control
block at XY+4 to XY+11. If the port number is zero, an immediate operation is
transmitted.

See Also

Networking calls

Jgharston 13:23, 26 May 2009 (UTC)