[Coco] Speed question

Becker, Gary Gary.Becker at amd.com
Fri Aug 24 14:03:39 EDT 2007


I loaded up Basic09 and got these results.

1.79 MHz	2 min 16 sec
4.167 MHz	57 sec
12.5 MHz	19 sec
25 MHz	11 sec

What about:

#include <stdio.h>
main()
{
	int	a;
	for(a=0; a<=10000; a++)
		printf("%d\n",a);
}

I'll let you know when I get the C compiler running.

Gary

-----Original Message-----
From: coco-bounces at maltedmedia.com [mailto:coco-bounces at maltedmedia.com]
On Behalf Of Bob Devries
Sent: Friday, August 17, 2007 8:36 PM
To: CoCoList for Color Computer Enthusiasts
Subject: Re: [Coco] Speed question

Just to be different, I used Basic09 to do that. Here's my source:

DIM A:REAL
D$=DATE$
FOR A=1 TO 10000.
PRINT A
NEXT A
PRINT D$
PRINT DATE$
END

This took 2 minutes 38 seconds on my 1MB Coco3 running NitrOS9 V030206.
With 
Basic09 running in interpreted mode (I.e. not PACKED). NitrOS9 of
course, 
runds in high speed mode.

--
Regards, Bob Devries, Dalby, Queensland, Australia

Isaiah 50:4 The sovereign Lord has given me
the capacity to be his spokesman,
so that I know how to help the weary.

website: http://www.home.gil.com.au/~bdevasl
my blog: http://bdevries.invigorated.org/

----- Original Message ----- 
From: "Becker, Gary" <Gary.Becker at amd.com>
To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
Sent: Saturday, August 18, 2007 7:43 AM
Subject: [Coco] Speed question


>
> I am trying to gauge the speed of the CoCo3FPGA with a real CoCo3. I
am
> running a simple BASIC program.
>
> 10 FOR A=0 TO 10000
> 20 PRINT A
> 30 NEXT A
>
> Can someone with a real CoCo type in this simple program, time how
long
> it takes, and send me back the results? I would like to see 6809 and
> 6309 runs. It can be run at either the standard speed or the fast
speed,
> since it scales nicely. Here is a list of the ones that I have taken.
>
> 0.89 MHz 172 sec.
> 1.79 MHz 86 sec
> 4.167 MHz 36 sec
> 12.5 MHz 25 sec
> 25 MHz 8 sec (really 21.875 MHz)
>
>
> Thanks
>
> Gary
>
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco 


--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco







More information about the Coco mailing list