#include <exec/types.h>
#include <exec/nodes.h>
#include <exec/lists.h>
#include <exec/memory.h>
#include <powerup/ppclib/interface.h>
#include <powerup/gcclib/powerup_protos.h>

void main(void)
{
BPTR		MyFile;
ULONG		MySignal;

  if (MyFile=PPCOpen("con:0/200/640/200/TaskB/CLOSE",MODE_NEWFILE))
  {
    for (;;)
    {
      PPCWrite(MyFile,
            "Task B is active\n",
            sizeof("Task B is active\n"));
    }
    PPCClose(MyFile);
  }
  else
  {
    PPCRawDoFmt("Couldn`t open CLI Window\n",
                NULL,
                1,				/* 0=Buffer,1=serial <> NOT supported yet */
                NULL);
  }
}
