Download Occam 2 User Library Specifications
Transcript
INMOS Limited Confidential ALOG ALOG10 EXP POWER SIN COS TAN ASIN ACOS ATAN ATAN2 SINH COSH TANH RAN DALOG DALOG10 DEXP DPOWER DSIN DCOS DTAN DASIN DACOS DATAN DATAN2 DSINH DCOSH DTANH DRAN 12 occam User Lib Specs occam 2 Reference Manual, Appendix N ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” msdos.lib 6 entry points Constants referred to in the following specifications are to be found in the include files msdos.inc and hostio.inc. PROC dos.send.block (CHAN OF SP fs, ts, VAL INT32 location, VAL []BYTE block, INT len, BYTE result) ------------- Purpose: To write a block of data to host memory. Channels: fs - from server ts - to server In: location - the start memory address at which to write the block of data; this address is arranged as the segment in the top two bytes and the offset in the lower two bytes of this parameter, both unsigned In: block - the data to be written, that is, (SIZE block) bytes Out: len - the number of bytes written Out: result - spr.ok if the write was successful, otherwise takes on a value indicating what went wrong: spr.bad.packet.size too many bytes requested to be written: APPROVED 5.2.91 38 SW-0114-4