Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
23 May, 2013, 23:25:14 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 [2] 3 4 ... 13   Go Down
  Print  
Author Topic: Post your Nspire routines here! -  (Read 15424 times) Bookmark and Share
Levak, Spenceboy98, ExtendeD and 1 Guest are viewing this topic.
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 18:03:25
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50227


Total Post Ratings: +2615

View Profile WWW
« Reply #15 on: 21 May, 2010, 23:22:44 »
0

If the touchpad still supports only 16 I'm still amazed :P. At least it's better than just 4 (or 8) :P
« Last Edit: 23 May, 2010, 00:03:58 by DJ Omnimaga » Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
bwang
LV7 Elite (Next: 700)
*******
Offline Offline

Last Login: 11 August, 2012, 12:59:06
Date Registered: 20 June, 2009, 01:42:58
Posts: 632

Topic starter
Total Post Ratings: +19

View Profile
« Reply #16 on: 22 May, 2010, 00:10:47 »
0

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.
Logged
Art_of_camelot
The matrix has you.. ಠ_ಠ
Support Staff
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Last Login: Today at 20:58:43
Date Registered: 30 August, 2008, 04:55:55
Location: Dr. Light's Laboratory
Posts: 4403


Total Post Ratings: +152

View Profile WWW
« Reply #17 on: 22 May, 2010, 14:04:10 »
0

At least it's better than just 4 (or Cool Tongue
Lol Grin
Logged

Projects:
TBA! Coming to an 83+ near you!

NerdTests.com says I'm a Cool Nerd King.  Click here to take the Nerd Test, get nerdy images and jokes, and write on the nerd forum!


DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 18:03:25
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50227


Total Post Ratings: +2615

View Profile WWW
« Reply #18 on: 23 May, 2010, 00:02:54 »
0

I sometimes despise smileys... (not really hating them, but the fact that sometimes, you don't want to use any and they still show up Tongue)
« Last Edit: 23 May, 2010, 00:03:47 by DJ Omnimaga » Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
bwang
LV7 Elite (Next: 700)
*******
Offline Offline

Last Login: 11 August, 2012, 12:59:06
Date Registered: 20 June, 2009, 01:42:58
Posts: 632

Topic starter
Total Post Ratings: +19

View Profile
« Reply #19 on: 23 May, 2010, 00:55:28 »
0

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.
Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 18:03:25
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50227


Total Post Ratings: +2615

View Profile WWW
« Reply #20 on: 23 May, 2010, 01:21:21 »
0

nice, should also be useful for people wanting to startup with Ndless C dev
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
yoshi13
LV2 Member (Next: 40)
**
Offline Offline

Gender: Male
Last Login: 24 January, 2011, 06:07:12
Date Registered: 03 May, 2010, 12:58:42
Location: The Cave of Light - L.O.S.T
Posts: 36

Total Post Ratings: 0

View Profile
« Reply #21 on: 23 May, 2010, 02:55:56 »
0

Thanks to bwang, to access time use

1
int time = * (unsigned*) 0x90090000
Logged

What happens when no one is listening on #omnimaga:
http://netham45.org/irc/EfNet/view.php?log=omnimaga.20100513

Never use /beep 9999 1000 on irc..
bwang
LV7 Elite (Next: 700)
*******
Offline Offline

Last Login: 11 August, 2012, 12:59:06
Date Registered: 20 June, 2009, 01:42:58
Posts: 632

Topic starter
Total Post Ratings: +19

View Profile
« Reply #22 on: 23 May, 2010, 03:48:29 »
0

BTW that returns time in seconds.
I wonder if its possible to access it in milliseconds (for framerate counting purposes).
Logged
willrandship
Omnimagus of the Multi-Base.
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: Yesterday at 01:21:23
Date Registered: 11 April, 2010, 03:08:32
Location: Between Venus and Mars
Posts: 2638


Total Post Ratings: +66

View Profile
« Reply #23 on: 23 May, 2010, 04:42:24 »
+1

Actually, I was wondering what I could use for the parentheses. Thanks for the tip.

Here's another fixed one. I kinda like the ++, reminds me of c++  Tongue

Edit: Wow I feel stupid. I forgot to upload the file. Sorry!

* common++.h (8.57 KB - downloaded 91 times.)
« Last Edit: 23 May, 2010, 21:01:36 by willrandship » Logged

bwang
LV7 Elite (Next: 700)
*******
Offline Offline

Last Login: 11 August, 2012, 12:59:06
Date Registered: 20 June, 2009, 01:42:58
Posts: 632

Topic starter
Total Post Ratings: +19

View Profile
« Reply #24 on: 23 May, 2010, 07:25:06 »
0

Actually, I was wondering what I could use for the parentheses. Thanks for the tip.

Here's another fixed one. I kinda like the ++, reminds me of c++  Tongue
Where's the fixed one?
Logged
yoshi13
LV2 Member (Next: 40)
**
Offline Offline

Gender: Male
Last Login: 24 January, 2011, 06:07:12
Date Registered: 03 May, 2010, 12:58:42
Location: The Cave of Light - L.O.S.T
Posts: 36

Total Post Ratings: 0

View Profile
« Reply #25 on: 23 May, 2010, 07:55:33 »
0

BTW that returns time in seconds.
I wonder if its possible to access it in milliseconds (for framerate counting purposes).

Yeah. I was hoping it would be in milliseconds but at least we can make a stopwatch now...

btw what is the first and second time on : http://hackspire.unsads.com/wiki/index.php/Memory-mapped_I/O_ports#90060000_-_Watchdog_timer ? I know the watchdog timer makes it reset after x amount of time if there is a hang but I don't get what the first and second timer do...
Logged

What happens when no one is listening on #omnimaga:
http://netham45.org/irc/EfNet/view.php?log=omnimaga.20100513

Never use /beep 9999 1000 on irc..
willrandship
Omnimagus of the Multi-Base.
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: Yesterday at 01:21:23
Date Registered: 11 April, 2010, 03:08:32
Location: Between Venus and Mars
Posts: 2638


Total Post Ratings: +66

View Profile
« Reply #26 on: 23 May, 2010, 21:09:02 »
0

Fixed is posted now....guess I need more sleep.
Logged

bwang
LV7 Elite (Next: 700)
*******
Offline Offline

Last Login: 11 August, 2012, 12:59:06
Date Registered: 20 June, 2009, 01:42:58
Posts: 632

Topic starter
Total Post Ratings: +19

View Profile
« Reply #27 on: 23 May, 2010, 21:43:12 »
0

Excellent. I attached it to the first post.
Logged
willrandship
Omnimagus of the Multi-Base.
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: Yesterday at 01:21:23
Date Registered: 11 April, 2010, 03:08:32
Location: Between Venus and Mars
Posts: 2638


Total Post Ratings: +66

View Profile
« Reply #28 on: 23 May, 2010, 23:01:54 »
0

Glad I could help! Let me know if anyone wants anything else like that and I'd be happy to supply it, providing I know how.
Logged

calc84maniac
Epic z80 roflpwner
Coder Of Tomorrow
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: 20 May, 2013, 21:27:24
Date Registered: 28 August, 2008, 05:09:05
Location: Right behind you.
Posts: 2735


Total Post Ratings: +373

View Profile
« Reply #29 on: 24 May, 2010, 03:17:41 »
0

Thanks to bwang, to access time use

1
int time = * (unsigned*) 0x90090000
Since that is memory-mapped hardware, you need to use * (volatile unsigned*)
Logged

"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
Pages: 1 [2] 3 4 ... 13   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.207 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.