Shop OBEX P1 Docs P2 Docs Learn Events
Working LMM Examples — Parallax Forums

Working LMM Examples

jazzedjazzed Posts: 11,803
edited 2008-04-19 00:57 in Propeller 1
Hi. I'm looking for working LMM examples using the "macros" as defined in the LMM thread kernel.spin file posted by BH. TIA.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
jazzed·... about·living in·http://en.wikipedia.org/wiki/Silicon_Valley

Traffic is slow at times, but Parallax orders·always get here fast 8)

Comments

  • AleAle Posts: 2,363
    edited 2008-04-12 19:40
    I do not think there are any :-(, hippy posted several versions of LMM kernels, you may have more luck with those.
  • jazzedjazzed Posts: 11,803
    edited 2008-04-18 13:08
    Here is a working example of using some LMM concepts.

    While not a novel concept I'm sure, and certainly not used with performance in mind, this code demonstrates using a spin object chain for·printing debug·information to VGA from within LMM assembly.

    The LMM·code is based in part on a post by Hippy. I can't seem to make the lmmCall1/2 pieces work but lmmCall without parameters works fine, and I had to add an lmmGetp to deliver hub ram pointers. Suggestions for objective improvement are welcome.



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    jazzed·... about·living in·http://en.wikipedia.org/wiki/Silicon_Valley

    Traffic is slow at times, but Parallax orders·always get here fast 8)
  • hippyhippy Posts: 1,981
    edited 2008-04-19 00:57
    I looked at your lmmCall1/2 code and I cannot see anything wrong with it. The stack grows upwards so that's not trampling on it. I'd be scratching my head / pulling my hair out too.
Sign In or Register to comment.