Skip to content

116B UnfixSegment

Stub   MON 116B (78 decimal) · Mnemonic UNFIX · Group: Segment Administration (manual section 2.12)

Available from: RT programs (manual compatibility box)

Emulation source: src/handlers/mon_116B_UnfixSegment.c

Description

Releases a fixed segment and removes it from the Page Index Table (PIT). Its pages may then be swapped from physical memory to the disk. Use FixScattered or FixContiguous to fix the segment.

  • You must use UnFixSegment or @UNFIX to allow the RT-LOADER to clear the segment.

Parameters

Name Type Direction Description
SegmentNumber INTEGER In Segment number to be released.

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

See also

FixInMemory, MemoryAllocation, FixIOArea, and @UNFIX

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('UnfixSegment', SegmentNumber)
INTEGER SegmentNumber
...
Monitor_Call('UnfixSegment', SegmentNumber)
SegmentNumber : INTEGER2;
...
UnFixSegment(SegmentNumber);
01 SegmentNumber COMP.
...
MONITOR-CALL "UnfixSegment" USING SegmentNumber.
SegmentNumber : W BLOCK 1
UnfixSegment : EQU 37B9 + 116B
...

CALLG UnfixSegment, 1, SegmentNumber
| LDA            | (PAR         | %Load register A with address of parameter list.  |
| MON 116        |              | %Monitor call UnfixSegment.                       |
| ...            |              |                                                   |
| PAR, SEGNO     |              | %Segment number to be unfixed.                    |
| ...            |              |                                                   |
| 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_116B_UnfixSegment
Code lines 6 (non-blank, non-comment lines in the file)

Source

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