Shop OBEX P1 Docs P2 Docs Learn Events
DATA and lots of it — Parallax Forums

DATA and lots of it

nick bernardnick bernard Posts: 329
edited 2005-09-21 15:20 in General Discussion
hail,

i have 1024 bytes to store to a lookuptable, i can compress it to 640 bytes and intend to do so. i tried to just put 512 bytes as the help file suggested but i'm running out of "memory page"

how can i make such a large lookup table?

future thanks for your superior knowledge
nickB

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
engineer, fireman, bowler, father, WoW addict [noparse];)[/noparse]

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-09-21 13:56
    That's a lot of data -- can you split it into multiple tables that can live on separate pages? Or put it in an off-board EEPROM?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • nick bernardnick bernard Posts: 329
    edited 2005-09-21 14:12
    sure, how do i separate pages?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    engineer, fireman, bowler, father, WoW addict [noparse];)[/noparse]
  • BeanBean Posts: 8,129
    edited 2005-09-21 14:23
    Nick,
    My SX-Video module has a large data table for the character pattern. I think it's 896 bytes.
    You can download the source to see how I did it.

    If you post your code I can help more...

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "SX-Video·Module" Now available from Parallax for only $28.95

    http://www.parallax.com/detail.asp?product_id=30012
    Product web site: www.sxvm.com
    Available soon!! Video overlay(OSD) module...

    "I'm a man, but I can change, if I have to, I guess"
    Red Green
    ·
  • nick bernardnick bernard Posts: 329
    edited 2005-09-21 14:37
    thanks bean,
    how do i know what to set the address at? and where?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    engineer, fireman, bowler, father, WoW addict [noparse];)[/noparse]
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-09-21 15:09
    You can force the data location by using ADDRESS .

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • BeanBean Posts: 8,129
    edited 2005-09-21 15:20
    Check out the code generated by READ using SX/B.
    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "SX-Video·Module" Now available from Parallax for only $28.95

    http://www.parallax.com/detail.asp?product_id=30012
    Product web site: www.sxvm.com
    Available soon!! Video overlay(OSD) module...

    "I'm a man, but I can change, if I have to, I guess"
    Red Green
    ·
Sign In or Register to comment.