Greed
[Deleted User]
Posts: 0
Hi,
·Just for the heck of it (just have to wreck stuff) I was trying to see how many cogs I could get on line at yhe same time doing big stuff, here's what i started with. I tried bigger stacks , some more code ,but only one display will work at a time ?
Thank's Brian
CON
· _clkmode = xtal1 + pll16x
· _xinfreq = 5_000_000
VAR
·long stack0[noparse][[/noparse]20]
·long stack1[noparse][[/noparse]20]
obj
· textscreen_to:"tv_text_demo"
· termscreen_to:"vga_text_demo"
pub Start
· cognew(textscreen_to.start,@stack0)
· cognew(termscreen_to.start,@stack1)
·
·Just for the heck of it (just have to wreck stuff) I was trying to see how many cogs I could get on line at yhe same time doing big stuff, here's what i started with. I tried bigger stacks , some more code ,but only one display will work at a time ?
Thank's Brian
CON
· _clkmode = xtal1 + pll16x
· _xinfreq = 5_000_000
VAR
·long stack0[noparse][[/noparse]20]
·long stack1[noparse][[/noparse]20]
obj
· textscreen_to:"tv_text_demo"
· termscreen_to:"vga_text_demo"
pub Start
· cognew(textscreen_to.start,@stack0)
· cognew(termscreen_to.start,@stack1)
·
Comments
Andre'
They are on the demo board. From the wiring schematic I don't think that there should be a conflict , I think each cog has it's own video . Don't really need to make it do this , just seeing how much it could do.
Thank's Brian