ENTSG (command)

@ENTSG, , , Enter a routine as a direct task or as a device driver.
 * : (octal) the segment where the routine resides.
 * : (decimal 0-3, default = 0) the page table to be used for the routine.
 * : (decimal) the interrupt level under which the routine is to run. Must not be 10, 11, 12 or 13. If a device driver is to be entered on one of these levels, a free level (2, 5, 6, 7, 8 or 9) must be specified instead.
 * : (octal) start address of the routine.

Rules:
 * 1) Permitted only for users RT and SYSTEM.

Example:

@ENTSG 42,3,9,30000

The routine on segment 42 will be entered to run as a direct task on page table 3, interrupt level 9. Location 30000 (octal) is the start address of the routine.

Related commands
ENTSG (monitor call)