CAS Programming: Difference between revisions
Jump to navigation
Jump to search
(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> / ...") |
No edit summary |
||
Line 3: | Line 3: | ||
* On Phoenix, <code>Quantum</code> / <code>ESQ</code> are 2 bytes, while they're 1 byte on AMS. | * On Phoenix, <code>Quantum</code> / <code>ESQ</code> 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. | * '''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 <code>primary_tag_list</code>, fairly similar to that of AMS. The addresses of lower-level functions and variables (<code>next_expression_index</code>, <code>push_quantum</code>, <code>top_estack</code>, <code>NG_control</code>) need to be found from those, on a per-OS basis... | * The higher-level functions (or their wrappers for execution as part of a BASIC program) are accessible through <code>primary_tag_list</code>, fairly similar to that of AMS. The addresses of lower-level functions and variables (e.g. <code>next_expression_index</code>, <code>push_quantum</code>, <code>top_estack</code>, <code>NG_control</code>, and many others) 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). | * '''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). |
Revision as of 07:09, 30 April 2011
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 (e.g.next_expression_index
,push_quantum
,top_estack
,NG_control
, and many others) 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).