1 #include <proto/exec.h>
4 #include <dos/dostags.h>
11 static void StartCommand(void)
13 BPTR fh
= Open("S:Startup-Sequence", MODE_OLDFILE
);
15 SystemTags("type in:", SYS_Input
, (IPTR
) fh
);
28 SYS_Input
, (IPTR
) Open("NIL:", MODE_OLDFILE
),
29 SYS_Output
, (IPTR
) Open("RAW:////Dir/CLOSE/WAIT", MODE_NEWFILE
),
37 SYS_Input
, SYS_DupStream
,
38 SYS_Output
, SYS_DupStream
,
42 fh
= Open("S:Startup-Sequence", MODE_OLDFILE
);
44 SystemTags("type in:", SYS_Input
, (IPTR
) fh
, TAG_DONE
);
46 sig
= AllocSignal(-1);
49 CreateNewProcTags(NP_Entry
, (IPTR
) StartCommand
, NP_Input
, (IPTR
) Input(), NP_CloseInput
, FALSE
);