127B ExactStartup¶
Stub MON 127B (87 decimal) · Mnemonic DABST · Group: RT Program Execution (manual section 2.10)
Available from: RT programs (manual compatibility box)
Emulation source: src/handlers/mon_127B_ExactStartup.c
Description¶
Starts an RT program at a specific time. The time is given in basic time units. A basic time unit is 1/50th of a second. The RT program is moved from the time queue to the execution queue at the specified time.
- It may already be later than the time specified. The RT program is then scheduled for the next day.
- The RT program may already be in the time queue. It is then reinserted according to the new time specifications.
- AdjustClock and @CLADJ affect the startup. The RT program starts according to the new time.
- Use GetBasicTime to read the internal time in basic time units.
Parameters¶
| Name | Type | Direction | Description |
|---|---|---|---|
RTProgram |
INTEGER2 | In | Address of an RT description. 0 means calling program. GetRtAddress gives RT description addresses. |
BasicTimeUnits |
LONGINT | In | Startup time in basic time units (1/50th of a second). |
Direction: In = the program supplies the value, Out = the call returns it, In/Out = both.
See also¶
StartupTime. StartupTime allows you to specify the time in hours, minutes or seconds
Compatibility¶
| Machines | Users | Programs |
|---|---|---|
| ND-100 and 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 |
|---|---|---|---|---|
| Yes | Yes | Yes | Yes | No |
Examples¶
From the manual (OCR text, not corrected).
INTEGER : RTProgram, BasicTimeUnits
...
Monitor_Call('ExactStartup', RTProgram, BasicTimeUnits)
INTEGER RTProgram, BasicTimeUnits
...
Monitor_Call('ExactStartup', RTProgram, BasicTimeUnits)
RTProgram, BasicTimeUnits : INTEGER2;
...
ExactStartup(RTProgram, BasicTimeUnits);
01 RTProgram COMP.
01 BasicTimeUnits COMP.
...
MONITOR-CALL "ExactStartup" USING RTProgram, BasicTimeUnits.
RTProgram : W BLOCK 1
BasicTimeUnits : W BLOCK 1
ExactStartup : EQU 3789 + 127B
...
CALLG ExactStartup, 2, RTProgram, BasicTimeUnits
| LDA | (PAR | %Load register A with address of parameter list. |
| MON | 127 | %Monitor call ExactStartup. |
| ... | | |
| PAR, RTProgram | %Address of RT description. |
| TIME | %Time when the program is to be executed. |
| ... | | |
| RTPRO, ... | %A double word giving time in basic time units. |
| TIME, ... | % |
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_127B_ExactStartup |
| Code lines | 7 (non-blank, non-comment lines in the file) |
Source¶
SINTRAN III Monitor Calls (ND-860228.2 EN), page 179.