EasyManua.ls Logo

IBM Professional Series - Page 353

IBM Professional Series
421 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DIAGNOSE Code X'20' -- General
I/O
Input/
Output operations to the terminal and printer devices
can be performed from a virtual machine using Diagnose
020. No interrupts are returned to the virtual machine; the
instruction completes only when the read or write operation
has completed. Rx contains the virtual device address; Ry
points to the following CCWs:
Dasd: Same as Diagnose 18, except
that
the
data
transfer
length need not be a mUltiple
of
512
bytes.
Terminal control:
X'03'
,data,O,control, 1
Terminal write:
X'09'
,data,O,len
Terminal read: X'Oa' ,data,O,len
Printer write - Local printer:
X
103
I ,
data,
CC
, 1
X
'
08
1
,data,CC,1
X
'
01
1
,data,CC,
len
X
'
09
1
,data,CC,len
X I
11
I
,data,
CC,
I en
X
119
I
,data
,CC, len
x
'
89
1
,data,CC,len
X'Ob
'
,data,CC,
1
X
'
13
1
,data,CC,1
X'1b
'
,data,CC,
1
x
'
8b
'
,data,CC,
1
NOP
TIC
Print,
no
space
Print,
space
1
Print,
space
2
Print,
space
3
Print,
skip
to
top
of
page
Space 1
Space 2
Space 3
Skip
to
top
of
page
Printer write - Remote Spool: Any valid
CCW
chain
Where:
len
is
the length of the data area.
For
the terminal input and
local printer output, the maximum length is 132.
control
control flags
X'80'
quiet mode command control - used to replace
RUNNING
display status with WAITING.
A-14
VM/PC
Users Guide

Table of Contents

Related product manuals