out of variable space
Archiver
Posts: 46,084
At 06:42 AM 11/29/03 -0800, Jonathan Peakall wrote:
>Ben,
<snip>
>Also, you can use a different slot. As you probably know, the BS2s all have
>8 program slots. You can drop the DS1624 code in one slot and your main
>program in another. Then, call the slot with the DS1624 from your main
>program. There are some good docs on the Parallax site about the use of
>slots.
>
>Hope this helps,
>
>Jonathan
>
>www.madlabs.info
Just to avoid confusion, the BS-2 (plain) only has 1 x 2K memory and has no
banks like the other BS-2 products. The BS-2SX, BS-2e, BS-2p24, BS-2p40,
BS-2pe all
have at least 8 x 2K of program space, and do have slots or banks of memory.
An excellent Basic Stamp Model comparison sheet can be downloaded from here:
http://www.parallax.com/html_pages/tech/faqs/stamp_specs.asp
Regards,
Bruce Bates
>Ben,
<snip>
>Also, you can use a different slot. As you probably know, the BS2s all have
>8 program slots. You can drop the DS1624 code in one slot and your main
>program in another. Then, call the slot with the DS1624 from your main
>program. There are some good docs on the Parallax site about the use of
>slots.
>
>Hope this helps,
>
>Jonathan
>
>www.madlabs.info
Just to avoid confusion, the BS-2 (plain) only has 1 x 2K memory and has no
banks like the other BS-2 products. The BS-2SX, BS-2e, BS-2p24, BS-2p40,
BS-2pe all
have at least 8 x 2K of program space, and do have slots or banks of memory.
An excellent Basic Stamp Model comparison sheet can be downloaded from here:
http://www.parallax.com/html_pages/tech/faqs/stamp_specs.asp
Regards,
Bruce Bates
Comments
Good thing you are around to error check my posts ;-)
I'll try to be a little more careful in my statments. Thanks again for the
correction!
Jonathan
www.madlabs.info
Original Message
From: "Bruce Bates" <bvbates@u...>
To: <basicstamps@yahoogroups.com>
Sent: Saturday, November 29, 2003 9:24 AM
Subject: Re: [noparse][[/noparse]basicstamps] out of variable space
> At 06:42 AM 11/29/03 -0800, Jonathan Peakall wrote:
> >Ben,
> <snip>
>
> >Also, you can use a different slot. As you probably know, the BS2s all
have
> >8 program slots. You can drop the DS1624 code in one slot and your main
> >program in another. Then, call the slot with the DS1624 from your main
> >program. There are some good docs on the Parallax site about the use of
> >slots.
> >
> >Hope this helps,
> >
> >Jonathan
> >
> >www.madlabs.info
>
> Just to avoid confusion, the BS-2 (plain) only has 1 x 2K memory and has
no
> banks like the other BS-2 products. The BS-2SX, BS-2e, BS-2p24, BS-2p40,
> BS-2pe all
> have at least 8 x 2K of program space, and do have slots or banks of
memory.
>
> An excellent Basic Stamp Model comparison sheet can be downloaded from
here:
> http://www.parallax.com/html_pages/tech/faqs/stamp_specs.asp
>
> Regards,
>
> Bruce Bates
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
how do i save/download my program to another slot?
does it mean that i could have my sub-function in another slot?
regards
Ben
Bruce Bates <bvbates@u...> wrote:
At 06:42 AM 11/29/03 -0800, Jonathan Peakall wrote:
>Ben,
>Also, you can use a different slot. As you probably know, the BS2s all have
>8 program slots. You can drop the DS1624 code in one slot and your main
>program in another. Then, call the slot with the DS1624 from your main
>program. There are some good docs on the Parallax site about the use of
>slots.
>
>Hope this helps,
>
>Jonathan
>
>www.madlabs.info
Just to avoid confusion, the BS-2 (plain) only has 1 x 2K memory and has no
banks like the other BS-2 products. The BS-2SX, BS-2e, BS-2p24, BS-2p40,
BS-2pe all
have at least 8 x 2K of program space, and do have slots or banks of memory.
An excellent Basic Stamp Model comparison sheet can be downloaded from here:
http://www.parallax.com/html_pages/tech/faqs/stamp_specs.asp
Regards,
Bruce Bates
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and Body of
the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
[noparse][[/noparse]Non-text portions of this message have been removed]
>hi bruce,
>
>how do i save/download my program to another slot?
>
>does it mean that i could have my sub-function in another slot?
>
>regards
>Ben
Hi Ben -
If you have a BS-2SX or any "larger" BS-2 Stamp look at the '{$STAMP xx }
directive in the Stamp PBASIC Manual for explicit instructions. If you have a
BS-2 (plain) there are no "slots" or memory banks available.
Here is the general format of that directive used to indicate the use of
multiple
program banks: ‘{$STAMP BS2sx, file2, file3, …, file8 } . The instructions for
use can be found in the manual at about Page 40.
Another excellent resource for multi-bank programming can be found here:
http://www.emesystems.com/BS2SX.htm
I hope that gets you started.
Regards,
Bruce Bates