OSBYTE &9D

From BeebWiki
Jump to: navigation, search

OSBYTE &9D (157) - Fast Tube BPUT

   Write a byte to an open file
   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 operation. 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)