Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
20 May, 2013, 05:22:22 *
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   Go Down
  Print  
Author Topic: Nspire I/O -  (Read 2392 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
compu
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: Yesterday at 21:38:46
Date Registered: 09 January, 2011, 22:45:52
Location: Germany
Posts: 226

Topic starter
Total Post Ratings: +53

View Profile
« on: 03 March, 2011, 22:21:21 »
0

Hi, here is a collection of text input/output functions for the TI-Nspire Grin

Demo program:


Basically these functions are included:
  • Simple text output
  • Formatted text output (printf-like)
  • Char input
  • String input

Download and more information can be found at nspforge (here).

So if you found any bugs, got suggestions or I did any mistakes with this please let me know, because I don't have much experience with Nspire programming... Smiley
Logged

Nspire I/O Discussion|Website - cross-compatible with Prizm!
TI-Nspire Programming Statistics
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: --)
*
Online Online

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


Total Post Ratings: +2611

View Profile WWW
« Reply #1 on: 03 March, 2011, 22:22:50 »
0

Interesting. I wonder if there will be multiple font support? Is it gonna be mostly for game dev or mostly for command line development?
« Last Edit: 03 March, 2011, 22:23:09 by DJ_O » Logged

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

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
alberthrocks
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Last Login: 11 May, 2013, 04:49:27
Date Registered: 01 May, 2010, 16:51:27
Posts: 743

Total Post Ratings: +88

View Profile
« Reply #2 on: 03 March, 2011, 22:23:14 »
0

Hehe, you're going to make one ExtendeD happy. Wink
He wants to make a small console for the Nspire and include it (??) with ndless. This could be that prgm. Cheesy

(Of course, not a simple print/input prgm, but something like BASH)
Logged

Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! Sad Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. Smiley

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler for "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it Tongue)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it Tongue)
wxWabbitemu: 40% done (NEED MOAR FEATURES Tongue)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming Tongue)
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 07 May, 2013, 22:49:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #3 on: 03 March, 2011, 22:23:42 »
0

A cat program for the nspires! Nice Cheesy

I agree with DJ, multiple fonts'
Logged
compu
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: Yesterday at 21:38:46
Date Registered: 09 January, 2011, 22:45:52
Location: Germany
Posts: 226

Topic starter
Total Post Ratings: +53

View Profile
« Reply #4 on: 03 March, 2011, 22:25:36 »
0

Interesting. I wonder if there will be multiple font support? Is it gonna be mostly for game dev or mostly for command line development?
If you exchange the charmap and edit some of the defines it should work with every font size Wink

Hehe, you're going to make one ExtendeD happy. Wink
He wants to make a small console for the Nspire and include it (??) with ndless. This could be that prgm. Cheesy

(Of course, not a simple print/input prgm, but something like BASH)
Hm, I think he could do it better than me, but thanks Grin

EDIT: oops, I read only the first part of your post DJ Roll Eyes
I don't know what I will use this for, but I thought it would be useful for me and other people  Smiley
« Last Edit: 03 March, 2011, 22:28:54 by compu » Logged

Nspire I/O Discussion|Website - cross-compatible with Prizm!
TI-Nspire Programming Statistics
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: --)
*
Online Online

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


Total Post Ratings: +2611

View Profile WWW
« Reply #5 on: 03 March, 2011, 22:45:44 »
0

I see, that's cool, then. Cheesy
Logged

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

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:15:19
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Total Post Ratings: +151

View Profile
« Reply #6 on: 04 March, 2011, 16:10:04 »
0

Nice Smiley

Hehe, you're going to make one ExtendeD happy. Wink
He wants to make a small console for the Nspire and include it (??) with ndless. This could be that prgm. Cheesy
I have unfortunately already started working on it.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
compu
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: Yesterday at 21:38:46
Date Registered: 09 January, 2011, 22:45:52
Location: Germany
Posts: 226

Topic starter
Total Post Ratings: +53

View Profile
« Reply #7 on: 25 March, 2012, 17:50:57 »
0

(Necro)update Tongue

- Ndless 3.1 compatibility
- Included functions for RS232 that work with disabled interrupts (no clock on the screen) - CX compatible
- Grayscale support
- Support for multiple consoles
- Lot of minor improvements.

CX compatibility has not been tested for on-screen I/O.

And 2 screenshots. The first shows grayscale support, the second using two consoles at once.
Link to source and download is in the first post.


* nio_grayscale.png (4.8 KB, 320x240 - viewed 455 times.)

* nio_2consoles.gif (18.83 KB, 324x244 - viewed 452 times.)
Logged

Nspire I/O Discussion|Website - cross-compatible with Prizm!
TI-Nspire Programming Statistics
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: --)
*
Online Online

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


Total Post Ratings: +2611

View Profile WWW
« Reply #8 on: 25 March, 2012, 18:17:04 »
0

Looks nice. Smiley

That reminds me, Calc84maniac was working on some sort of DOS/command prompt for the Nspire, but sadly he lost all his work in late 2010. Sad
Logged

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

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 00:47:15
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1733


Total Post Ratings: +180

View Profile WWW
« Reply #9 on: 25 March, 2012, 20:48:16 »
0

Very nice Smiley
I'm definitely going to put it on my CX when it's done!

On a side note, can you change the baud speed of the rs232/uart (and other flags)? That would be very interesting, since you could then use your nspire to hack other devices (routers, nas, etc) if they have a serial port. I don't expect this to be included, but it's just an interesting idea Smiley
Logged

ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:15:19
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Total Post Ratings: +151

View Profile
« Reply #10 on: 31 March, 2012, 17:55:00 »
0

I have just looked into it, really nice, it needs more promotion Smiley This should be part of the toolkit of anyone beginning native programming on the TI-Nspire.
You should release it as an archive file. And I'm really expecting CX compatibility.
« Last Edit: 31 March, 2012, 17:56:02 by ExtendeD » Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
compu
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: Yesterday at 21:38:46
Date Registered: 09 January, 2011, 22:45:52
Location: Germany
Posts: 226

Topic starter
Total Post Ratings: +53

View Profile
« Reply #11 on: 13 April, 2012, 22:30:35 »
0

A package including source code, binaries, demo application and documentation is now available at nspforge (http://nspforge.unsads.com/p/nspireio/downloader).

On a side note, can you change the baud speed of the rs232/uart (and other flags)? That would be very interesting, since you could then use your nspire to hack other devices (routers, nas, etc) if they have a serial port. I don't expect this to be included, but it's just an interesting idea Smiley
In theory this would be possible, but I haven't tried anything yet Wink
Logged

Nspire I/O Discussion|Website - cross-compatible with Prizm!
TI-Nspire Programming Statistics
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:15:19
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Total Post Ratings: +151

View Profile
« Reply #12 on: 13 April, 2012, 22:34:20 »
0

To contribute to its promotion: nspireio is being used by OCD (On-Calc Debugger).
It's easy to use and really deserve trying it.
As compu told me just switch to grayscale mode for CX compatibility (if(has_colors) {clrscr(); lcd_ingray();}).
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 00:47:15
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1733


Total Post Ratings: +180

View Profile WWW
« Reply #13 on: 14 April, 2012, 01:22:07 »
0

Thanks for the answer compu Smiley

ExtendeD, maybe nspireio could be eventually be integrated into Ndless?
Then it would come closer to TIGCC, as their lib includes something like this.
Logged

ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:15:19
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Total Post Ratings: +151

View Profile
« Reply #14 on: 14 April, 2012, 15:33:05 »
0

Maintenance is easier with autonomous owners and components with their own lifecycle.
And using static libraries is just a matter of dropping files in directories and adding an -l switch to the Makefile.
So I prefer the way it is today Smiley
« Last Edit: 14 April, 2012, 15:33:10 by ExtendeD » Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Pages: [1] 2 3 4   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.315 seconds with 30 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.