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 ... 17 18 [19] 20 21 ... 44
271
Miscellaneous / Re: Post your desktop
« on: July 26, 2010, 09:18:08 pm »
Here's mine.
Linux is very good at pretending to be Windows.

272
Math and Science / Re: New RSA Algorithm discussion
« on: July 26, 2010, 09:13:34 pm »
Here's a very simple "cyclical" algorithm: http://en.wikipedia.org/wiki/Pollard%27s_rho_algorithm
I do not know of any recursive algorithms.
In case anyone is interested, I'll attach my Java QS implementation. It implements the sieving step from the QS, and is utterly useless (because Java is inherently slow) except for educational purposes. It builds the matrix, but I haven't implemented block Lanczos yet.

273
Other Calc-Related Projects and Ideas / Re: Floorcaster
« on: July 26, 2010, 08:32:07 pm »
OK, I got tilemapping working. I also replaced a bunch of subtractions and a division in the loop with a table lookup, so its even faster now.
The tile map is rather boring at the moment, since I don't have any good tiles to work with :( So I just stole a wall texture from Ncaster.

274
Other / Re: What computer OS do you use?
« on: July 26, 2010, 04:30:25 am »
Why can't we choose several options in the poll? Many people dual/triple boot...
I use XP and Ubuntu (10.04) on the desktop and Vista on the laptop.
I was trying to change it to allow multiple votes, but I couldn't find the option.
If a staff member wishes to edit it for me, go ahead.

275
Calculator C / Re: Post your Nspire routines here!
« on: July 26, 2010, 03:40:24 am »
This one is courtesy of calc84maniac:
Code: [Select]
void clear_buffer(char* buffer)
{
  __asm__ __volatile__ (
     "mov r1,#120\n\t"
     "mvn r2,#0\n\t"
     "mvn r3,#0\n\t"
     "mvn r4,#0\n\t"
     "mvn r5,#0\n\t"
     "mvn r6,#0\n\t"
     "mvn r7,#0\n\t"
     "mvn r8,#0\n\t"
     "mvn r9,#0\n\t"
     "mvn r10,#0\n\t"
     "mvn r11,#0\n\t"
     "1:\n\t"
     "stmia %0!,{r2-r11}\n\t"
     "stmia %0!,{r2-r11}\n\t"
     "stmia %0!,{r2-r11}\n\t"
     "stmia %0!,{r2-r11}\n\t"
     "stmia %0!,{r2-r11}\n\t"
     "stmia %0!,{r2-r11}\n\t"
     "stmia %0!,{r2-r11}\n\t"
     "stmia %0!,{r2-r11}\n\t"
     "subs r1,r1,#1\n\t"
     "bne 1b\t"
     :
     : "r"(buffer)
     : "r1","r2","r3","r4","r5","r6","r7","r8","r9","r10","r11"
   );
}
It clears a screen buffer very, very quickly.
NOTE: It can only clear a screen buffer, not a buffer of arbitrary size.

Edit by calc84maniac: potentially harmful typo

276
Other / What computer OS do you use?
« on: July 26, 2010, 01:38:05 am »
Phew, I think I didn't miss anything big :)
So, what OS do you use?
I have various Ubuntus and Linux distros, with my netbook dualbooting 7.

277
Other Calc-Related Projects and Ideas / Re: Floorcaster
« on: July 26, 2010, 12:19:44 am »
Yeah, this turned out to be a lot more usable than I thought it would be.
I should add tile mapping, so then I can write F-Zero Nspire Edition :D
Blarg, except I have several other projects I'm thinking about, and I'm busy with real life :(

278
Other Calc-Related Projects and Ideas / Re: Floorcaster
« on: July 25, 2010, 11:03:31 pm »
Here's a small video of it in action on hardware, since I've given up trying to get screenshots to work.

279
w00t! The lobster one is winning  :)
18 Yes to 6 No. The Lobsters shall soon dominate the world!

280
Other Calc-Related Projects and Ideas / Re: Floorcaster
« on: July 25, 2010, 04:17:08 pm »
I converted everything to fixed point, and now I can draw twice the number of pixels and still get a 25% speed gain :)
Fixed point is amazing; I think my next project will be converting Ncaster to fixed point.
Very nice! I wonder how much of a speed gain Ncaster will get from this?
Probably ~2x.

281
Calculator C / Re: Post your Nspire routines here!
« on: July 25, 2010, 04:14:34 pm »
Right. I mis-read your post :(

282
Web Programming and Design / Re: RFG Image Uploader
« on: July 25, 2010, 01:45:45 am »
Nice! This is certainly useful.

283
I think its a good idea. Its not advertising, and would get more members.
I'm all for including "Netham45 is a Lobster", though :D

284
Other Calc-Related Projects and Ideas / Re: Floorcaster
« on: July 24, 2010, 07:02:04 pm »
I'm not an ASM programmer, so I'm not sure whether the Nspire has an FPU.

285
Trapped for the TI-Nspire and TI-89 / Re: Block Dude Nspire
« on: July 24, 2010, 07:00:05 pm »
Beautiful! I can't wait for this to be finished!

Pages: 1 ... 17 18 [19] 20 21 ... 44