program directive for bs2sx
Archiver
Posts: 46,084
At 01:20 AM 11/23/2001 -0800, you wrote:
>Hi,
>
>I currently develop a program for the bs2sx that uses multiple banks.
>Three banks contain only editable tables and a short routine to extract
>some information to the scratchpad.
>Our customer wants to be able to edit the tables.
>I recall that there is a directive (I thought it was $PROGRAM) I can
>place at the start of a file so that when downloading that file as a single
>program
>it is placed into the correct bank.
>I searched the manual but could not locate the directive.
I believe you may be speaking about the $STAMP directive.
>What is the directive and what is its format?
Check Pages numbered 37-38 in the latest Stamp manual for the exact
specifications, and directions for use.
>Thx
>
>Regards peter
>
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/
>Hi,
>
>I currently develop a program for the bs2sx that uses multiple banks.
>Three banks contain only editable tables and a short routine to extract
>some information to the scratchpad.
>Our customer wants to be able to edit the tables.
>I recall that there is a directive (I thought it was $PROGRAM) I can
>place at the start of a file so that when downloading that file as a single
>program
>it is placed into the correct bank.
>I searched the manual but could not locate the directive.
I believe you may be speaking about the $STAMP directive.
>What is the directive and what is its format?
Check Pages numbered 37-38 in the latest Stamp manual for the exact
specifications, and directions for use.
>Thx
>
>Regards peter
>
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/
Comments
I currently develop a program for the bs2sx that uses multiple banks.
Three banks contain only editable tables and a short routine to extract
some information to the scratchpad.
Our customer wants to be able to edit the tables.
I recall that there is a directive (I thought it was $PROGRAM) I can
place at the start of a file so that when downloading that file as a single
program
it is placed into the correct bank.
I searched the manual but could not locate the directive.
What is the directive and what is its format?
Thx
Regards peter
The program in the "0" slot has to have
' {$STAMP BS2sx, xxx1.bsx, xxx2.bsx, xxx3.bsx}
naming the programs that you want to link together into a project.
-- Tracy
>Hi,
>
>I currently develop a program for the bs2sx that uses multiple banks.
>Three banks contain only editable tables and a short routine to extract
>some information to the scratchpad.
>Our customer wants to be able to edit the tables.
>I recall that there is a directive (I thought it was $PROGRAM) I can
>place at the start of a file so that when downloading that file as a single
>program
>it is placed into the correct bank.
>I searched the manual but could not locate the directive.
>
>What is the directive and what is its format?
>Thx
>
>Regards peter
>
>I got that and it works if all project files are available.
>I want a customer be able to edit some tables in
>slots other than 0, without giving up my source.
>
>The only way I can think of is to use a dummy program0 file
>using '{$STAMP BS2sx ,file2,,file4}
>and use the download setting 'current'.
>There is a risk that the user downloads program0 in
>which case the circuitry doesn't function of course.
>
>Any other 'work arounds'?
Hi Peter,
1) DOS?... Maybe they could use the DOS software, however, your
customer would have to press ALT-n (where n=0 to 7) before running a
program to direct it to a specific bank. That can't be embedded in
the program code.
2) Are you using the new object code creator in the version 1.2
STAMPW.EXE? I am not sure, but it has some pretty powerful
command-line capabilities. Direct your question to Jeff Martin at
Parallax. In any case, even if your customer gets the whole file,
they are not going to be able to see your source code.
3) (I have a commercial interest in the following product). The
Stache <http://www.emesys.com/stache.htm> can do precisely what you
want. If your customer has a Stache, you can email them the file, as
an executable object loader, and they simply program it into the
Stache as if they were programming a Stamp. You can even email them
several different versions of the parameters, and the Stache can hold
them all. Then they can take the Stache out to the factory floor or
field site and run the new parameters or program into their
Stamp-based system. The Stache is quite versatile in which program
bank or even part of a program bank gets transferred. Here is a
cartoon of how it works with the object loader.
http://www.emesys.com/stache9a.gif
(Note: the latest Stache firmware is version 1.6, to work with the
Stamp editor 1.2)
4) Klaus Zahnert had a nice article in "Funkamateur" (German) in
September about different methods to program Stamps in field
settings. "Tokenbasierter Programm-transport fur die BASIC Stamp".
-- regards,
Tracy Allen
electronically monitored ecosystems
mailto:tracy@e...
http://www.emesystems.com
>
>Regards peter
>
>
>
Oorspronkelijk bericht
>Van: Tracy Allen [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=AObqj3KF8cY7cdk6hwfUJfVry0VAQT5H8dg4uu8xrD3tX0l1Zp_a_ucKZg_dFUj2sYFCWW3w6aw3YnWOxA]tracy@e...[/url
>Verzonden: vrijdag 23 november 2001 9:51
>Aan: basicstamps@yahoogroups.com
>Onderwerp: Re: [noparse][[/noparse]basicstamps] program directive for bs2sx
>
>Hi Peter,
>
>The program in the "0" slot has to have
> ' {$STAMP BS2sx, xxx1.bsx, xxx2.bsx, xxx3.bsx}
>
>naming the programs that you want to link together into a project.
>
> -- Tracy
>
>
> >Hi,
> >
> >I currently develop a program for the bs2sx that uses multiple banks.
> >Three banks contain only editable tables and a short routine to extract
> >some information to the scratchpad.
> >Our customer wants to be able to edit the tables.
> >I recall that there is a directive (I thought it was $PROGRAM) I can
> >place at the start of a file so that when downloading that file as a single
> >program
> >it is placed into the correct bank.
> >I searched the manual but could not locate the directive.
> >
> >What is the directive and what is its format?
> >Thx
> >
> >Regards peter
I got that and it works if all project files are available.
I want a customer be able to edit some tables in
slots other than 0, without giving up my source.
The only way I can think of is to use a dummy program0 file
using '{$STAMP BS2sx ,file2,,file4}
and use the download setting 'current'.
There is a risk that the user downloads program0 in
which case the circuitry doesn't function of course.
Any other 'work arounds'?
Regards peter
Oorspronkelijk bericht
Van: Tracy Allen [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=yKkFGGSabeOuae6i5qdsIFtydLwxsX6yWZnbhHVPM7mf-xMJTwmvOKAmGOut0wrxPKmEXCtPERFkn5r-NQ]tracy@e...[/url
Verzonden: vrijdag 23 november 2001 9:51
Aan: basicstamps@yahoogroups.com
Onderwerp: Re: [noparse][[/noparse]basicstamps] program directive for bs2sx
Hi Peter,
The program in the "0" slot has to have
' {$STAMP BS2sx, xxx1.bsx, xxx2.bsx, xxx3.bsx}
naming the programs that you want to link together into a project.
-- Tracy
>Hi,
>
>I currently develop a program for the bs2sx that uses multiple banks.
>Three banks contain only editable tables and a short routine to extract
>some information to the scratchpad.
>Our customer wants to be able to edit the tables.
>I recall that there is a directive (I thought it was $PROGRAM) I can
>place at the start of a file so that when downloading that file as a single
>program
>it is placed into the correct bank.
>I searched the manual but could not locate the directive.
>
>What is the directive and what is its format?
>Thx
>
>Regards peter
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/
DOS? I knew I read somewhere about downloading into a specific slot
but never gave DOS a thought. This may well be the best choice:
issuing the ALT-n command, load the file, edit tables, download file.
Thanks for the tip.
Regards peter
Oorspronkelijk bericht
Van: Tracy Allen [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=_QYNRaryH2OdW_Kq-QTo33KfnFWCP-8rg3Nu69IljD7B62IrXftKB5KPM8_uvOcqU1-OHov6ghttDXxolA]tracy@e...[/url
Verzonden: vrijdag 23 november 2001 17:18
Aan: basicstamps@yahoogroups.com
Onderwerp: RE: [noparse][[/noparse]basicstamps] program directive for bs2sx
>Hi Tracy,
>
>I got that and it works if all project files are available.
>I want a customer be able to edit some tables in
>slots other than 0, without giving up my source.
>
>The only way I can think of is to use a dummy program0 file
>using '{$STAMP BS2sx ,file2,,file4}
>and use the download setting 'current'.
>There is a risk that the user downloads program0 in
>which case the circuitry doesn't function of course.
>
>Any other 'work arounds'?
Hi Peter,
1) DOS?... Maybe they could use the DOS software, however, your
customer would have to press ALT-n (where n=0 to 7) before running a
program to direct it to a specific bank. That can't be embedded in
the program code.
2) Are you using the new object code creator in the version 1.2
STAMPW.EXE? I am not sure, but it has some pretty powerful
command-line capabilities. Direct your question to Jeff Martin at
Parallax. In any case, even if your customer gets the whole file,
they are not going to be able to see your source code.
3) (I have a commercial interest in the following product). The
Stache <http://www.emesys.com/stache.htm> can do precisely what you
want. If your customer has a Stache, you can email them the file, as
an executable object loader, and they simply program it into the
Stache as if they were programming a Stamp. You can even email them
several different versions of the parameters, and the Stache can hold
them all. Then they can take the Stache out to the factory floor or
field site and run the new parameters or program into their
Stamp-based system. The Stache is quite versatile in which program
bank or even part of a program bank gets transferred. Here is a
cartoon of how it works with the object loader.
http://www.emesys.com/stache9a.gif
(Note: the latest Stache firmware is version 1.6, to work with the
Stamp editor 1.2)
4) Klaus Zahnert had a nice article in "Funkamateur" (German) in
September about different methods to program Stamps in field
settings. "Tokenbasierter Programm-transport fur die BASIC Stamp".
-- regards,
Tracy Allen
electronically monitored ecosystems
mailto:tracy@e...
http://www.emesystems.com
>
>Regards peter
>
>
>
Oorspronkelijk bericht
>Van: Tracy Allen [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=_QYNRaryH2OdW_Kq-QTo33KfnFWCP-8rg3Nu69IljD7B62IrXftKB5KPM8_uvOcqU1-OHov6ghttDXxolA]tracy@e...[/url
>Verzonden: vrijdag 23 november 2001 9:51
>Aan: basicstamps@yahoogroups.com
>Onderwerp: Re: [noparse][[/noparse]basicstamps] program directive for bs2sx
>
>Hi Peter,
>
>The program in the "0" slot has to have
> ' {$STAMP BS2sx, xxx1.bsx, xxx2.bsx, xxx3.bsx}
>
>naming the programs that you want to link together into a project.
>
> -- Tracy
>
>
> >Hi,
> >
> >I currently develop a program for the bs2sx that uses multiple banks.
> >Three banks contain only editable tables and a short routine to extract
> >some information to the scratchpad.
> >Our customer wants to be able to edit the tables.
> >I recall that there is a directive (I thought it was $PROGRAM) I can
> >place at the start of a file so that when downloading that file as a
single
> >program
> >it is placed into the correct bank.
> >I searched the manual but could not locate the directive.
> >
> >What is the directive and what is its format?
> >Thx
> >
> >Regards peter
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/
>
>DOS? I knew I read somewhere about downloading into a specific slot
>but never gave DOS a thought. This may well be the best choice:
>issuing the ALT-n command, load the file, edit tables, download file.
>Thanks for the tip.
>
>Regards peter
I have a blurb about using the DOS software with the multibank chips at
http://www.emesystems.com/BS2SX.htm#Stamp2w
Each stamp has its own version of the DOS software.
-- Tracy