Search found 15 matches

by Ruben
Thu Jan 27, 2011 12:28 pm
Forum: Latest news
Topic: FOSDEM 2011
Replies: 1
Views: 3407

Re: FOSDEM 2011

I would like to correct that I will not present the project myself. Christophe Scholliers from the VUB University in Brussels will do that.
by Ruben
Mon Sep 13, 2010 5:25 pm
Forum: Projects
Topic: XMOS Bit Scheme is a Scheme interpreter for XMOS chips
Replies: 2
Views: 2979

Re: XMOS Bit Scheme is a Scheme interpreter for XMOS chips

I've just released the source code :)
You can find it under the projects-section http://www.xcore.com/projects/xmos-bit-scheme
by Ruben
Mon Sep 13, 2010 5:09 pm
Forum: Projects
Topic: XMOS BIT Scheme
Replies: 1
Views: 2047

XMOS BIT Scheme

<r>Version: 1<br/> Status: Public release<br/> License: GPL<br/> Download: /files/project_builds/XMOSbitScheme-1.tar_.gz<br/> <br/> XMOS BIT Scheme is a Scheme interpreter for XMOS chips. It is byte code based, in order to reduce memory size to fit inside the available 64KB of memory. The interprete...
by Ruben
Tue Apr 06, 2010 5:21 pm
Forum: Development Tools and Programming
Topic: "Dynamic select" for interpreter
Replies: 3
Views: 3763

Re: "Dynamic select" for interpreter

I'm trying to make something like this (very similar to the scheme "cond"), but providing the functionality of an XC "select": (select ((pinnotequal pin 2) ....) ((timeafter x) ....) (else .....) ) Thanks for the help already, as I'm not really familiar with the XCore instruction...
by Ruben
Mon Apr 05, 2010 10:33 am
Forum: Development Tools and Programming
Topic: "Dynamic select" for interpreter
Replies: 3
Views: 3763

"Dynamic select" for interpreter

As some of you might already know, I'm working on a Scheme interpreter for XMOS devices. One of the things I still need to implement is the "select" statement. The problem there is that the exact select statement (number of cases, etc..) is not known at compile time. So I need to make some...
by Ruben
Sun Mar 28, 2010 2:27 pm
Forum: Development Tools and Programming
Topic: 31 bit timer
Replies: 4
Views: 4313

Re: 31 bit timer

Hmm, very interesting solution and it seems to work fine :)

Thanks a lot!
by Ruben
Fri Mar 26, 2010 9:46 pm
Forum: Development Tools and Programming
Topic: 31 bit timer
Replies: 4
Views: 4313

Re: 31 bit timer

That will AFAIK only work as long as you don't want to do something like this: timer t; t when timerafter ( time ) :> void ; The problem is that the value of time will always be in the range of 0x0000.0000 & 0x8FFF.FFFF (31 bit). However, half of the time the above code will not work properly be...
by Ruben
Fri Mar 26, 2010 10:19 am
Forum: Development Tools and Programming
Topic: 31 bit timer
Replies: 4
Views: 4313

31 bit timer

As you might know I'm working on running interpreted languages on XMOS devices. I dropped the previous interpreter (which can be found in projects) for a much better (bytecode based) one. Now it comes with a problem which is that integers are 31 bit (one bit is used as a flag). For most applications...
by Ruben
Wed Mar 17, 2010 11:59 am
Forum: Development Tools and Programming
Topic: "on stdcore" malfunction?
Replies: 4
Views: 5195

Re: "on stdcore" malfunction?

OK :roll: , now I feel incredibly stupid :oops:

I'm like already working with the board for months and I can only vaguely remember ever putting it in program mode. Why does it work for single core apps but not for multicore ones? :?
by Ruben
Wed Mar 17, 2010 11:14 am
Forum: Development Tools and Programming
Topic: "on stdcore" malfunction?
Replies: 4
Views: 5195

Re: "on stdcore" malfunction?

It's on startup. I've made this simple example: #include <stdio.h> #include <platform.h> int main ( void ) { par { //on stdcore[0]: { puts("a"); } //on stdcore[1]: { puts("b"); } } return 0; } It runs fine without the stdcore, but crashes if you uncomment them. About the XN file:...