Skip to content

415B BCNAF1CAMAC

Stub   MON 415B (269 decimal) · Mnemonic BCNAF1 · Group: Device Handling (manual section 2.11)

Available from: RT programs (manual compatibility box)

Emulation source: src/handlers/mon_415B_BCNAF1CAMAC.c

Description

Special CAMAC monitor call for the ND-500. (Same as mon 176 - user-defined monitor call.)

Parameters

Name Type Direction Description
Function INTEGER4 In
Address INTEGER4 In
Data INTEGER4 In
Status INTEGER4 Out Returned via Status variable in high-level languages, or in W1 register for ASSEMBLY-500 (K flag indicates error).

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

See also

CAMACFunction, AssignCAMACLAM, BCNAFCAMAC, CAMACIOInstruction, CAMACGLRegister

Compatibility

Machines Users Programs
ND-500 User RT and user SYSTEM RT 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
No Yes Yes Yes No

Examples

From the manual (OCR text, not corrected).

INTEGER : Func, Address, Data, Status
...
Monitor_Call('BCNAF1CAMAC', Func, Address, Data, Status)
INTEGER Func, Address, Data, Status
...
Monitor_Call('BCNAF1CAMAC', Func, Address, Data, Status)
IF (ErrCode .NE. 0) THEN ...
Funct, Address, Data, Status : LONGINT;
...
BCNAF1CAMAC(Funct, Address, Data, Status);
IF ErrCode <> 0 THEN ...
01 Func COMP.
01 Address COMP.
01 Data COMP.
01 Status COMP.
01 ErrCode COMP.
...
MONITOR-CALL "BCNAF1CAMAC" USING Func, Address, Data, Status.
CALL "CbError" USING ErrCode.
IF ErrCode NOT = 0 GO ...
Func : W BLOCK 1
Address : W BLOCK 1
Data : W BLOCK 1
Status : W BLOCK 1
BCNAF1CAMAC : EQU 37B9 + 415B
...
CALLG BCNAF1CAMAC, 4, Func, Address, Data, Status
    IF K GO ERROR
...
ERROR : W1 =: Status              %Status 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_415B_BCNAF1CAMAC
Code lines 8 (non-blank, non-comment lines in the file)

Source

SINTRAN III Monitor Calls (ND-860228.2 EN).