Difference between revisions of "OSWORD &10"

From BeebWiki
Jump to: navigation, search
m
m (.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:OSWORD]]
+
[[Category:OSWORD]][[Category:Networking]]
[[Category:Networking]]
+
{{PageTitle|OSWORD &10 (16): Network transmit}}
OSWORD &10 (16 ) - Network transmit NFS
 
 
 
 
  On entry:
 
  On entry:
 
   XY?0  =control byte with b7 set
 
   XY?0  =control byte with b7 set
Line 12: Line 10:
 
  On exit
 
  On exit
 
   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 operation is transmitted.
+
transmitted.
  
 
==See Also==
 
==See Also==
 +
* [[Econet packet]]
 +
* [[Immediate operations]]
 
* http://mdfs.net/Docs/Comp/BBC/Oswords
 
* http://mdfs.net/Docs/Comp/BBC/Oswords
 
{{Networking}}
 
{{Networking}}
  
 
[[User:Jgharston|Jgharston]] 13:23, 26 May 2009 (UTC)
 
[[User:Jgharston|Jgharston]] 13:23, 26 May 2009 (UTC)

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)