Skip to content

115B FixScattered

Stub   MON 115B (77 decimal) · Mnemonic FIX · Group: Segment Administration (manual section 2.12)

Available from: RT programs (manual compatibility box)

Emulation source: src/handlers/mon_115B_FixScattered.c

Description

Place a segment in physical memory. Its pages will no longer be swapped to the disk. The segment must be non demand. Its pages will be scattered in physical memory. You may, for example, use this function for time critical operations or for allocating DMA buffers.

  • Use UnFixSegment or @UNFIX to allow the RT LOADER to clear the segment.
  • Your program terminates if you refer to a nonexistent segment or a demand segment. An error message is output on the error device.
  • Only a limited number of pages can be fixed. This limit is defined when SINTRAN III is generated. You may change it with the command CHANGE-VARIABLE in the SINTRAN-SERVICE-PROGRAM.

Parameters

Name Type Direction Description
SegmentNumber INTEGER2 In Segment number to be fixed in memory. Must be a non-demand segment.

Direction: In = the program supplies the value, Out = the call returns it, In/Out = both.

See also

UnFixSegment, FixContiguous, FixInMemory, MemoryAllocation, FixIOArea, and @FIXC

Compatibility

Machines Users Programs
ND-100 and ND-500 User RT and user SYSTEM RT programs

The manual's compatibility box for this call, word for word.

Yes/no fields from the YAML extraction (not in the manual's words):

ND-100 ND-500 User programs RT programs System programs
Yes Yes Yes Yes No

Examples

From the manual (OCR text, not corrected).

INTEGER : SegmentNumber
...
Monitor_Call('FixScattered', SegmentNumber)
INTEGER SegmentNumber
...
Monitor_Call('FixScattered', SegmentNumber)
SegmentNumber : INTEGER2;
...
FixScattered(SegmentNumber);
01 SegmentNumber COMP.
...
MONITOR-CALL "FixScattered" USING SegmentNumber.
SegmentNumber : W BLOCK 1
FixScattered : EQU 37B9 + 115B
...
CALLG FixScattered, 1, SegmentNumber
LDA  (PAR   %Load register A with address of parameter list.
MON  115   %Monitor call FixScattered
...
PAR,  SEGNO  %Segment number to be fixed in memory.
...
SEGNO, ...

ndmonlib implementation

Stub Registered MON_STATUS_NOT_IMPLEMENTED: the handler is a stub. mon_dispatch() in src/core/mon_dispatch.c reports the call as unimplemented without calling it.

Handler mon_115B_FixScattered
Code lines 6 (non-blank, non-comment lines in the file)

Source

SINTRAN III Monitor Calls (ND-860228.2 EN), page 207.