Difference between revisions of "OSBYTE &9D"

From BeebWiki
Jump to: navigation, search
m (1 revision)
(use in app note 004 to initiate data transfer)
Line 4: Line 4:
 
     X=byte to write Y=file handle
 
     X=byte to write Y=file handle
 
     In OS 1.20 this call simply passes through the normal OSBPUT routine
 
     In OS 1.20 this call simply passes through the normal OSBPUT routine
 +
 +
;Notes
 +
This call returns immediately when executed on a coprocessor, leaving the
 +
coprocessor free to continue the application, and the host continuing the call.
 +
Therefore the call does not return a result from the operation.<ref
 +
name="appnote-004">Acorn Computers (June 1992),
 +
''Application note 004: Tube application note'', p.6.</ref>
 +
 +
Acorn advises that because of this, users who wish to carry out bulk data
 +
transfer between the host and the coprocessor should arrange to hook into
 +
[[BYTEV]] and intercept this call on the I/O processor. To initiate a transfer,
 +
the coprocessor should call OSBYTE &9D with parameters in X and Y for the
 +
intercepting code on the host.<ref name="appnote-004" />
 +
The BPUT functionality of this call would therefore be supplanted, and become
 +
available only from [[OSBPUT]].
  
 
==See Also==
 
==See Also==
 
* http://mdfs.net/Docs/Comp/BBC/Osbyte80
 
* http://mdfs.net/Docs/Comp/BBC/Osbyte80
 +
 +
==References==
 +
 +
<references />
  
 
[[User:Jgharston|Jgharston]] 22:12, 26 May 2009 (UTC)
 
[[User:Jgharston|Jgharston]] 22:12, 26 May 2009 (UTC)

Revision as of 18:56, 10 April 2020

OSBYTE &9D (157) - Fast Tube BPUT

   X=byte to write Y=file handle
   In OS 1.20 this call simply passes through the normal OSBPUT routine
Notes

This call returns immediately when executed on a coprocessor, leaving the coprocessor free to continue the application, and the host continuing the call. Therefore the call does not return a result from the operation.[1]

Acorn advises that because of this, users who wish to carry out bulk data transfer between the host and the coprocessor should arrange to hook into BYTEV and intercept this call on the I/O processor. To initiate a transfer, the coprocessor should call OSBYTE &9D with parameters in X and Y for the intercepting code on the host.[1] The BPUT functionality of this call would therefore be supplanted, and become available only from OSBPUT.

See Also

References

  1. 1.0 1.1 Acorn Computers (June 1992), Application note 004: Tube application note, p.6.

Jgharston 22:12, 26 May 2009 (UTC)