symbols_extraram.hss 948 B

123456789101112131415161718192021222324
  1. [Main]
  2. Title=_extraram
  3. See Also=symbols_extra_ram_addr: Extra RAM Addresses
  4. [Top]
  5. Usually, this symbol is not handled in a special way. However, if it does
  6. not exist at all, it is redirected to the entry point of the program. The
  7. effect is that constructs of the form
  8. <PRE>.word _extraram-<I>entry_point</I>
  9. </PRE>
  10. resolve to 0 if the symbol is undefined.
  11. <BR><BR>
  12. The kernel headers of the standard library reference this symbol as an extra
  13. RAM table. The table is organized in pairs of 16 bit values. Of each pair,
  14. the first value is relevant for the TI-89, and the second value is relevant
  15. for the TI-92(+)/V200 calculator family. In C, you would define an extra RAM
  16. table like this:
  17. <PRE>struct {
  18. short value89, value9x;
  19. } _extraram[] = {{v1_89, v1_9x}, {v2_89, v2_9x}, ...};
  20. </PRE>
  21. However, extra RAM tables are barely usable in C: The compiler does not
  22. support using external symbols as immediate values, except if you take their
  23. address.