OSWORD &10

From BeebWiki
Jump to: navigation, search
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)