Skip to content

323B SegmentOverlay

Stub   MON 323B (211 decimal) · Mnemonic SPLRE · Group: Segment Administration (manual section 2.12)

Available from: Background programs (manual compatibility box)

Emulation source: src/handlers/mon_323B_SegmentOverlay.c

Description

Used to build multisegment programs in the ND-100. It is mainly for internal use. A new reentrant segment and two address areas in this segment are specified.

Notes

  • The building of multisegment programs is taken care of automatically by the BRF-LINKER. See the BRF-LINKER USER MANUAL (ND-860196).

Parameters

Name Type Direction Description
SegmentNo INTEGER In Segment number. The segment must be reentrant.
Page1A1 INTEGER In Page number of first page in address-area 1. Normally in the program bank.
NoPageA1 INTEGER In Number of pages in address-area 1.
Page1A2 INTEGER In Page number of first page in address-area 2. Normally in the data bank.
NoPageA2 INTEGER In Number of pages in address-area 2.
ClearFlag INTEGER In Clear flag. If not 0, earlier overlay areas are cleared. Use 0 first time.

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

Compatibility

Machines Users Programs
ND-100 All users Background 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 No No No No

Examples

From the manual (OCR text, not corrected).

INTEGER : SegmentNo, Page1A1, NoPageA1, Page1A2, NoPageA2, Clearflag
...
Monitor_Call('SegmentOverlay', SegmentNo, Page1A1, NoPageA1, &
             Page1A2, NoPageA2, Clearflag)
INTEGER SegmentNo, Page1A1, NoPageA1, Page1A2, NoPageA2, ClearFlag
...
Monitor_Call('SegmentOverlay', SegmentNo, Page1A1, NoPageA1,
                               Page1A2, NoPageA2, ClearFlag)
SegmentNo, Page1A1, NoPageA1, Page1A2, NoPageA2, ClearFlag : INTEGER2;
...
SegmentOverlay(SegmentNo, Page1A1, NoPageA1, Page1A2, NoPageA2, ClearFlag);
01 SegmentNo COMP.
01 Page1A1 COMP.
01 NoPageA1 COMP.
01 Page1A2 COMP.
01 NoPageA2 COMP.
01 ClearFlag COMP.
...
MONITOR-CALL "SegmentOverlay" USING SegmentNo, Page1A1, NoPageA1,
                                  Page1A2, NoPageA2, ClearFlag.
LDA   (PAR  %Load register A with address of parameter list.
MON   323   %Monitor call SegmentOverlay.
...
PAR,  SEGNO %Segment number.
AREA1       %First page in area 1.
NUM1        %Number of pages in area 1.
AREA2       %First page in area 2.
NUM2        %Number of pages in area 2.
CLEAR       %Clear flag.
...
SEGNO, ...
AREA1, ...
NUM1, ...
AREA2, ...
NUM2, ...
CLEAR, ...

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_323B_SegmentOverlay
Code lines 11 (non-blank, non-comment lines in the file)

Source

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