325B BatchModeEcho¶
Stub MON 325B (213 decimal) · Mnemonic MBECH · Group: Input and Output Monitor Calls (manual section 2.5)
Available from: Background programs (manual compatibility box)
Emulation source: src/handlers/mon_325B_BatchModeEcho.c
Description¶
Controls echo of input and output if the program is executed in a batch or mode job. The purpose is to allow the program to communicate with the terminal in mode jobs.
Notes¶
- The state set by this monitor call is reset when the next batch or mode job starts.
- This monitor call is mainly used by the JEC system.
Parameters¶
| Name | Type | Direction | Description |
|---|---|---|---|
ControlBitmask |
INTEGER | I/O | Bit mask to set the echo. Bit 0 set to 1 means no echo in batch and mode executions. Bit 1 set to 1 means output on terminal from mode executions. Bit 2 set to 1 means input from terminal in mode executions. If the parameter is -1, the bit mask from the previous batch or mode job is returned in the A register (ASSEMBLY-500) or via the parameter (high-level languages). |
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 | 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 | Yes | Yes | No | No |
Examples¶
From the manual (OCR text, not corrected).
INTEGER : ControlBitmask
...
Monitor_Call('BatchModeEcho', ControlBitmask)
INTEGER ControlBitmask
...
Monitor_Call('BatchModeEcho', ControlBitmask)
ControlBitmask : INTEGER2;
...
BatchModeEcho(ControlBitmask);
01 ControlBitmask COMP.
...
MONITOR-CALL "BatchModeEcho" USING ControlBitmask.
OldMask : W BLOCK 1
%The lower 16 bit of the Il register holds the
% control bit mask from the previous BatchModeEcho
% if ControlBitMask was -1.
ControlBitmask : W BLOCK 1
ErrCode : W BLOCK 1
BatchModeEcho : EQU 37B9 + 325B
...
CALLG BatchModeEcho, 1, ControlBitmask
IF K GO Error
W1 := OldMask
...
Error, ...
LDA CTRL %Load register A with control bitmask.
MON 325 %Monitor call BatchModeEcho.
...
CTRL, ...
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_325B_BatchModeEcho |
| Code lines | 5 (non-blank, non-comment lines in the file) |
Source¶
SINTRAN III Monitor Calls (ND-860228.2 EN).