Shop OBEX P1 Docs P2 Docs Learn Events
Need more memory — Parallax Forums

Need more memory

kq6fkq6f Posts: 5
edited 2006-12-03 09:37 in BASIC Stamp
My project has filled up the first 2K memory slot in a BS2sx and I need to open up a second one. But am a bit fuzzy on how total memory is organized. In reading the manual it appears that I can't just continue writing code in the second slot. But instead I have to copy across my symbol table (constants and variables) and several of my subroutines and, in effect, write a separate program and then link the two with a RUN command. For example, it appears that I can't make calls to routines in one 2K slot from another 2K slot. Is this correct? If so, it's an extremely awkward way to handle large programs.

Comments

  • Bruce BatesBruce Bates Posts: 3,045
    edited 2006-12-03 09:37
    kq6f -

    Whether it's awkward or not is more a matter of understanding how it operates than anything else. It's really no more awkward than using COMMON and the CHAIN command it other Basic varients. BTW, this banking methodology was not a matter of choice, it was really a matter of necessity, dictated primarily by the hardware.

    Take a look at Nuts and Volts article 87, as found below, and that should give you a firm foot-hold for learning:
    http://www.parallax.com/html_pages/downloads/nvcolumns/Nuts_Volts_Downloads_V3.asp

    Once you fully understand those concepts, here are some applications notes, thanks to Dr. Tracy Allen, with more advanced techniques:
    http://www.emesystems.com/BS2SX.htm

    Regards,

    Bruce Bates

    Post Edited (Bruce Bates) : 12/3/2006 9:53:46 AM GMT
Sign In or Register to comment.