Program banks
I have a program 0:myprog.bsp in bank 0. Inside it, I want to call
bank 1.
How do I create my program 1:myprog.bsp? I don't see any buttons on
the IDE.
Can someone please give me a step by step buttons to press to create
other program banks?
Thank you.
bank 1.
How do I create my program 1:myprog.bsp? I don't see any buttons on
the IDE.
Can someone please give me a step by step buttons to press to create
other program banks?
Thank you.
Comments
basicstampede@y... writes:
> I have a program 0:myprog.bsp in bank 0. Inside it, I want to call
> bank 1.
>
> How do I create my program 1:myprog.bsp? I don't see any buttons on
> the IDE.
>
> Can someone please give me a step by step buttons to press to create
> other program banks?
>
Your starting program in bank 0 is myprogram. That program name can not be
used again.
Go the the editor and create a new program called my2program. Put something
in it and save it. Close that program.
Go back to myprogram.bsp. Up at the top where it says Stamp BSP,
myprogram.bsp - insert a comma after myprogram.bsp, then type
my2program.bsp. Make sure you have a " } " at the end.
Close myprogram.bsp, save it, then reopen it. Up at the top it should list
both of your programs, and there should be tabs for each just above the editor.
Make sure that all of your variables appear in both programs in EXACTLY the
same order. The same goes for constants and pin assignments.
Sid Weaver
W4EKQ
Port Richey, FL
[noparse][[/noparse]Non-text portions of this message have been removed]
> Go back to myprogram.bsp. Up at the top where it says Stamp BSP,
> myprogram.bsp - insert a comma after myprogram.bsp, then type
> my2program.bsp. Make sure you have a " } " at the end.
My entire program says. What are you referring to about "top where
it says Stamp BSP, myprogram.bsp"?
'{$STAMP BS2p}
'{$PBASIC 2.5}
POLLIN 15, 0
'POLLOUT 14, 1
POLLMODE 2
Loop1:
DEBUG "waste", CR
POLLWAIT 6
TOGGLE 14
POLLRUN 1
GOTO Loop1
END
--- In basicstamps@yahoogroups.com, Newzed@a... wrote:
> In a message dated 11/14/2003 3:04:17 PM Eastern Standard Time,
> basicstampede@y... writes:
>
>
> > I have a program 0:myprog.bsp in bank 0. Inside it, I want to
call
> > bank 1.
> >
> > How do I create my program 1:myprog.bsp? I don't see any buttons
on
> > the IDE.
> >
> > Can someone please give me a step by step buttons to press to
create
> > other program banks?
> >
>
> Your starting program in bank 0 is myprogram. That program name
can not be
> used again.
>
> Go the the editor and create a new program called my2program. Put
something
> in it and save it. Close that program.
>
> Go back to myprogram.bsp. Up at the top where it says Stamp BSP,
> myprogram.bsp - insert a comma after myprogram.bsp, then type
> my2program.bsp. Make sure you have a " } " at the end.
>
> Close myprogram.bsp, save it, then reopen it. Up at the top it
should list
> both of your programs, and there should be tabs for each just above
the editor.
>
> Make sure that all of your variables appear in both programs in
EXACTLY the
> same order. The same goes for constants and pin assignments.
>
> Sid Weaver
> W4EKQ
> Port Richey, FL
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
Then, in bank 0, change your $STAMP directive so it looks like this:
' {$STAMP BS2p, MyProg1.BSP}
You may need to close and re-open the bank zero program for the hook-up
to take place (the tabs to be updated), but the IDE will still compile
both programs and download them to the appropriate bank.
For more details on multi-bank programming, refer to section 3 of the
manual, or to this N&V article:
http://www.parallax.com/dl/docs/cols/nv/vol3/col/87.pdf
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: basicstampede [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=kNH1qf5n6VsWLv8qBSn3k4HkiHX0xF6KbQRrQLd3k5X8nJWm1nEC0Xfs2IJ6emJ2Nd-2iJMPMuJ602BX-55VuvA]basicstampede@y...[/url
Sent: Friday, November 14, 2003 1:55 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Program banks
I have a program 0:myprog.bsp in bank 0. Inside it, I want to call
bank 1.
How do I create my program 1:myprog.bsp? I don't see any buttons on
the IDE.
Can someone please give me a step by step buttons to press to create
other program banks?
Thank you.
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/
This message has been scanned by WebShield. Please report SPAM to
abuse@p....