Shop OBEX P1 Docs P2 Docs Learn Events
SpinLMM and SinpleIDE — Parallax Forums

SpinLMM and SinpleIDE

RsadeikaRsadeika Posts: 3,837
edited 2012-10-17 11:49 in Propeller 1
SpinLMM uses the @@@ and Bytecode extensions to the Spin language that are available in the BST and
homespun compilers. The Parallax Spin Tool does not support these extensions, so either BST or homespun must
be used with SpinLMM.

After checking out PropBASIC, I noticed that the only language not offering LMM mode is Spin. So, I checked out SpinLMM10, and decided to see if it runs with SimpleIDE. Since there are changes coming to the Spin world, I decided not to get involved with bst or homespun. Yes, SpinLMM works with SimpleIDE, so the question is, will the new old Spinny SimpleIDE have an LMM option? And if it does, how or what would it be used for? And if it does not have that option, should it be considered as an immediate add on?

Since SpinLMM has been around for a couple of years, is their anybody that is using, or has used it for a particular project? Anybody else have any ideas about this?

Ray

Comments

  • jazzedjazzed Posts: 11,803
    edited 2012-10-16 11:13
    I'm confused. SpinLMM is just another spin program. Why would it not work in any tool that supports spin/pasm ?
  • Dave HeinDave Hein Posts: 6,347
    edited 2012-10-16 11:37
    I think SpinLMM could fill a small niche where all of the cogs are busy doing something else, and Spin doesn't have the speed needed to do a certain operation. It allows the Spin cog to perform the operation at LMM PASM speeds, and return back to normal Spin operation. This could be something like bursting out a message over a serial link, reading a chunk of data from EEPROM or performing some quick floating point calculations. However, with spin2cpp and CMM mode you can do a similar thing entirely in C.
  • StefanL38StefanL38 Posts: 2,292
    edited 2012-10-17 03:34
    small nich or not: SPIN-LMM??

    Did I miss something fundamental?
    Does SPIN-LMM mean somebody has written a SPIN-interpreter-variant that is able to read SPIN-bytecode
    from an external memory??!!??

    best regards
    Stefan
  • Dave HeinDave Hein Posts: 6,347
    edited 2012-10-17 06:01
    SpinLMM only runs from hub RAM. It can't run programs in external memory. It's in the OBEX if you want to check it out.

    However, with spin2cpp you could run Spin programs from external memory using the XMM or XMMC models. The external memory can be flash, RAM, EEPROM or an SD card.
  • jazzedjazzed Posts: 11,803
    edited 2012-10-17 11:49
    Dave's SpinLMM has lots of potential. I do hope people can take advantage of it. Any spin compiler or IDE should allow using it though without special accommodations.

    Seems an extended memory LMM kernel would take more code than is currently available in the spin interpreter (without removing spin features). Having some huge LMM function list in external memory could get around spin's small 16 bit code space however. What are folks willing to trade for that? Seems to me that the current method of using some propeller O/S to load some program on demand is a reasonable way to virtually extend spin's current limits.
Sign In or Register to comment.