Fun

Fun Stuff

TI calculators are quite versatile, and also good for confusing people. On the request of colleagues I have made a program which makes a calculator seem mad, i.e. which distorts the whole screen and causes flashing. One method for use is to plant this in a game, the simplest method being writing a basic script calling the game, then this program, so that after exiting, the calculator seems to go mad. The idea was you could then transfer this game to the calculator of a person new to using the calculator, since such people tend to want to play games on their calculator often, so results are immediate. (Another idea is making  a script where in an endless loop a game is called over and over again, i.e. exiting causes the game to restart, quite funny if someone uses this in class and a teacher comes over since they can’t exit the game.)

Blinking screen

Here I have made available a version of the simple blinking version of the program (written in C), which can be exited by any keypress. If you want to cause more mischief, then modify and compile it yourself. (I have left the code uncommented just to make it that little bit harder, it’s not particularly complicated though.)

#include tigcclib.h
#define OPTIMIZE_ROM_CALLS    // Use ROM Call Optimization

void xorRect (int x, int y, int width, int height);
void xorAll ();
void progBlink ()
{
    while (!kbhit()) {
        xorAll ();
    }
}

void _main(void)
{
  ClrScr();
  progBlink ();
  ngetchx ();
}

void xorAll ()
{
    int i;
    for (i=0; i < LCD_HEIGHT; i ) {
        DrawLine(0, i, LCD_WIDTH, i, A_XOR);
  }
}

Download compiled file:

  1. No comments yet.

  1. January 11th, 2010