Author Topic: Java on the TI-Nspire?  (Read 34239 times)

0 Members and 5 Guests are viewing this topic.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Java on the TI-Nspire?
« Reply #15 on: January 17, 2011, 03:20:55 pm »
Java on the nSpire would we excelent! :D Heh although what would the advantages be over C compiling?

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Java on the TI-Nspire?
« Reply #16 on: January 17, 2011, 04:08:42 pm »
Java on the nSpire would we excelent! :D Heh although what would the advantages be over C compiling?
I think the only advantage is if you happen to love Java :P
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: Java on the TI-Nspire?
« Reply #17 on: January 17, 2011, 04:27:33 pm »
Java does have all those handy built in libraries. Good for a lot of that graphical programming.

List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)

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: Java on the TI-Nspire?
« Reply #18 on: January 18, 2011, 02:35:15 am »
Woah nice Goplat! It would be nice to have something like Java on the Nspire, since a lot of people use it.

Offline squalyl

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +2/-0
    • View Profile
Re: Java on the TI-Nspire?
« Reply #19 on: January 18, 2011, 05:37:15 am »
Hello,

I've working on a portable cldc JVM for some months now, part time of course.

Thanks to goplat, it will support jazelle on the nspire, now I know how to do that thanks to him. This was a known unknown, and now its a known known (sorry :D).

I have no release date since it's a big project and I'm busy, but I will let you know my progress here.

FYI, I can load classes from memory or file. When classes are in memory, I will be able to do XIP, ie, classes will not use more RAM if they're available from flash. The goal is to support the TI68K platform.

There is no JAR support for the moment, that's useless. I may add it in the future.

I'm working on threads, which means the stack and bytecode execution is not far away.

Ashbad

  • Guest
Re: Java on the TI-Nspire?
« Reply #20 on: January 18, 2011, 09:34:21 am »
interesting, java on the nspire!  My firend actually was bullshitting me earlier this week saying he had a friend who could already send compiled .class files from comp to calc (Nspire of course) and run right after comp compiling.  Using TIconnect for the nspire non-84+ version: BS then.  But one day, it won't be!
« Last Edit: January 18, 2011, 09:34:31 am by Ashbad »

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Java on the TI-Nspire?
« Reply #21 on: January 18, 2011, 09:39:15 am »
Very nice! :D
Also, I would be interested in seeing Python and a GUI lib on TI-Nspire too! ;)

(Or better yet, Linux if we can do it!)
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)

Ashbad

  • Guest
Re: Java on the TI-Nspire?
« Reply #22 on: January 18, 2011, 09:41:09 am »
A bit unrelated, but C++ on nspire would get me to buy one! :D

Offline Goplat

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 289
  • Rating: +82/-0
    • View Profile
Re: Java on the TI-Nspire?
« Reply #23 on: January 18, 2011, 04:20:08 pm »
Hello,

I've working on a portable cldc JVM for some months now, part time of course.

Thanks to goplat, it will support jazelle on the nspire, now I know how to do that thanks to him. This was a known unknown, and now its a known known (sorry :D).

I have no release date since it's a big project and I'm busy, but I will let you know my progress here.

FYI, I can load classes from memory or file. When classes are in memory, I will be able to do XIP, ie, classes will not use more RAM if they're available from flash. The goal is to support the TI68K platform.

There is no JAR support for the moment, that's useless. I may add it in the future.

I'm working on threads, which means the stack and bytecode execution is not far away.

Are you porting an existing VM or writing one from scratch?

BTW, there's a bit more to using Jazelle than what I used in the little demo program. I'll post what I know on Hackspire soon.
Numquam te deseram; numquam te deficiam; numquam circa curram et te desolabo
Numquam te plorare faciam; numquam valedicam; numquam mendacium dicam et te vulnerabo

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: Java on the TI-Nspire?
« Reply #24 on: January 18, 2011, 04:29:04 pm »
Sounds promising Squalyl! Good luck!

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Java on the TI-Nspire?
« Reply #25 on: January 18, 2011, 05:07:11 pm »
There is some info on Jazelle this thread, not sure how accurate/up-to-date it is.
Ndless.me with the finest TI-Nspire programs

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: Java on the TI-Nspire?
« Reply #26 on: January 18, 2011, 08:11:10 pm »
i guess there's lots of advantages Java is newer. but also java is used on webplatforms as well as executable runtimes.
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

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: Java on the TI-Nspire?
« Reply #27 on: January 18, 2011, 09:00:55 pm »
Don't forget everyone that Java compiles to bytecode, which is cross-compatible between ARM, x86, you name it. You just need the libraries (ie openGL() to get stuff to work.

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Java on the TI-Nspire?
« Reply #28 on: January 18, 2011, 09:02:19 pm »
Python would be great on the Nspire
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

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: Java on the TI-Nspire?
« Reply #29 on: January 18, 2011, 09:15:41 pm »
much more doable than most, since it's both Open-source and scripted, not compiled