TRATXT 59 - write into any segment.

Usage:

pmme TRATXT,4

On entry

parameter 0 - control
This dummy segment is ignored. Pass a null segment.
parameter 1 - status
This is a two word status return area.
parameter 2 - input
This segment frames the input data to be copied. This should be a type 0, 1, 2 or 3 segment. Read permission is not required; it will be granted by the PMME.
parameter 3 - output
This segment frames the output area. This should be a type 0, 1, 2 or 3 segment. Write permission will be granted by the PMME.

On return

status
On a successful return, both status words will be zeroed. On an unsuccessful return, both words will be set as follows:
bits 0-11
failing module number (.MPMME).
bits 12-17
pmme number (TRATXT).
bits 18-19
unused (zero).
bits 20-27
major status (8).
bits 28-35
minor status (2).
X0
Register X0 is loaded with the same value as the lower 18 bits of a status word.

Required privilege

Entry key PK.MKD, "Make_Descriptor".

Description:

PMME TRATXT is used to write into a segment that would normally be protected by lack or access permissions or because it lies on a housekeeping page. The number of bytes copied is computed by taking the smaller size of the input and output segments. No provision is made for segments where the bounds field is not interpreted in bytes. The most common use of TRATXT is to create a descriptor.

Copyright © 2000, Thinkage Ltd.