Giter VIP home page Giter VIP logo

ions's Introduction

ions

ions is a program for 68k calculators (TI-89/TI-89 Titanium, TI-92, and Voyage 200) that displays a list of common ions.

Installation

Download and copy the appropriate file (ions.89z for TI-89/TI-89 Titanium, ions.9xz for TI-92, and ions.v2z for Voyage 200) using your favorite calculator linking program. ions is around 6 KB large, so make sure you have adequate space before copying.

Usage

ions displays an alphabetically organized list of common ions, their formulae, and their charge. The up/down arrow keys will scroll the list, and these keys in conjunction with the 2nd and Diamond key will scroll by 10 and to the top/bottom, respectively. Any key with a letter on it may be used to quickly jump to the appropriate position (you don't have to use the Alpha key, but it doesn't hurt). The Esc key exits the program.

Building

Building ions requires TIGCC. To build ions, simply run tigcc -O2 ions.c, which should generate the program files.

Customizing the list

ions comes bundled with a sample set of ions adapted and modified from the excellent Ions program for the TI-86, originally compiled by Stephen Connell. These can be found in ions.txt. If you'd like to modify this list:

  1. Create a file with the format of ions.txt (or edit it); with the data for ions split into three lines:

     ion 1 name  
     ion 1 formula  
     ion 1 charge  
     ion 2 name  
     ion 2 formula  
     ion 2 charge  
     ion 3 name  
     ion 3 formula  
     …
    
  2. Compile the utility program ionconv.c using your favorite C compiler.

  3. Run ionconv on with your ions file as input: ionconv inputfile [outputfile]. If no output file is given, output is printed to standard out.

  4. Output is printed in three sections: the ion definitions, the number of ions, and the scrolling indices. Copy and paste these to ions[], ions_length, and indices in ions.c, respectively.

  5. Follow the Building instructions.

ions's People

Contributors

saagarjha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.