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

0 Members and 2 Guests are viewing this topic.

Offline TheNlightenedOne

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 427
  • Rating: +16/-1
    • View Profile
It's the hoffa-modified version of newvox, originally ported to nSDL by critor.
"Eris" (Ndless 3.1)
"Keto" (Ndless 3.1)
"Luna" (AMS 3.10, HW4)
"Aurora" (2.55MP)

Offline hoffa

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

Offline hoffa

  • Project Author
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 322
  • Rating: +131/-13
    • View Profile
Re: nSDL 1.1.1 Anniversary Edition—The Ultimate TI-Nspire Graphics Library
« Reply #332 on: August 07, 2013, 02:31:59 pm »
Alrighty guys got some free time on my hands right now, will probably release an update within the month. Just wondering if you have any suggestions or things you'd like to see being added in the next release. Don't be shy, hit me with your best shots; I'll take care of the filtering. I have already done some minor changes, and mouse support is in the works (I'm trying to figure out the most sane and elegant way to implement it in a single thread).

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: nSDL 1.1.1 Anniversary Edition—The Ultimate TI-Nspire Graphics Library
« Reply #333 on: August 07, 2013, 05:40:50 pm »
Yeah :D nice to see you're back working on it !

I don't have any suggestions for now, excepting maybe commands to draw vertical, horizontal and general lines, and filled polygons. Because this is a real pain to do x.x
« Last Edit: August 07, 2013, 05:41:18 pm by Matrefeytontias »

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: nSDL 1.1.1 Anniversary Edition—The Ultimate TI-Nspire Graphics Library
« Reply #334 on: August 07, 2013, 06:30:41 pm »
Oh, hello Hoffa! NIce to see you back! I made my return just in time, so!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: nSDL 1.1.1 Anniversary Edition—The Ultimate TI-Nspire Graphics Library
« Reply #335 on: August 07, 2013, 06:44:33 pm »
Glad to hear Hoffa. :) Good luck!

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: nSDL 1.1.1 Anniversary Edition—The Ultimate TI-Nspire Graphics Library
« Reply #336 on: August 08, 2013, 02:29:10 am »
Yes, mouse support! :D
(I need it for my next project)

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: nSDL 1.1.1 Anniversary Edition—The Ultimate TI-Nspire Graphics Library
« Reply #337 on: August 18, 2013, 07:22:51 am »
Since SDL 2.0 is now out, what benefits would it offer to the Nspire once you port it?

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: nSDL 1.1.1 Anniversary Edition—The Ultimate TI-Nspire Graphics Library
« Reply #338 on: August 18, 2013, 07:26:38 am »
Grabbed this from : http://wiki.libsdl.org/moin.fcg/MigrationGuide


Quote
Overview of new features

These are the most important new features in SDL 2.0:

Full 3D hardware acceleration
Support for OpenGL 3.0+ in various profiles (core, compatibility, debug, robust, etc)
Support for OpenGL ES
Support for multiple windows
Support for multiple displays
Support for multiple audio devices
Android and iOS support
Simple 2D rendering API that can use Direct3D, OpenGL, OpenGL ES, or software rendering behind the scenes
Force Feedback available on Windows, Mac OS X and Linux
XInput and XAudio2 support for Windows
Atomic operations
Power management (exposes battery life remaining, etc)
Shaped windows
32-bit audio (int and float)
Simplified Game Controller API (the Joystick API is still here, too!)
Touch support (multitouch, gestures, etc)
Better fullscreen support
Better keyboard support (scancodes vs keycodes, etc).
Message boxes
Clipboard support
Basic Drag'n'Drop support
Proper unicode input and IME support
A really powerful assert macro
zlib license instead of LGPL.
Lots of old annoyances from 1.2 are gone
Many other things!
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +153/-23
    • View Profile
Re: nSDL 1.1.1 Anniversary Edition—The Ultimate TI-Nspire Graphics Library
« Reply #339 on: August 18, 2013, 07:40:26 am »
Since SDL 2.0 is now out, what benefits would it offer to the Nspire once you port it?
Yeah, but beware that the porting effort of most of the current SDL apps wouldn't be that straightforward without a lot of source recoding. So, not all that glitters is always gold. I mean, SDL 2.0 is NOT backwards-compatible with SDL 1.2. :P

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: nSDL 1.1.1 Anniversary Edition—The Ultimate TI-Nspire Graphics Library
« Reply #340 on: August 18, 2013, 10:22:26 am »
Here's a filtered list of the features that really matter on the nspire. I did remove some stuff that's technically useable, but unlikely to be used, like multiple audio device support. (Easy enough, but I don't know how much audio the USB can handle when you have 4 USB audio dongles :P) Look at this list as motivations for why to switch.

  • Atomic operations (For those who don't know, this is making certain areas of code unable to be interrupted. So, they would postpone any automatic timed actions.)
  • Better keyboard support (scancodes vs keycodes, etc).
  • A "really powerful" assert macro. (Debugging tool. Not generally used in release programs)
  • Power management (exposes battery life remaining, etc) (Could be very useful, assuming it works on the nspire at all :P)
  • 32-bit audio (int and float)

The window-based changes don't matter since even if you use X, there's only 320x240 pixels to work with anyway.


Offline hoffa

  • Project Author
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 322
  • Rating: +131/-13
    • View Profile
Re: nSDL 1.1.1 Anniversary Edition—The Ultimate TI-Nspire Graphics Library
« Reply #341 on: August 22, 2013, 12:46:44 pm »
While SDL2 is a much more modern GPU-based API, it wouldn't benefit the TI-Nspire that much. There are some new useful functions and the whole library is cleaner but apart from that at the moment it's too much work (or not that much work at all, depends, haven't looked at it) and not many open source projects have been made using it, so the return on investment is so-so. I still need to update the current nSDL (I'm waiting for that tiny drop of motivation to form so I can finish it) before I can even think of the next version.

Offline ElementCoder

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 611
  • Rating: +42/-2
    • View Profile
Re: nSDL 1.1.1 Anniversary Edition—The Ultimate TI-Nspire Graphics Library
« Reply #342 on: August 22, 2013, 12:50:37 pm »
I hope that drop will form soon, nSDL is an awesome project :) Maybe silly question: could someone give an example when you want code to be unable to be interruped?

Some people need a high five in the face... with a chair.
~EC

Offline hoffa

  • Project Author
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 322
  • Rating: +131/-13
    • View Profile
Re: nSDL 1.1.1 Anniversary Edition—The Ultimate TI-Nspire Graphics Library
« Reply #343 on: August 22, 2013, 07:22:45 pm »
Would it be possible to somehow control the TI-Nspire's native cursor through Ndless? I don't know if it's because of some new changes in Ndless or not, but now I can see the animated clock desperetaly trying to draw itself on the screen, and it moves as I move my finger on the touchpad. That means there is some master thread running and taking care of the mouse, it would be much better if I could get access to that. I guess functions to read the coordinates and force the cursor to draw itself would be extremely welcome.
« Last Edit: August 22, 2013, 07:24:09 pm by hoffa »

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: nSDL 1.1.1 Anniversary Edition—The Ultimate TI-Nspire Graphics Library
« Reply #344 on: August 22, 2013, 07:40:12 pm »
Are you enabling interrutps through TCT_Local_Control_Interrupts() and why ?
If not, consider it as a bug, and you may call ExtendeD.

If you're enabling interrupts for a custom IRQ handler, you may use a specific mask (I don't rememeber what bit filed it was).
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua