Page 2 of 2

Re: Project VDP-1

Posted: Mon Nov 01, 2010 3:12 pm
by deadshot
yzoer,

The error is an out-of-memory error (after removing layer0)...I am hoping that you have time to try and just compile the code for XC-5 development boards. It is like searching in the dark for me...

By removing the second layer there will be no background, right? Just the sprites (mario, coins, and bullet)...It seems like 64K Ram should go alot further....

Re: Project VDP-1

Posted: Mon Nov 01, 2010 6:24 pm
by yzoer
Hi!

Yeah, it'd basically be without a background but sprites and everything should still be there. I'll see what I can do tonight!

-Yvo

Re: Project VDP-1

Posted: Wed Nov 03, 2010 9:36 pm
by yzoer
Hi There!

In order to run it on an XC-5 board, you need to change VDP_CORE in VDP.H to 0 and free up as much memory as you can. Easiest way to do that is to get rid of both layer0 and layer1 and trim down the number of tiles.

This doesn't mean you won't be able to do anything btw. The layers and tiles come in somewhere around 10-20k IIRC, so you should have plenty of space.

Let me know how things go!

-Yvo

Re: Project VDP-1

Posted: Fri Apr 15, 2011 4:36 pm
by deadshot
Yzoer,

I have been looking through your ASM code and have a quick question...what does the following global reference do...

.globl vga, "f{0}(o:p,o:p,o:p,chd)" //,&a(:us))"

what is "(o:p,o:p,o:p,chd)" //,&a(:us))"

Re: Project VDP-1

Posted: Mon Apr 18, 2011 10:53 am
by ale500
That is the description of are the arguments for the function. They are described in the assembly manual (that just now I can't find at xmos web site!)

Re: Project VDP-1

Posted: Mon Apr 18, 2011 10:07 pm
by deadshot
ale500

thank you for the reply...if you find the link please post it