TI-BASIC:Asmshells

From Learn @ Cemetech
(Redirected from TI-BASIC:Asm Shells)
Jump to navigationJump to search

Assembly shells are programs that can be loaded onto your calculator and act as an interface for running other programs. They also provide extra functionality like giving access to key-hooks. This page provides you with code you can embed into TI-Basic programs to make them compatible with assembly shells.

MirageOS

[*http://detachedsolutions.com/mirageos/ MirageOS] is currently the most common assembly shell. To make a TI-Basic program appear in the MirageOS menu, put a colon (":") as the first line of the program:

::
:<program code...>

Optionally, you may include a description for the program:

::"<program description>
:<program code...>

As a warning, there have been cases of MirageOS not running TI-Basic programs correctly; after the program finishes, the calculator will crash.

Doors CS

[*http://dcs.cemetech.net/ Doors CS] by Kerm Martian is the most recent assembly shell released. It offers the same functionality as MirageOS along with several other features, although it utilizes a mouse cursor and a different user interface. You can have Doors CS display a custom icon by adding one of the following to your programs:

::DCS
:"<16 character hex code for 8x8 icon>
or
::DCS6
:"<64 character hex code for 16x16 icon>

or

::"<program description>
::DCS
:"<16 character hex code for 8x8 icon>
or
::"<program description>
::DCS6
:"<64 character hex code for 16x16 icon>


You can also have Doors CS not display your program (for small subroutines that you don't want users playing with):

:Ans
:<program code>


Noshell

[*http://www.ticalc.org/archives/files/fileinfo/400/40005.html Noshell] (pronounced 'nosh-ell') is a flash application for running any program that appears in the program menu like you would a TI-Basic program. It will automatically run all programs.

CrunchyOS

[*http://www.ticalc.org/archives/files/fileinfo/325/32507.html CrunchyOS] is another common assembly shell. To make your TI-Basic program compatible with CrunchyOS, add a colon as its first line:

::
:<program code>


Other Shells

The other assembly shells, especially the older ones, don't have an option to run TI-Basic programs; you just have to use the program menu instead. [*http://www.ticalc.org/archives/files/fileinfo/130/13059.html Ion] is probably the most notable shell that doesn't run TI-Basic programs.