<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bottomMargin=0 bgColor=#ffffff leftMargin=3 topMargin=0 rightMargin=3>
<DIV><FONT face=Arial size=2>
<DIV><FONT face="Courier New" size=2>I'm not in front of a compiler to check but 
does the following not work?</FONT></DIV>
<DIV><FONT face="Courier New">This should make both the strings and the table 
itself constant yes?</FONT></DIV>
<DIV><FONT face="Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New">...James Brown</FONT></DIV>
<DIV><FONT face="Courier New">Data Acquisition</FONT></DIV>
<DIV><FONT face="Courier New"></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>#define 
MENU_MAX_MSGS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
3<BR>const INTU8 * const menuTable[MENU_MAX_MSGS+1] =<BR>{<BR>&nbsp;&nbsp;&nbsp; 
{"\r\nFirst Menu Line\r\n"},<BR>&nbsp;&nbsp;&nbsp; {"\r\nThe Second Menu 
Line\r\n"},<BR>&nbsp;&nbsp;&nbsp; {"\r\nThe Third Menu 
Line\r\n"},<BR>&nbsp;&nbsp;&nbsp; {""}&nbsp;&nbsp;&nbsp; // end of 
table<BR>};</FONT></DIV>
<DIV>&nbsp;</DIV></FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=warm38@juno.com href="mailto:warm38@juno.com">Wade A Smith</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=icc-mot@imagecraft.com 
  href="mailto:icc-mot@imagecraft.com">icc-mot@imagecraft.com</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, December 20, 2007 5:45 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Icc-mot] tables in Flash not 
  RAM</DIV>
  <DIV><BR></DIV>
  <DIV></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>How do I get the table into Flash?</DIV>
  <DIV>&nbsp;</DIV>
  <DIV><BR>--------------------- code</DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face="Courier New" size=2>#define 
  MENU_MAX_MSGS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  3<BR>const INTU8 *menuTable[MENU_MAX_MSGS+1] =<BR>{<BR>&nbsp;&nbsp;&nbsp; 
  {"\r\nFirst Menu Line\r\n"},<BR>&nbsp;&nbsp;&nbsp; {"\r\nThe Second Menu 
  Line\r\n"},<BR>&nbsp;&nbsp;&nbsp; {"\r\nThe Third Menu 
  Line\r\n"},<BR>&nbsp;&nbsp;&nbsp; {""}&nbsp;&nbsp;&nbsp; // end of 
  table<BR>};</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><BR>--------------------- generated code<BR><FONT face="Courier New" 
  size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  .area 
  data<BR>&nbsp;3020&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  _menuTable::<BR>&nbsp;0020&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n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nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  .blkw 
  1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  .area idata<BR>--- 0024 
  032D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  .word 
  L24<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  .area 
  data<BR>&nbsp;0026&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  .blkw 
  1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  .area idata<BR>--- 0026 
  03E7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  .word L21</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>---------------------</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>menuTable is at $3020 which&nbsp;is a RAM address.&nbsp; Any problems and 
  I lose the addresses of the strings.<BR>L22, L23, L24 and L21 are in Flash at 
  0x5###.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV><BR>How do I get menuTable to be in Flash and NOT RAM?</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>'const' does nothing.&nbsp; If I leave out 'const', it does the same -- 
  the variable is in RAM and the strings are in Flash and I still cant see the 
  variables.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>wade</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Icc-mot mailing 
  list<BR>Icc-mot@imagecraft.com<BR>http://dragonsgate.net/mailman/listinfo/icc-mot<BR></BLOCKQUOTE></BODY></HTML>