Difference between revisions of "OSWORD &18"

From BeebWiki
Jump to: navigation, search
m (1 revision)
m (.)
 
Line 1: Line 1:
 
[[Category:OSWORD]]
 
[[Category:OSWORD]]
OSWORD &18 (24) - IP Network transmit
+
{{PageTitle|OSWORD &18 (24): IP Network transmit}}
  
 
This call is made by a modifed NFS to pass networking calls on to an IP
 
This call is made by a modifed NFS to pass networking calls on to an IP
Line 8: Line 8:
  
 
==Specification==
 
==Specification==
    On entry:
+
On entry:
        XY?0  = control byte with b7 set
+
  XY?0  = control byte with b7 set
        XY?1  = destination port
+
  XY?1  = destination port
        XY+2..3= destination station
+
  XY+2..3= destination station
        XY!4  = buffer start address
+
  XY!4  = buffer start address
        XY!8  = buffer end address
+
  XY!8  = buffer end address
        XY!12  = remote address for immediate operations
+
  XY!12  = remote address for immediate operations
    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|OSBYTE &32 (50)]]. If the destination station
 
Transmission must be polled with [[OSBYTE &32|OSBYTE &32 (50)]]. If the destination station

Latest revision as of 19:25, 7 January 2023

OSWORD &18 (24): IP Network transmit

This call is made by a modifed NFS to pass networking calls on to an IP networking handler. It should not be called directly by the user, programs should call OSWORD &10 and allow the networking system to forward the call to the appropriate handler.

Specification

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 01:31, 19 December 2010 (UTC)