{* 
** DOS Tags.
**
** Note: This file is an ACE translation of the 
**	 C header file: dos/dostags.h.
**
** Date: 14th April 1995
*}

#include <tagitem.h>

{*****************************************************************************}
{* definitions for the System() call *}

LONGINT SYS_Dummy	: SYS_Dummy = (TAG_USER + 32)
LONGINT	SYS_Input	: SYS_Input = (SYS_Dummy + 1)
				{* specifies the input filehandle  *}
LONGINT	SYS_Output	: SYS_Output = (SYS_Dummy + 2)
				{* specifies the output filehandle *}
LONGINT	SYS_Asynch	: SYS_Asynch = (SYS_Dummy + 3)
				{* run asynch, close input/output on exit(!) *}
LONGINT	SYS_UserShell	: SYS_UserShell = (SYS_Dummy + 4)
				{* send to user shell instead of boot shell *}
LONGINT	SYS_CustomShell	: SYS_CustomShell = (SYS_Dummy + 5)
				{* send to a specific shell (data is name) *}
{*	SYS_Error, *}


{*****************************************************************************}
{* definitions for the CreateNewProc() call *}
{* you MUST specify one of NP_Seglist or NP_Entry.  All else is optional. *}

LONGINT	NP_Dummy : NP_Dummy = (TAG_USER + 1000)
LONGINT	NP_Seglist	: NP_Seglist = (NP_Dummy + 1)
				{* seglist of code to run for the process  *}
LONGINT	NP_FreeSeglist	: NP_FreeSeglist = (NP_Dummy + 2)
				{* free seglist on exit - only valid for   *}
				{* for NP_Seglist.  Default is TRUE.	   *}
LONGINT	NP_Entry	: NP_Entry = (NP_Dummy + 3)
				{* entry point to run - mutually exclusive *}
				{* with NP_Seglist! *}
LONGINT	NP_Input	: NP_Input = (NP_Dummy + 4)
				{* filehandle - default is Open("NIL:"...) *}
LONGINT	NP_Output	: NP_Output = (NP_Dummy + 5)
				{* filehandle - default is Open("NIL:"...) *}
LONGINT	NP_CloseInput	: NP_CloseInput = (NP_Dummy + 6)
				{* close input filehandle on exit	   *}
				{* default TRUE				   *}
LONGINT	NP_CloseOutput	: NP_CloseOutput = (NP_Dummy + 7)
				{* close output filehandle on exit	   *}
				{* default TRUE				   *}
LONGINT	NP_Error	: NP_Error = (NP_Dummy + 8)
				{* filehandle - default is Open("NIL:"...) *}
LONGINT	NP_CloseError	: NP_CloseError = (NP_Dummy + 9)
				{* close error filehandle on exit	   *}
				{* default TRUE				   *}
LONGINT	NP_CurrentDir	: NP_CurrentDir = (NP_Dummy + 10)
				{* lock - default is parent's current dir  *}
LONGINT	NP_StackSize	: NP_StackSize = (NP_Dummy + 11)
				{* stacksize for process - default 4000    *}
LONGINT	NP_Name		: NP_Name = (NP_Dummy + 12)
				{* name for process - default "New Process"*}
LONGINT	NP_Priority	: NP_Priority = (NP_Dummy + 13)
				{* priority - default same as parent	   *}
LONGINT	NP_ConsoleTask	: NP_ConsoleTask = (NP_Dummy + 14)
				{* consoletask - default same as parent    *}
LONGINT	NP_WindowPtr	: NP_WindowPtr = (NP_Dummy + 15)
				{* window ptr - default is same as parent  *}
LONGINT	NP_HomeDir	: NP_HomeDir = (NP_Dummy + 16)
				{* home directory - default curr home dir  *}
LONGINT	NP_CopyVars	: NP_CopyVars = (NP_Dummy + 17)
				{* boolean to copy local vars-default TRUE *}
LONGINT	NP_Cli		: NP_Cli = (NP_Dummy + 18)
				{* create cli structure - default FALSE    *}
LONGINT	NP_Path		: NP_Path = (NP_Dummy + 19)
				{* path - default is copy of parents path  *}
				{* only valid if a cli process!	   *}
LONGINT	NP_CommandName	: NP_CommandName = (NP_Dummy + 20)
				{* commandname - valid only for CLI	   *}
LONGINT	NP_Arguments	: NP_Arguments = (NP_Dummy + 21)
{* cstring of arguments - passed with str in a0, length in d0.	*}
{* (copied and freed on exit.)	Default is 0-length NULL ptr.	*}
{* NOTE: not operational until V37 - see BIX/TechNotes for	*}
{* more info/workaround.  In V36, the registers were random.	*}
{* You must NEVER use NP_Arguments with a NP_Input of NULL.	*}

{* FIX! should this be only for cli's? *}
LONGINT	NP_NotifyOnDeath : NP_NotifyOnDeath = (NP_Dummy + 22)
				{* notify parent on death - default FALSE  *}
				{* Not functional yet. *}
LONGINT	NP_Synchronous	: NP_Synchronous = (NP_Dummy + 23)
				{* don't return until process finishes -   *}
				{* default FALSE.			   *}
				{* Not functional yet. *}
LONGINT	NP_ExitCode	: NP_ExitCode = (NP_Dummy + 24)
				{* code to be called on process exit	   *}
LONGINT	NP_ExitData	: NP_ExitData = (NP_Dummy + 25)
				{* optional argument for NP_EndCode rtn -  *}
				{* default NULL				   *}


{*****************************************************************************}
{* tags for AllocDosObject *}

LONGINT ADO_Dummy	: ADO_Dummy = (TAG_USER + 2000)
LONGINT	ADO_FH_Mode	: ADO_FH_Mode = (ADO_Dummy + 1)
				{* for type DOS_FILEHANDLE only		   *}
				{* sets up FH for mode specified.
				   This can make a big difference for buffered
				   files.				   *}
	{* The following are for DOS_CLI *}
	{* If you do not specify these, dos will use it's preferred values *}
	{* which may change from release to release.  The BPTRs to these   *}
	{* will be set up correctly for you.  Everything will be zero,	   *}
	{* except cli_FailLevel (10) and cli_Background (DOSTRUE).	   *}
	{* NOTE: you may also use these 4 tags with CreateNewProc.	   *}

LONGINT	ADO_DirLen	: ADO_DirLen = (ADO_Dummy + 2)
				{* size in bytes for current dir buffer    *}
LONGINT	ADO_CommNameLen	: ADO_CommNameLen = (ADO_Dummy + 3)
				{* size in bytes for command name buffer   *}
LONGINT	ADO_CommFileLen	: ADO_CommFileLen = (ADO_Dummy + 4)
				{* size in bytes for command file buffer   *}
LONGINT	ADO_PromptLen	: ADO_PromptLen = (ADO_Dummy + 5)
				{* size in bytes for the prompt buffer	   *}

{*****************************************************************************}
{* tags for NewLoadSeg *}
{* no tags are defined yet for NewLoadSeg *}
