Search found 10 matches

by that_awesome_guy
Thu Feb 18, 2010 10:01 pm
Forum: Development Tools and Programming
Topic: Efficient Random Number Generation
Replies: 19
Views: 17656

Re: Efficient Random Number Generation

I thought it was a helpful pointer, sorry you didn't feel that way. These are standard C functions, they are not xmos specific. If XMOS supports standard C then I would personally expect it to support standard library functions such as these. Standard library documentation can be found here - http:/...
by that_awesome_guy
Thu Feb 18, 2010 9:03 pm
Forum: Development Tools and Programming
Topic: Efficient Random Number Generation
Replies: 19
Views: 17656

Re: Efficient Random Number Generation

um...

Code: Select all

#include <xs1.h>
#include <math.h>
#include <print.h>
#include <stdlib.h>

int main()
{
	printuintln(rand());
	return 0;
}
:?: :?: :?: :?: :?: :?: :?: :?:
by that_awesome_guy
Thu Feb 18, 2010 2:00 pm
Forum: Other XMOS Development Kits
Topic: Question Regarding the TCP/IP Stack Demo on XC-2
Replies: 8
Views: 6371

Re: Question Regarding the TCP/IP Stack Demo on XC-2

Folknology wrote:That's interesting Colin
Name fail... :lol: -

Corin wrote:Kind Regards,
Corin
by that_awesome_guy
Fri Jan 22, 2010 12:17 am
Forum: Projects
Topic: XLogic, logic analyzer
Replies: 12
Views: 11431

Re: XLogic, logic analyzer

I have to say your software looks rather familiar... http://www.saleae.com/home/ :P
by that_awesome_guy
Wed Jan 06, 2010 12:04 am
Forum: Development Tools and Programming
Topic: "service" functions in XC. How to?
Replies: 21
Views: 18343

Re: "service" functions in XC. How to?

Found a way to stop your code running all night...

Code: Select all

waffleMix.yeast  = 7;
should in fact be

Code: Select all

waffleMix.yeast  = 0;
I also found a good page about further optimisations to your waffle algorithm - http://www.waffle-recipe.com/recipes/be ... le-recipe/

:lol:
by that_awesome_guy
Tue Jan 05, 2010 6:57 pm
Forum: Development Tools and Programming
Topic: Starting with Assembler
Replies: 37
Views: 28667

Re: Starting with Assembler

No longer loosing the will to live. It uggered off a couple of hours ago. :roll: Can't get the tools to run from the CLI what ever I do. Tried the 9.9.2 64 bit 9.9.1 32 bit and 9.9.1 64 bit, all no go on Ubuntu Karmic. This of any use? http://www.xmoslinkers.org/forum/viewtopic.php?f=4&t=698
by that_awesome_guy
Thu Dec 31, 2009 3:50 am
Forum: Tutorials
Topic: XMOS Linkers Top Tips
Replies: 1
Views: 16959

XMOS Linkers Top Tips

Head over to the XMOS Linkers top tips forum for a treasure trove of exciting tips, hints and tricks (plus some simple tutorials!) to get you going :D Some sample 'Top Tips'... Getting data in and out of an XCore - using fopen, fread and fwrite over JTAG Using the simulator in Eclipse How the XC Com...
by that_awesome_guy
Sun Dec 27, 2009 6:00 pm
Forum: Off Topic
Topic: Linux on XMOS!
Replies: 16
Views: 18165

Re: Linux on XMOS!

Hey! Looks impressive and that really took you an afternoon? I just took a look (when I say look, I mean ~2hrs) at the uClinux code and it doesn't look particularly trivial to port (i was thinking in the order of man week(s))... Couple of questions: 1) Are you going to be posting the patch against t...
by that_awesome_guy
Sun Dec 20, 2009 1:37 am
Forum: Projects
Topic: What would you do with an XDK or XMP-64?
Replies: 57
Views: 62742

Re: What would you do with an XDK or XMP-64?

The XMP-64 was supposed to come out in December and I was a bit disappointed that I couldn't play with it under the Christmas tree. Hopefully in January. It can't be too far away... http://www.xmoslinkers.org/forum/viewtopic.php?p=4442#p4432 - nice pair of ethernet ports there as well at the top :D
by that_awesome_guy
Fri Dec 18, 2009 5:00 pm
Forum: Development Tools and Programming
Topic: porting c-projects to xmos simulator(xde)
Replies: 1
Views: 4006

Re: porting c-projects to xmos simulator(xde)

Hi,

I think that question has been answered on XMOS Linkers - http://www.xmoslinkers.org/forum/viewto ... ?f=6&t=671

Cheers!