|
Message
From: OpenCores CVS Agent<cvs@o...>
Date: Wed Jan 26 20:02:13 CET 2005
Subject: [cvs-checkins] MODIFIED: tv80 ...
Date: 00/05/01 26:20:02 Modified: tv80/tests tv80_env.h Log: Reset timeout counter whenever a message is printed Revision Changes Path 1.5 +6 -2 tv80/tests/tv80_env.h http://www.opencores.org/cvsweb.shtml/tv80/tests/tv80_env.h.diff?r1=1.4&r2=1.5 (In the diff below, changes in quantity of whitespace are not shown.) Index: tv80_env.h =================================================================== RCS file: /cvsroot/ghutchis/tv80/tests/tv80_env.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -b -r1.4 -r1.5 --- tv80_env.h 6 Nov 2004 02:14:48 -0000 1.4 +++ tv80_env.h 26 Jan 2005 19:02:12 -0000 1.5 @@ -25,9 +25,11 @@ void print (char *string) { char *iter; + char timeout; + timeout = timeout_port; timeout_port = 0x02; - timeout_port = 0x01; + timeout_port = timeout; iter = string; while (*iter != 0) { @@ -40,9 +42,11 @@ int cd = 0; int i; char digits[8]; + char timeout; + timeout = timeout_port; timeout_port = 0x02; - timeout_port = 0x01; + timeout_port = timeout; while (num > 0) { digits[cd++] = (num % 10) + '0';
|
 |