Shop OBEX P1 Docs P2 Docs Learn Events
BS2sx to BS2 Program sizes — Parallax Forums

BS2sx to BS2 Program sizes

ArchiverArchiver Posts: 46,084
edited 2002-02-09 22:07 in General Discussion
What is the easiest way for me to tell if a program written for the
BS2SX will fit (program size) into a BS2?

When i show the memory map, its the same now matter which stamp I
select.

Thanks
Jody

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-02-09 13:37
    In a message dated 2/9/02 5:44:04 AM Central Standard Time,
    jody.gallant@s... writes:


    > What is the easiest way for me to tell if a program written for the
    > BS2SX will fit (program size) into a BS2?
    >
    > When i show the memory map, its the same now matter which stamp I
    > select.
    >
    >

    Use the Memory Map feature of the Stamp Compiler. This will only apply if
    your BS2sx program is in one bank, since that is all that is available in the
    BS2.

    -- Jon Williams
    -- Parallax

    --


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-02-09 17:39
    --- In basicstamps@y..., jonwms@a... wrote:
    > In a message dated 2/9/02 5:44:04 AM Central Standard Time,
    > jody.gallant@s... writes:
    >
    >
    > > What is the easiest way for me to tell if a program written for
    the
    > > BS2SX will fit (program size) into a BS2?
    > >
    > > When i show the memory map, its the same now matter which stamp I
    > > select.
    > >
    > >
    >
    > Use the Memory Map feature of the Stamp Compiler. This will only
    apply if
    > your BS2sx program is in one bank, since that is all that is
    available in the
    > BS2.
    >
    > -- Jon Williams
    > -- Parallax
    >
    > --
    >
    >
    So basically what you are saying, is a BS2SX is the same as a BS2,
    but with multiple similar sized memory areas, and as long as my
    program fits into 1 of these, then it will work on a BS2?

    thanks
    Jody
  • ArchiverArchiver Posts: 46,084
    edited 2002-02-09 22:07
    In a message dated 2/9/02 12:37:14 PM Central Standard Time,
    jody.gallant@s... writes:


    > So basically what you are saying, is a BS2SX is the same as a BS2,
    > but with multiple similar sized memory areas, and as long as my
    > program fits into 1 of these, then it will work on a BS2?
    >

    The BS2 has one 2K program slot; the BS2sx has eight 2K program slots. If
    your BS2sx program will fit into one 2K slot and does not use the PUT and GET
    keywords, it will run, albeit a little slower, on the BS2. A few
    instructions will need updates to accommodate the processor speed change.

    -- Jon Williams
    -- Parallax


    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.