Author Topic: nSDL 1.1.1 Anniversary Edition—The Ultimate TI-Nspire Graphics Library  (Read 140571 times)

0 Members and 1 Guest are viewing this topic.

Offline hoffa

  • Project Author
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 322
  • Rating: +131/-13
    • View Profile
SDL for the TI-Nspire

nSDL is a port of the widely used, cross-platform and open source SDL graphics library for the Ndless-fueled TI-Nspire.

nSDL 1.1.1 is here! Click here for the new updates.

To download the latest nSDL build and access the wiki, check out the nSDL website.

nSDL also has its own little wiki, which you can access by clicking here.

nSDL features:
  • Full one-binary-for-all support on every TI-Nspire calculator.
  • Very fast & stable buffered drawing.
  • Supports all graphics-related functions, events, non-threaded timer functions, and more.
  • Supports 8- and 16-bit display bit depth.
  • Supports resolutions up to 320 × 240.
  • Draw text using fonts you choose.
  • Load images directly from the executable (image converter included) or use BMPs.
  • SDL_image (supports GIF, LBM, PCX, PNM, TGA and XCF formats) and SDL_gfx available.
  • Full-featured sample program included (it has Link in it!).
  • Based on the robust SDL 1.2.15.






Links:
« Last Edit: June 23, 2013, 10:23:48 pm by hoffa »

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: SDL for the TI-Nspire
« Reply #1 on: January 23, 2012, 06:42:14 am »
Awesome [huge] project !

Good Luck and Have fun :)

(Aslo, Are you going to put it on GitHub or so as you're programming it ?)
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: SDL for the TI-Nspire
« Reply #2 on: January 23, 2012, 06:44:38 am »
That would be pretty awesome and useful, good luck :D

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline hoffa

  • Project Author
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 322
  • Rating: +131/-13
    • View Profile
Re: SDL for the TI-Nspire
« Reply #3 on: January 23, 2012, 06:48:24 am »
Aslo, Are you going to put it on GitHub or so as you're programming it ?
Yeah probably, but I'll set it up once I have something more concrete done.
https://github.com/Hoffa/TI-Nspire-SDL
« Last Edit: January 23, 2012, 07:19:57 am by hoffa »

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: SDL for the TI-Nspire
« Reply #4 on: January 23, 2012, 07:37:26 am »
Nice :)

But as said before, Albert and totorigolo are also busy with an SDL port.
Maybe you should contact them, and eventually work together?

Offline hoffa

  • Project Author
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 322
  • Rating: +131/-13
    • View Profile
Re: SDL for the TI-Nspire
« Reply #5 on: January 23, 2012, 07:54:08 am »
Nice :)

But as said before, Albert and totorigolo are also busy with an SDL port.
Maybe you should contact them, and eventually work together?
But I thought you said (or whoever it was) that they were "looking" at it, from which I concluded they weren't actually writing any code.

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: SDL for the TI-Nspire
« Reply #6 on: January 23, 2012, 09:06:46 am »
Well, they both were seriously planning on making it, and there is a chance they already coded stuff.

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: SDL for the TI-Nspire
« Reply #7 on: January 23, 2012, 04:01:14 pm »
I think totorigolo was busy with nRGBlib and hasn't started much work on it.

Good luck hoffa with your project. Don't hesitate to ask if you need Ndless to provide anything currently not available.
Ndless.me with the finest TI-Nspire programs

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: SDL for the TI-Nspire
« Reply #8 on: January 23, 2012, 06:14:03 pm »
Indeed I am! :) In fact, ExtendeD approached me via email and mentioned that he'd like to combine efforts to make a port of SDL. (Or as I like to term it, nSDL!)
(ExtendeD, I'm attempting to finish an email to you regarding future plans...)

Here's my plan - it has changed a little bit, but it should convey the point anyway:


The change I've mentioned? Having nDraw or not. Basically, nDraw would handle the important thing - the layers. In SDL, having a fullscreen window is equivalent to writing directly to the screen buffer. If you wanted to use the hardware mouse in the CX, it must be drawn as a window/layer.

HOWEVER... I could implement it SDL so that full screen means a window/layer. It all depends...
We should really combine efforts, since creating 3 incarnations of nSDL is going to be painful and pointless... :P
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/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
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! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

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 :P)
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 :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

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 :P)

Offline hoffa

  • Project Author
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 322
  • Rating: +131/-13
    • View Profile
Re: SDL for the TI-Nspire
« Reply #9 on: January 23, 2012, 06:30:04 pm »
Seems good, except I'm not sure if prematurely combining nonexistent libraries into one big group is a good idea. It would somehow feel like the beginning of a massive bloated library (no as in Java obviously, it's all relative) where everybody's dealing with about everything and no one's doing anything meticulously well. A library like SDL would be the foundation structure of other programs, and the said library should be like a razor sharp knife. It should be robust, clean, flexible while at the same time faster than the speed of light. I don't mind combining efforts, but I prefer to avoid it being included in some set with other libraries.
« Last Edit: January 23, 2012, 09:15:00 pm by hoffa »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: SDL for the TI-Nspire
« Reply #10 on: January 23, 2012, 06:45:26 pm »
This seems interesting. I don't understand much what this is though, so I can't give much feedback, although if that makes calc games dev easier, this is great :D

Offline hoffa

  • Project Author
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 322
  • Rating: +131/-13
    • View Profile
Re: SDL for the TI-Nspire
« Reply #11 on: February 01, 2012, 06:56:37 am »
Got SDL to run on the calculator. Now that it does, I can start doing the more serious things.

« Last Edit: February 01, 2012, 06:59:06 am by hoffa »

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: SDL for the TI-Nspire
« Reply #12 on: February 01, 2012, 07:50:04 am »
Good :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: SDL for the TI-Nspire
« Reply #13 on: February 01, 2012, 08:12:58 am »
Indeed, very nice :)

Offline njaddison

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 176
  • Rating: +24/-27
    • View Profile
Re: SDL for the TI-Nspire
« Reply #14 on: February 09, 2012, 08:22:14 am »
I found out that SDL can be used to run flash programs. So, we can play flash games on the nspire! They will have to be decompiled first, though.

Edit:
What the f***!
Somebody just randomly downrated my post! If there isn't any possible way flash can be ported to the nspire, then I am officially dumb!! Which in that case, I am smart, but I have no common sense.

Seriously, can't you have some imagination, people? I am learning more and more about my nspire every day, and the way I learn things is by asking questions, some are dumb questions, and by being corrected when I suggest something that can't be done! So please cut me some slack! I haven't been this angry since my friend put a pressure plate in front of my door in minecraft, letting mobs come into my house!!!!

I am a nice person, and I would never downrate someone's post, no matter how dumb it is. If anything, I would press the like button, and then tell them their mistake without being mean to them. But you guys are not me! So please put yourself in my shoes, and see how I feel (but plug your nose: my shoes stink).
« Last Edit: March 01, 2012, 11:43:43 pm by njaddison »
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/5f42ec78e054645d.png" alt="NerdTests.com says I'm a Highly Dorky Nerd God.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!">
</a>