164B SaveSegment¶
Stub MON 164B (116 decimal) · Mnemonic WSEG · Group: Segment Administration (manual section 2.12)
Available from: All programs (manual compatibility box)
Emulation source: src/handlers/mon_164B_SaveSegment.c
Description¶
Saves a segment in the ND-100. All pages in physical memory which have been changed, are written back to the disk.
Parameters¶
| Name | Type | Direction | Description |
|---|---|---|---|
SegmentNumber |
INTEGER2 | In | Segment number. |
Direction: In = the program supplies the value, Out = the call returns it, In/Out = both.
See also¶
Compatibility¶
| Machines | Users | Programs |
|---|---|---|
| ND-100 and ND-500 | All users | All 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('SaveSegment', SegmentNumber)
INTEGER SegmentNumber
...
Monitor_Call('SaveSegment', SegmentNumber)
SegmentNumber : INTEGER2;
...
SaveSegment(SegmentNumber);
01 SegmentNumber COMP.
...
MONITOR-CALL "SaveSegment" USING SegmentNumber.
SegmentNumber : W BLOCK 1
SaveSegment : EQU 3789 + 164B
...
CALLG SaveSegment, 1, SegmentNumber
| Instruction | | Comment |
|-------------|--|---------|
| LDA | {PAR | %Load register A with address of parameter list. |
| MON | 164 | %Monitor call SaveSegment. |
| ... | | |
| PAR, SEGNO | | %Segment number. |
| ... | | |
| 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_164B_SaveSegment |
| Code lines | 6 (non-blank, non-comment lines in the file) |
Source¶
SINTRAN III Monitor Calls (ND-860228.2 EN), page 423.