430B TranslateAddress¶
Stub MON 430B (280 decimal) · Mnemonic ADR100 · Group: Not grouped in manual
Available from: not known - no compatibility box captured from the manual
Emulation source: src/handlers/mon_430B_TranslateAddress.c
Description¶
Translates an ND-500 logical address to an ND-100 physical address. Use this monitor call to set up communication areas between the two CPUs.
Notes¶
- Applied only to data addresses, not program addresses.
Parameters¶
| Name | Type | Direction | Description |
|---|---|---|---|
ND500Array |
INTEGER4 | In | ND-500 array logical address. |
ND100PhysWordAddr |
INTEGER4 | Out | Physical word address in the ND-100. |
Direction: In = the program supplies the value, Out = the call returns it, In/Out = both.
Compatibility¶
| ND-100 | ND-500 | User programs | RT programs | System programs |
|---|---|---|---|---|
| No | Yes | Yes | Yes | Yes |
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 : ND500Array, ND100PhysWordAddr
...
Monitor_Call('TranslateAddress', ND500Array, ND100PhysWordAddr)
INTEGER ND500Array, ND100PhysWordAddr
...
Monitor_Call('TranslateAddress', ND500Array, ND100PhysWordAddr)
IF (ErrCode .NE. 0) THEN ...
ND500Array, ND100PhysWordAddr : LONGINT;
...
TranslateAddress (ND500Array, ND100PhysWordAddr);
IF ErrCode <> 0 THEN ...
01 ND500Array COMP.
01 ND100PhysWordAddr COMP.
01 ErrCode COMP.
...
MONITOR-CALL "TranslateAddress" USING ND500Array, ND100PhysWordAddr.
CALL "CbError" USING ErrCode.
IF ErrCode NOT = 0 GO ...
ND500Array : W BLOCK 1
ND100PhysWordAddr : W BLOCK 1
TranslateAddress : EQU 37B9 + 430B
...
CALLG TranslateAddress, 2, ND500Array, ND100PhysWordAddr
IF K GO ERROR
...
ERROR : W1 =: ErrCode %ErrorCode in W1 register.
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_430B_TranslateAddress |
| Code lines | 6 (non-blank, non-comment lines in the file) |
Source¶
SINTRAN III Monitor Calls (ND-860228.2 EN).