Shop OBEX P1 Docs P2 Docs Learn Events
Re-using main ram space — Parallax Forums

Re-using main ram space

Agent420Agent420 Posts: 439
edited 2009-09-01 16:10 in Propeller 1
Off the wall thought from an offshoot trying to figure out the vga code pasm...

If I understand correctly, during boot up your entire code is transferred from eeprom to main ram.· Then if you launch some cogs containing pasm, the 512 long cog ram is transferred from main ram to the cog.·

At this point, with the cog running, could you potentially use the main ram space that held it's loading image as user ram for things like buffers or such?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-09-01 15:56
    Yes you could.
  • Agent420Agent420 Posts: 439
    edited 2009-09-01 16:01
    Free ram ;-)



    Thanks.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • JavalinJavalin Posts: 892
    edited 2009-09-01 16:01
    in-fact the vga code does exactly that - it specifies a physical address for the buffer area's.

    James
  • Agent420Agent420 Posts: 439
    edited 2009-09-01 16:10
    Javalin said...
    in-fact the vga code does exactly that - it specifies a physical address for the buffer area's.

    James
    I must be blind... where do you see that?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sign In or Register to comment.