BASIC stamp manual v2.2
Using the BASIC Stamp Editor
Page 76 • BASIC Stamp Syntax and Reference Manual 2.2 • www.parallax.com
customers using BASIC Stamp-based products, you can release firmware
updates to them in this manner.
Object code can be saved as a separate .obj file (downloadable with the
StampLoader.exe program) or as a single executable (integrated with the
StampLoader.exe inside of it). The single executable method provides a
simpler way to pass your firmware update on to your customers.
Any syntactically correct PBASIC source code can be used with the
Generate Object Code feature; this includes BS1 and BS2 code as well as
BS2e, BS2sx, BS2p, BS2pe, and BS2px code that is either a single file or a
multi-file project. Note: The original DOS-based software for the BS1
included a directive called BSAVE; when used it would cause the software
to generate an object file. In the BASIC Stamp Windows Editor, the
Generate Object Code feature replaces and enhances the BSAVE feature;
the reserved word BSAVE is still accepted in BS1 source code, but is
simply ignored. Old BS1 object code saved via the BSAVE option is not
compatible with the StampLoader.exe program so you must regenerate
the object file using the BASIC Stamp Windows Editor.
If you don’t have the StampLoader.exe program, it can be automatically
generated for you by selecting the second output file option, “Object Code
and Stamp Loader”, in the Generate Object Code window. Additionally,
firmware, product, company and related info can be embedded in the
object code or single executable file for your customers to view before
downloading.