CE-Programming / libraries

Common libraries for use on the TI84+CE/TI83PCE calculators
BSD 2-Clause "Simplified" License
141 stars 11 forks source link

Library function inclusion should be selective #9

Closed mateoconlechuga closed 8 years ago

mateoconlechuga commented 8 years ago

Although LibLoad can support jump tables that do not have consecutive entries, there really needs to be a way to include only the jumps used by the program in order to minimize space. While not too crucial of an issue at all; this is an important thing to look into for the future. This involves setting up ZDS to support multi-module segments; which shouldn't be too bad with modifications to relocation.inc in the C libraries, but the problem arises when including the header for the libraries.

Possible solutions:

  1. Libraries will become a two-part system; one assembly file which includes the header information, and then a library file which includes the modules of the jump table required for selective compilation
  2. Figure out if ZDS allows libraries to insert metadata into the actual code, in which case it would only require one library file
  3. First of all though; libraries should be split into different directories in order to easily be able to traverse them.
mateoconlechuga commented 8 years ago

Fixed with commit 7324f03.