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 ... 25 26 [27] 28 29 ... 44
391
Calculator C / Re: Post your Nspire routines here!
« on: May 22, 2010, 09:48:29 pm »
BTW that returns time in seconds.
I wonder if its possible to access it in milliseconds (for framerate counting purposes).

392
You can already do it using isKeyPressed(), which supports multiple keypresses.

393
Calculator C / Re: Post your Nspire routines here!
« on: May 22, 2010, 06:55:28 pm »
I added a attachment called skeleton.zip to the first post. It is the minimal part of Ndless needed to develop programs, and should be useful for people uploading source and such.

394
ASM / Re: OS Programming
« on: May 22, 2010, 06:28:49 pm »
Speaking of OS2, how is it going along? Any new features planned/done ?

No, because one or two larger projects with deadlines have to take precedence. As soon as they're done, I'll get back to OS2.

How's your secret project coming along?

395
Your program can just detect everything on the fly; its unlikely it will use that many keys.
So, for example:
Code: [Select]
if (keypadType() == 84 && isKeyPressed(KEY_84_UP) || keypadType() == NSPIRE && isKeyPressed(KEY_NSPIRE_UP)) {
  //up code here
}
Unfortunately, I do not know how to implement the function keypadType().

396
Calculator C / Re: Post your Nspire routines here!
« on: May 21, 2010, 06:10:47 pm »
Hmm...you're not supposed to have '(', ')', and the like in the key names. Those should be changed into KEY_NSPIRE_LP (Left Parentheses), KEY_NSPIRE_SQU (X^2), etc.

397
Miscellaneous / Re: End of activity peak?
« on: May 21, 2010, 12:56:02 am »
Same as Builderboy. We have finals, trebuchets, and presentations. I'm also out of project ideas :(

398
Calculator C / Re: Post your Nspire routines here!
« on: May 20, 2010, 10:07:27 pm »
I don't think its good style to use '+' in the key names. You should change them to just KEY_84_*.

399
TI Z80 / Re: Portal Y the next generation
« on: May 20, 2010, 12:56:55 am »
Its just gcc, so I believe it produces slower code, but much slower.

400
TI Z80 / Re: Portal Y the next generation
« on: May 20, 2010, 12:02:30 am »
If we had an Nspire group project, it should be something along the lines of a standardized graphics/IO/math library.
This should be followed by a BASIC-like language, either interpreted, compiled, or compiled into C source.
We need to get the basic framework for development in place before thinking about coding new games.

401
TI Z80 / Re: Portal Y the next generation
« on: May 19, 2010, 09:34:41 pm »
you are totally wrong about the way the DS it does ALL of its 3d rendering on an ARM9 clocked at 67 MHZ the N-spire is running an ARM9 clocked at 90 MHZ
from Wikipedia:
Quote
CPUs: Two ARM processors, an ARM946E-S main CPU and ARM7TDMI coprocessor at clock speeds of 67 MHz and 33 MHz respectively. The ARM946E-S CPU processes game play mechanisms and video rendering while the ARM7TDMI processes sound output, Wi-Fi support and additionally, when in Game Boy Advance mode, processes what the other processor used to do.
The DS has no vector coprocessor to speak of sorry to disappoint its just got an efficient engine.

the DS and n-spire use 2 different breeds of the ARM9 the N-spire using the highest end that has special instructions for JAVA optimization and the DS uses the second to highest end that may have more cache.  I'm almost positive this can be done.

as a note:I mentioned the ray caster because it showed that such things could be done.  To do portal one would of course need to optimize the hell out of the current ray caster or write a rasterization rendering engine

I quote Wikipedia:
Quote
The system's 3D hardware performs transform and lighting, texture-coordinate transformation, texture mapping, alpha blending, cel shading, and z-buffering
The DS definitely has 3D hardware. Good 3D graphics on the Nspire would really be pushing it. If calc84 could only get 70 FPS on an untextured, unsorted trivial scene, I doubt we can get an acceptable framerate with real scenes.

402
General Calculator Help / Re: INstalling ndless....AGAIN....Fml..
« on: May 19, 2010, 07:27:30 pm »
TILP is a nice program, despite its issues with the Nspire.
Another problem with the Nspire is that the platform is very new, and the development environment is a pain to set up.

403
General Calculator Help / Re: How to install Emulators and games?
« on: May 19, 2010, 11:26:55 am »
Reboot your calculator to make it work (pull out a battery).
You can get gbc4nspire in the downloads section here.

404
General Calculator Help / Re: Installing ndless?
« on: May 19, 2010, 11:25:25 am »
You are probably suffering from some sort of power management bug.

405
Calculator C / Re: Lists in C
« on: May 17, 2010, 09:00:09 pm »
Lets say I want a list of integers, length 6.
I'd declare it like so:
Code: [Select]
int list[6] = {1, 4, 4, 1, 7, 9}and I'd access the 2nd element with:
Code: [Select]
list[1]since arrays in C are indexed from 0.

Pages: 1 ... 25 26 [27] 28 29 ... 44