Reply by Frank Manning March 27, 20042004-03-27
From: Bob Roos <>

> I am using a BX-35 with 32K eeprom.
>
> I presume I only have about 400bytes of Ram? So
> the array resides in ram and the task uses that
> array for its stack.

True.

> So you are limited in the number of tasks by the
> ram?

Yes, each task requires a minimum of 15 bytes of overhead for the
task frame. Any other memory use is above that.

-- Frank Manning
-- NetMedia, Inc.


Reply by Bob Roos March 26, 20042004-03-26
Hi Frank,

I am using a BX-35 with 32K eeprom.

I presume I only have about 400bytes of Ram? So the array resides in ram
and the task uses that array for its stack.

So you are limited in the number of tasks by the ram?

Bob

On Fri, 26 Mar 2004 10:18:13 -0700, Frank Manning <>
wrote:

> From: Bob Roos <>
>
>> I have been reading about multitasking.
>>
>> Where does the stack for each task reside?
>
> In the CallTask instruction, you specify an array for the task
> stack. That's where the stack resides.
>
>> If RAM is limited to 400(?) bytes and they
>> talk about 1000 tasks running in a test how
>> does it fit?
>
> We used a BX-01 with 64 KB RAM:
>
> http://www.basicx.com/Products/BX-01/RamSandwich/RamSandwich.htm
>
> -- Frank Manning
> -- NetMedia, Inc.



Reply by Frank Manning March 26, 20042004-03-26
From: Bob Roos <>

> I have been reading about multitasking.
>
> Where does the stack for each task reside?

In the CallTask instruction, you specify an array for the task
stack. That's where the stack resides.

> If RAM is limited to 400(?) bytes and they
> talk about 1000 tasks running in a test how
> does it fit?

We used a BX-01 with 64 KB RAM:

http://www.basicx.com/Products/BX-01/RamSandwich/RamSandwich.htm

-- Frank Manning
-- NetMedia, Inc.



Reply by Bob Roos March 26, 20042004-03-26
I have been reading about multitasking.

Where does the stack for each task reside? If RAM is limited to 400(?)
bytes and they talk about 1000 tasks running in a test how does it fit?

Thanks,

Bob Roos