Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - fb39ca4

Pages: 1 2 3 [4]
46
Site Feedback and Questions / View your nth post?
« on: October 17, 2010, 12:39:45 pm »
An interesting feature would be to type in a number, and view the post corresponding to it.
How hard would this be to implement?

47
Humour and Jokes / MS-UNO
« on: October 16, 2010, 10:08:09 pm »
The predecessor to MS-DOS.
Read about it here.

48
Introduce Yourself! / Another overdue hello...
« on: August 10, 2010, 09:17:49 pm »
Just like Snake X, I realized I had never put an introduction up.

Here goes:

I got my TI-Nspire when I was in 6th grade (I had been way ahead in math for a while, and was now starting high school math, so my parents got me a calc). I was being a total noob and decided to get it because I thought I could put linux on it :P I got disappointed and ended up using the 84 mode to play games and program in TI-BASIC. The moment I heard ndless was out, I installed it. I got bored of playing gameboy games, and decided to get involved in the programming scene. I don't remember when or how I came across Omnimaga, but it was really the only forum with an active Nspire section, so I ended up joining. At the moment, I am going into 8th grade.

psst ... I could really do with some of those limited edition "The Game" peanuts.

49
Miscellaneous / DJ Omnimaga @ 12000 posts!
« on: August 02, 2010, 12:19:36 pm »
Congrats!

Unfortunately, I cant make a screenshot right now.

50
Calculator C / Code crashing calc
« on: July 28, 2010, 04:44:57 pm »
I've been working on a 3d maze program that uses bwang's ncaster. Right now, I have finished the code to generate the maze, but it is crashing my calc. Right now, it is just placed inside main(), to test that it doesn't result in any infinite loops.

Here's the code: (WARNING: VERY unoptimmized)
Code: [Select]
void generate() {
  int a, b;
  short int maze[11][11];
  for (a = 0; a == 10; a++) {
    for (b = 0; b == 10; b++) {
      maze[a][b] = 15;
      if (a == 0)
        maze[a][b] += 16;
      if (a == 10)
        maze[a][b] += 64;
      if (b == 0)
        maze[a][b] += 32;
      if (b == 10)
        maze[a][b] += 128;
    }
  }
  int success = 0;
  int x = 1;
  int y = 1;
  char new[4];
  while (!isKeyPressed(KEY_NSPIRE_ESC)) {
    if (!(maze[x][y] & 0x0010)) {
      if ((maze[x][y] & 0x000F) == 15){
        new[0] = 1;
      }
    }
    if (!(maze[x][y] & 0x0020)) {
      if ((maze[x][y] & 0x000F) == 15){
        new[1] = 1;
      }
    }
    if (!(maze[x][y] & 0x0040)) {
      if ((maze[x][y] & 0x000F) == 15){
        new[2] = 1;
      }
    }
    if (!(maze[x][y] & 0x0080)) {
      if ((maze[x][y] & 0x000F) == 15){
        new[3] = 1;
      }
    }
    if (new[0] || new[1] || new[2] || new[3]) {
      while (!success) {
        a = random();
        if (new[a]) {
          success = 1;
          new[0] = new[1] = new[2] = new[3] = 0;
        }
      }
    }
    else
      if ((maze[x][y] & 0xF000) == 0) {
        break;
      if ((maze[x][y] & 0x1000)) {
        y--;
      }
      if ((maze[x][y] & 0x2000)) {
        x++;
      }
      if ((maze[x][y] & 0x4000)) {
        y++;
      }
      if ((maze[x][y] & 0x8000)) {
        y--;
      }
      continue;
    }
    if (a == 0) {
      maze[x][y] = ~(maze[x][y] & 0x0001);
      y++;
      maze[x][y] = ~(maze[x][y] & 0x0004);
      maze[x][y] = ~(maze[x][y] & 0x1000);
    }
    if (a == 1) {
      maze[x][y] = ~(maze[x][y] & 0x0002);
      x++;
      maze[x][y] = ~(maze[x][y] & 0x0008);
      maze[x][y] = ~(maze[x][y] & 0x2000);
    }
    if (a == 2) {
      maze[x][y] = ~(maze[x][y] & 0x0004);
      y--;
      maze[x][y] = ~(maze[x][y] & 0x0001);
      maze[x][y] = ~(maze[x][y] & 0x4000);
    }
    if (a == 3) {
      maze[x][y] = ~(maze[x][y] & 0x0008);
      x--;
      maze[x][y] = ~(maze[x][y] & 0x0002);
      maze[x][y] = ~(maze[x][y] & 0x8000);
    }
  }
}

51
Other Calculators / Press-to-test LED
« on: July 28, 2010, 10:36:16 am »
Apparently, now it is possible to control the LED for PTT on the non-cas Nspire units.

http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=843

Does anyone know how exactly this is done, as in what is the memory address, and what value goes with what color?

52
Calculator C / Mode 7
« on: July 22, 2010, 12:30:06 pm »
Does anyone know the math involved for mode 7 graphics? I googled it, but got a bunch of GBA tutorials (GBAs have it as a graphics mode). The wikipedia page wasn't much help either.

53
Calculator C / ARM9 compilation?
« on: July 10, 2010, 01:59:17 pm »
Does anyone know why nspire C programs are compiled into ARM7 binaries, rather than ARM9?

54
TI-Nspire / GBA emulator for nspire?
« on: July 07, 2010, 06:16:07 pm »
Would it be possible to emulate a GBA on the nspire?

If speed is an issue, instead of emulating the GBA, could a recompiler be made? GBAs have ARM7 processors, which I believe are backwards compatible with ARM9s. On a computer, the ROM could have all its memory addresses changed to work on the nspire, and include extra code to convert the display image to grayscale.

I don't know much about ASM, this is just an idea I'm putting out.

Pages: 1 2 3 [4]