Vax 613 0S Instruction Manual Page 289

  • Download
  • Add to my manuals
  • Print
  • Page
    / 344
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 288
PUTS
PUTS
Put string to console terminal.
Format
count = DISPATCH(PUTS,
unit,
string_ptr,
string_length);
Arguments
PUTS
Put string function code (02
16
).
unit
Unit number of the device to write in a multiunit configuration; otherwise MBZ.
Section 16.5.3 gives unit number information.
string_ptr
Virtual address of the byte string to write.
string_length
Number of bytes in the string.
Description
This routine attempts to output a byte string to the console terminal device.
The string is written, as long as the console device is ready to accept characters.
Once the device becomes unready, the call returns; the number of written bytes is
reported in R0. All bytes are written if the console is a graphics device.
Returns:
R0<63:61> = 000 Success, all bytes written
R0<63:61> = 001 Success, some bytes written
R0<63:61> = 100 Failure, no bytes written because terminal not ready
R0<63:61> = 110 Failure, no bytes written because error encountered
R0<63:61> = 111 Failure, some bytes written, terminal error encountered
R0<60:48> Device-specific error status
R0<48:32> Should be zero
R0<31:0> Number of bytes written to the console device
Console 16–65
Page view 288
1 2 ... 284 285 286 287 288 289 290 291 292 293 294 ... 343 344

Comments to this Manuals

No comments