Skip to main content
Visitor II
March 1, 2005
Question

Memory Mapping

  • March 1, 2005
  • 2 replies
  • 558 views
Posted on March 01, 2005 at 13:58

Memory Mapping

    This topic has been closed for replies.

    2 replies

    brian4Author
    Visitor II
    March 1, 2005
    Posted on March 01, 2005 at 12:43

    Hi

    Just starting a new project, I have downloaded the new ST7 Visual Delelopment package V 3.1.1 with the included device asm & inc files.

    I notice the memory mapping i.e. segment byte at 80-BF 'ram0' is now not in the device asm file. How or where in this new enviroment do you define ram0 ect.

    Regards

    Brian

    Visitor II
    March 1, 2005
    Posted on March 01, 2005 at 13:58

    anywhere you would like - st have removed the section info from the new headers, eg.

    in the main asm file (flite09 example)

    ; declare code/data segments

    segment byte at 80-BF 'ram0'

    segment byte at FA00-FFDF 'rom'

    WORDS

    segment 'rom'

    .main

    nop

    jra main

    Regards

    sjo