assembly crashes
Erik Friesen
Posts: 1,071
Why in the world would adding an unused object in the top cog crash the assembly cog?· For example why should adding an object to fullduplexserial cause a crash?·
Is there anyway aside from using wr-byte-word-long the crash outside cogs?
Here is some code.· It is not complete, only to show how I am passing and using my pointers.· It may very well be flawed.
I am calling it like this,· object.start(@led,@code,@batlow,@bathigh)
Is there anyway aside from using wr-byte-word-long the crash outside cogs?
Here is some code.· It is not complete, only to show how I am passing and using my pointers.· It may very well be flawed.
I am calling it like this,· object.start(@led,@code,@batlow,@bathigh)
var long pointers[noparse][[/noparse]4] pub start (ledpointer, codeokpointer,batlow,bathigh) pointers[noparse][[/noparse]0]:=ledpointer pointers[noparse][[/noparse]1]:=codeokpionter pointers[noparse][[/noparse]2]:=bathigh pointers[noparse][[/noparse]3]:=batlow cognew(@entry, @pointers) dat org entry mov t1,par rdlong ledp,t1 add t1,#4 rdlong codep,t1 add t1,#4 rdlong bathip,t1 add t1,#4 rdlong batlop,t1 'to send to the outside world wrlong missed,codep wrlong blo,batlop wrlong bhi,bathip
Comments