CAS Programming

From Hackspire
Revision as of 06:43, 30 April 2011 by Debrouxl (talk | contribs) (Created page with "The Nspire's standard OS ("Phoenix") contains CAS programming capabilities ''similar enough'' to those of the TI-68k's standard OS ("AMS"). * On Phoenix, <code>Quantum</code> / ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Nspire's standard OS ("Phoenix") contains CAS programming capabilities similar enough to those of the TI-68k's standard OS ("AMS").

  • On Phoenix, Quantum / ESQ are 2 bytes, while they're 1 byte on AMS.
  • Many entry points described in the documentation of GCC4TI or TIFS exist on Phoenix; however, there's no equivalent of the AMS jump table on Phoenix.
  • The higher-level functions (or their wrappers for execution as part of a BASIC program) are accessible through primary_tag_list, fairly similar to that of AMS. The addresses of lower-level functions and variables (next_expression_index, push_quantum, top_estack, NG_control) need to be found from those, on a per-OS basis...
  • We don't yet have any documentation about OS integration (reading from variables and storing to variables; being accessible from a Calculator screen, which probably means exporting BASIC functions and embedding a Ndless program into a regular document).