[sdiy] Glockenspiel
patchell
patchell at silcom.com
Sat Sep 28 19:03:28 CEST 2002
Even though I have really no time for Synth-DIY this weekend, I did
manage to work a little bit in.
I was having trouble with the firmware in the Glock I am fixing up.
It is being controlled by a 68008 running an RTOS I wrote. Each note is
handled by a task. It was doing all kinds of wierd things. Turns out,
in an effort to keep bad things from happening...I caused bad things to
happen. I allocated 4096 bytes of stack space for each task that
controls a note. There are 32 notes....with makes 131072 total
bytes...and that is the same size as the ram chip...and that left no
room for anything else....guess I need to modify malloc to turn an error
light on if I run out of memory. Took a bit of thinking to realize I
was abusing an operating system I created myself...which just proves
that even if you write the software yourself, that doesn't mean you know
how to use it.
--
-Jim
------------------------------------------------
* Visit:http://www.silcom.com/~patchell/
*-----------------------------------------------
*I'm sure glad Merry Christmas comes just once a year
* -Yogi Yorgensen
------------------------------------------------
More information about the Synth-diy
mailing list