We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have been working on the ds80c400 (in contiguous mode) an am trying to get a lookup table to be in rom. normaly to do this I would define the table const unsigned8 code font8X8[] = but this does not seem to work in contiguous mode. when I do this font8x8 points to garbage .I have looked in the map file, and the address for the font8x8 is no where in my rom or ram space (everything above a15 is 0). I assume this I because CODE is limited to 64K. if i do const unsigned8 font8X8[] = it places the table in xdata (in ram) Any suggestions on how I can get my table into rom?
that was basicly what I tried first. found the answer elsewhere... const unsigned8 far font8X8[] = places the data in HCONST (rather than CONST). It seem that UV2 does not map the CONST user class by default (which I don't want to use anyhow (64K limit issues)