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.


Messages - bwang

Pages: 1 ... 23 24 [25] 26 27 ... 44
361
Calculator C / Re: Post your Nspire routines here!
« on: June 18, 2010, 04:02:40 pm »
Hmmm...my fault :( The MakeTNS in the skeleton is a Linux version. Go get a fresh copy of Ndless and copy the MakeTNS in it to the appropriate directory.
I shall fix the skeleton when I have time.
EDIT: Fixed!

362
Nice! How comprehensive is it? Can it handle arbitrary symbolics, or only special expressions involving pi, e, and square roots?
I wrote something like this a year back (it expanded symbolic expressions and did rational integration and such), but it was deadly slow and I dropped it after Ndless came out.

363
Calculator C / Re: Post your Nspire routines here!
« on: June 18, 2010, 01:19:00 am »
What does manually running the MakeTNS command do?
yoshi13 said he installed mingw first, then msys.

364
Calculator C / Re: Post your Nspire routines here!
« on: June 16, 2010, 04:48:31 pm »
Fixed code:
Code: [Select]
#include <os.h>
//notice the quotes around utils.h
#include "utils.h"

asm(".string \"PRG\"\n");

int main()
{
  int antx = 160;
  int anty = 120;
  int dir = 1;

  while (!isKeyPressed(KEY_NSPIRE_ESC)) {
    if (getPixel(antx,anty) == 15) {
      setPixel(anty,antx,0);
      dir = dir - 1;
      }
    else {
      setPixel(anty,antx,15);
      dir = dir + 1;
      }
    if (dir == 0)
      dir = 4;
    else if (dir == 5)
      dir = 1;
    if (dir == 1)
      antx = antx - 1;
    else if (dir == 2)
      anty = anty + 1;
    else if (dir == 3)
      antx = antx + 1;
    else
      anty = anty - 1;
    if (antx == 0)
      antx = 320;
    else if (antx == 321)
      antx = 1;
    if (anty == 0)
      anty = 240;
    else if (anty ==  241)
      anty = 1;
   }
   return 0;
}
I also updated skeleton.zip to use willrandship's common.h, as well as some other minor changes.

365
Which version of Link Software and which version of Nspire OS?
You could try TILP.

366
TI-Nspire / Re: Nspire bmp viewer
« on: June 09, 2010, 03:25:38 pm »
DJ, did you put them in a folder called bmpviewer? The pictures and the program need to be in the same directory.

367
TI-Nspire / Re: Nspire bmp viewer
« on: June 09, 2010, 02:38:32 am »
Different bmp formats and gif, maybe.
JPG/PNG, probably no. The compression in JPG is rather complex.

368
TI-Nspire / Nspire bmp viewer
« on: June 09, 2010, 02:34:28 am »
I was experimenting with bitmap file loading today, and the program has reached a semi-usable state, so here it is.
It has no file browsing, so to use it, you will need a 24-bit bmp file with dimensions less than 320x240, renamed to
test.tns and placed in a folder called bmpviewer on the Nspire. It has only been tested with bitmaps produced by the GIMP.
Hopefully I will figure out how to add more features (like browsing) in the future.
Enjoy!

369
Humour and Jokes / Re: [Idea] Necropost Day
« on: June 07, 2010, 11:47:42 pm »
YES

370
TI-Nspire / Re: Nspire Raycaster
« on: June 07, 2010, 03:44:21 pm »
Gasp! I'm featured!

371
ASM / Re: ARM assembly resources
« on: June 07, 2010, 02:43:33 pm »
Excellent. This is nice for future reference.

372
TI-Nspire / Re: TI-Nspire GB Emulator
« on: June 03, 2010, 02:20:13 am »
Hmmm...its been a week since I posted that. Anyone?

373
TI Z80 / Re: Zedd Physics Library
« on: June 01, 2010, 02:52:32 am »
I think builderboy is rather busy with finals and such right now.

374
Other Calculators / Re: possibly useful n-spire/arm9 discovery
« on: May 28, 2010, 07:05:55 pm »
That document seems to be for an entire development board, not just the processor.

375
TI-Nspire / Re: TI-Nspire GB Emulator
« on: May 27, 2010, 03:57:18 pm »
The Gameboy gameshark doesn't touch the ROM. It only has one cheat type, which writes a number into a specified memory location.

Pages: 1 ... 23 24 [25] 26 27 ... 44