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 ... 20 21 [22] 23 24 ... 44
316
TI-Nspire / Re: Nspire Raycaster
« on: July 19, 2010, 04:20:51 pm »
A n x n map consists of 3 (n+2) x (n+2) arrays: int map, float height, and float alt. For all 3 arrays, array[0][k], array[n+1][k], array[k][0], and array[k][n+1] (the four edges of the array) are padded with 0's for internal reasons. map[p][q] contains the texture number + 1 of the block at (p, q) (so a block using texture 0 would have a 1 here). height[p][q] contains the height of the block at (i, j) (each block is 1x1xheight). alt[p][q] contains the altitude of the bottom of the block at (p, q). For a maze, height should be filled with 1's and alt should be filled with 0's.

317
News / Re: Nspire 2.1 out, don't install it!
« on: July 19, 2010, 02:31:10 am »
Well, Ndless 2 is still in active development (I think), so you'll never know what ExtendeD and friends will come up with :)

318
Other / Re: OMG -Today's XKCD!
« on: July 19, 2010, 02:29:53 am »
Lol :)
Yay bad hardware!

319
Other Calculators / Re: Let's hack Nspire OS 2.1!
« on: July 18, 2010, 03:09:56 am »
Wait, what exactly are we trying to do here?
We can already execute machine code on OS 1.1, and Ndless 2 is rumored to function on OS 1.7, so barring future downgrade protection, Ndless 2 will bring with it the ability to execute unsigned applications on all versions of the Nspire hardware.
Or are we trying to remove the downgrade protection from 2.1?
Or are we just brainstorming general discoveries?

320
News / Re: Nspire 2.1 out, don't install it!
« on: July 15, 2010, 02:25:22 am »
Expected.
We need ndless2

321
Calculator C / Re: Nspire Directory Listing
« on: July 13, 2010, 02:42:05 am »
I mean from within a C program.

322
Calculator C / Nspire Directory Listing
« on: July 13, 2010, 12:41:41 am »
Does anyone know how to list the contents of a directory on the Nspire?

323
TI-Nspire / Re: Virus to crack RSA for nspire? :P
« on: July 12, 2010, 12:14:44 am »
We should just port Linux.

324
Calculator C / Re: Nspire C text output/input
« on: July 10, 2010, 06:15:12 pm »
How would one go about writing a program loader? Would it have to be written in ASM, or can it be written in C?

325
Calculator C / Re: ARM9 compilation?
« on: July 10, 2010, 03:42:47 pm »
Well, the Makefile does say
Code: [Select]
ASFLAGS = -mcpu=arm7tdmi
GCCFLAGS = -mcpu=arm7tdmi

326
Excellent :)
This should be stickied. Someday, this sub-forum will have many threads in it, and this tutorial will be hard to find.

327
TI-Nspire / Re: Nspire Raycaster
« on: July 10, 2010, 02:13:38 am »
Yes, that would be ray tracing. Real time ray tracing on an Nspire would be ridiculous.

328
TI-Nspire / Re: Nspire Raycaster
« on: July 09, 2010, 04:21:22 pm »
I should probably allow the client program to turn various features on and off.

329
Calculator C / Re: Post your Nspire routines here!
« on: July 09, 2010, 04:17:11 pm »
sprintf is part of the OS (at least it's defined in os.h).

scrollScreen() arguments:
Code: [Select]
scrollScreen(char* scrbuf, char* tmpbuf, int lines)
Scroll the screen buffer scrbuf up lines rows. tmpbuf is a temporary buffer of the same size as scrbuf used by the routine internally.

330
Calculator C / Re: Post your Nspire routines here!
« on: July 07, 2010, 11:26:18 pm »
Glad to hear its working :)
I should probably move the scroll functions to graphics.h.

Pages: 1 ... 20 21 [22] 23 24 ... 44