222B GetAddressArea¶
Stub MON 222B (146 decimal) · Mnemonic GBSIZ · Group: Segment Administration (manual section 2.12)
Available from: not known - no compatibility box captured from the manual
Emulation source: src/handlers/mon_222B_GetAddressArea.c
Description¶
Gets the size of your address area. Your address area may consist of one or two 128 Kbyte areas. This depends on the size of the background segments.
Notes¶
- The size of the background segment is defined when SINTRAN III is generated for your computer.
Parameters¶
| Name | Type | Direction | Description |
|---|---|---|---|
SegmentSize |
INTEGER | Out | The size of the address area. 100B means one 128 Kbyte address area. 200B means two 128 Kbyte address areas, one for instructions and one for data. |
Direction: In = the program supplies the value, Out = the call returns it, In/Out = both.
See also¶
@CHANGE-BACKGROUND-SEGMENT-SIZE
Compatibility¶
| ND-100 | ND-500 | User programs | RT programs | System programs |
|---|---|---|---|---|
| Yes | No | Yes | No | No |
From the YAML extraction; this call's page in the manual had no compatibility box that was captured.
Examples¶
From the manual (OCR text, not corrected).
INTEGER : SegmentSize
...
Monitor_Call('GetAddressArea', SegmentSize)
INTEGER SegmentSize
...
Monitor_Call('GetAddressArea', SegmentSize)
IF (ErrCode .NE. 0) THEN ...
SegmentSize : INTEGER2;
...
GetAddressArea (SegmentSize);
IF ErrCode <> 0 THEN ...
01 SegmentSize COMP.
01 ErrCode COMP.
...
MONITOR-CALL "GetAddressArea" USING SegmentSize.
CALL "CbError" USING ErrCode.
IF ErrCode NOT = 0 GO ...
MON 222 %Monitor call GetAddressArea.
STA SIZE, 0 %Store returned size of background segment.
...
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_222B_GetAddressArea |
| Code lines | 5 (non-blank, non-comment lines in the file) |
Source¶
SINTRAN III Monitor Calls (ND-860228.2 EN).