[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/wustl/apps/AgillaAgents/Tests/TupleSpace In.ma, 1.1, 1.2 Out.ma, 1.1, 1.2 README, 1.1, 1.2 Read.ma, 1.1, 1.2

Chien-Liang Fok chien-liang at users.sourceforge.net
Thu May 18 14:13:31 PDT 2006


Update of /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/Tests/TupleSpace
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv19324/contrib/wustl/apps/AgillaAgents/Tests/TupleSpace

Modified Files:
	In.ma Out.ma README Read.ma 
Log Message:


Index: In.ma
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/Tests/TupleSpace/In.ma,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** In.ma	6 Dec 2005 20:45:43 -0000	1.1
--- In.ma	18 May 2006 21:13:29 -0000	1.2
***************
*** 1,8 ****
! BEGIN		pusht ANY
! 		pusht ANY
! 		pusht ANY
! 		pushc 3
! 		in
! 		pushc 25
! 		putled   // toggle red
  		halt
\ No newline at end of file
--- 1,8 ----
! BEGIN		pusht ANY
! 		pusht ANY
! 		pusht ANY
! 		pushc 3
! 		in
! 		pushc 25
! 		putled   // toggle red
  		halt
\ No newline at end of file

Index: Out.ma
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/Tests/TupleSpace/Out.ma,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Out.ma	6 Dec 2005 20:45:43 -0000	1.1
--- Out.ma	18 May 2006 21:13:29 -0000	1.2
***************
*** 1,21 ****
! BEGIN		pushc 1
! 		pushn ncr
! 		pushc 2
! 		pushc 3
! 		out
! 		pushc RETURN
! 		rjump THREEBLINK
! RETURN		halt		
! THREEBLINK  	pushc 0
! TBLOOP  	copy
!         	pushc 6
!         	cneq
!         	rjumpc TBCONT
!         	pop     // clear the opstack
!         	jumps   // return to caller
! TBCONT  	pushc 31
!         	putled        // toggle all three LEDs        
!         	pushc 1
!         	sleep
!         	inc
          	rjump TBLOOP		
\ No newline at end of file
--- 1,21 ----
! BEGIN		pushc 1
! 		pushn ncr
! 		pushc 2
! 		pushc 3
! 		out
! 		pushc RETURN
! 		rjump THREEBLINK
! RETURN		halt		
! THREEBLINK  	pushc 0
! TBLOOP  	copy
!         	pushc 6
!         	cneq
!         	rjumpc TBCONT
!         	pop     // clear the opstack
!         	jumps   // return to caller
! TBCONT  	pushc 31
!         	putled        // toggle all three LEDs        
!         	pushc 1
!         	sleep
!         	inc
          	rjump TBLOOP		
\ No newline at end of file

Index: README
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/Tests/TupleSpace/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** README	6 Dec 2005 20:45:43 -0000	1.1
--- README	18 May 2006 21:13:29 -0000	1.2
***************
*** 1,15 ****
! Tests the functionality of the local tuple space.
! 
! Out.ma:
! 	Places tuple <2, "ncr", 1> into the local tuple space.  Then
! 	blinks all three LEDs three times.
! 
! Read.ma:
! 	Searches for a tuple matching the template
! 	<any, any, any>.  Toggles the red LED when it finds a
! 	result.  Note that the agent blocks until a match is found.
! 
! In.ma:
! 	Searches for and removes a tuple matching template <any, any, any>. 
! 	Toggles the red LED when it finds a match.
! 
--- 1,15 ----
! Tests the functionality of the local tuple space.
! 
! Out.ma:
! 	Places tuple <2, "ncr", 1> into the local tuple space.  Then
! 	blinks all three LEDs three times.
! 
! Read.ma:
! 	Searches for a tuple matching the template
! 	<any, any, any>.  Toggles the red LED when it finds a
! 	result.  Note that the agent blocks until a match is found.
! 
! In.ma:
! 	Searches for and removes a tuple matching template <any, any, any>. 
! 	Toggles the red LED when it finds a match.
! 

Index: Read.ma
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/Tests/TupleSpace/Read.ma,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Read.ma	6 Dec 2005 20:45:43 -0000	1.1
--- Read.ma	18 May 2006 21:13:29 -0000	1.2
***************
*** 1,8 ****
! BEGIN		pusht ANY
! 		pusht ANY
! 		pusht ANY
! 		pushc 3
! 		rd
! 		pushc 25
! 		putled   // toggle red
  		halt
\ No newline at end of file
--- 1,8 ----
! BEGIN		pusht ANY
! 		pusht ANY
! 		pusht ANY
! 		pushc 3
! 		rd
! 		pushc 25
! 		putled   // toggle red
  		halt
\ No newline at end of file



More information about the Tinyos-contrib-commits mailing list