#include <stdio.h>
#include <912d60.h>
#include "semlib.h"



/* dummy task to eat up time, and to give the kernel
   something to multitask with  */
void task1 (void) {
	 
	 int i;
	 
	 sem_get(COM1);
	 INTR_ON();
	 
	 
	 //puts("T1 Starting");
	 for (i=0; i<0x1800; i++);
	 //puts("T1.1");
	 
	 for (i=0; i<0x1A00; i++);
	 //puts("T1.2");
	 
	 for (i=0; i<0x2C00; i++);
	 //puts("T1.3");

	 for (i=0; i<0x2E00; i++);
	 //puts("T1 Finished");
	 
	 //puts("-T1-");
	 
	 
	 INTR_OFF();
	 sem_give(COM1);

}

