Author Topic: TI-Nspire emulator  (Read 333081 times)

0 Members and 1 Guest are viewing this topic.

Offline jamesguessis

  • LV2 Member (Next: 40)
  • **
  • Posts: 33
  • Rating: +1/-1
    • View Profile
Re: TI-Nspire emulator
« Reply #300 on: November 06, 2014, 05:09:19 pm »


In theory you could run X and wine with qemu and binfmt support in a chroot.

I understood none of that :P
This isn't omnimaga related but boy do I love osu!

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: TI-Nspire emulator
« Reply #301 on: November 09, 2014, 09:55:25 am »
I've got a present for you :D

Far from complete, but works.
Using qt and running on linux natively.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: TI-Nspire emulator
« Reply #302 on: November 09, 2014, 12:15:25 pm »
:drooooool:
Where is the drool icon when you need it.
I'm not a nerd but I pretend:

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: TI-Nspire emulator
« Reply #303 on: November 09, 2014, 12:17:07 pm »
So you are taking over this project? :D

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: TI-Nspire emulator
« Reply #304 on: November 09, 2014, 12:19:38 pm »
:drooooool:
Where is the drool icon when you need it.
That exactly. Nspire-emu is like, the only thing I rely on Wine for atm. :P

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: TI-Nspire emulator
« Reply #305 on: November 09, 2014, 12:40:33 pm »
:drooooool:
Where is the drool icon when you need it.


So you are taking over this project? :D
Yes, in the way of "implementing support until it's usable", but not in the way of "I'll maintain it until we both are dead" :P
There is no current "maintainer", it's just floating around the internet.

Nspire-emu is like, the only thing I rely on Wine for atm. :P
I've still got IDA. It's a real PITA to use sometimes.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: TI-Nspire emulator
« Reply #306 on: November 11, 2014, 10:26:11 am »
Can someone install Qt for Android and try to cross-compile the code from http://github.com/Vogtinator/nspire_emu?
It should be possible now to run it on other platforms. It's probably a bit too slow to be usable, but it should work.

Edit: With some minimal changes it compiles and runs, but crashes somewhere in boot1. I'll debug it and upload for tests, if anybody wants to test nspire_emu on his android phone.
« Last Edit: November 11, 2014, 03:16:07 pm by Vogtinator »

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: TI-Nspire emulator
« Reply #307 on: November 11, 2014, 04:14:29 pm »
I have a Nexus 4 (with CM11) and the Android SDK. I can give it a shot this weekend.

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: TI-Nspire emulator
« Reply #308 on: November 11, 2014, 06:26:11 pm »
Nspire-emu is like, the only thing I rely on Wine for atm. :P
I've still got IDA. It's a real PITA to use sometimes.

You might want to try try radare2. You can import the Nspire .idc files using a script called idc2rdb. Although radare2 doesn't have a good GUI and it lacks decompilation support.

In theory you could run X and wine with qemu and binfmt support in a chroot.
If you just want some calculating capabilities similiar to the nspire, there are some apps in the store.
I tried that once, but apparently qemu required a patch for something called "NTPL support" to run wine :P

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: TI-Nspire emulator
« Reply #309 on: November 11, 2014, 07:45:21 pm »
BTW, what about QT for iOS ? It compiles fine (and runs almost fine, probably the same issue you mentioned) on Mac, so... maybe ?
I can try (sometime later....), I guess, as I have a iOS dev. account.

Anyway, ARM emu on ARM, though... :P
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: TI-Nspire emulator
« Reply #310 on: November 12, 2014, 12:51:37 am »
Anyway, ARM emu on ARM, though... :P
Does ARM support hardware virtualization ?

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: TI-Nspire emulator
« Reply #311 on: November 12, 2014, 01:14:16 pm »
Nspire-emu is like, the only thing I rely on Wine for atm. :P
I've still got IDA. It's a real PITA to use sometimes.

You might want to try try radare2. You can import the Nspire .idc files using a script called idc2rdb. Although radare2 doesn't have a good GUI and it lacks decompilation support.
The core of a good reverse engineer tool is to provide a nice user interface. Decompilation is mostly useless anyway. I'll try it, do you use it?

Quote
In theory you could run X and wine with qemu and binfmt support in a chroot.
If you just want some calculating capabilities similiar to the nspire, there are some apps in the store.
I tried that once, but apparently qemu required a patch for something called "NTPL support" to run wine :P
You know, "there's an app for that" :P I'm sure that somewhere is wine on an android device on the internet. Wouldn't be much fun, though.

Quote
BTW, what about QT for iOS ? It compiles fine (and runs almost fine, probably the same issue you mentioned) on Mac, so... maybe ?
I can try (sometime later....), I guess, as I have a iOS dev. account.
It may work but be even slower as iOS has some massive restrictions. But I guess it would run on iOS as well if it works on android.

Anyway, ARM emu on ARM, though... :P
Does ARM support hardware virtualization ?
Most ARM processors in consumer devices don't, but AFAIK Aarch64 requires it. (Xen and KVM support the extensions already, they're quite new)
Some kind of accelleration would be needed, though, I had to wait for ~8m to boot this:


Also, I had to do a quick hack to display the 4bit framebuffer, that's why it's blue for now.
I had to use a classic image as my device doesn't have enough RAM to allocate the various caches, flash and SDRAM, I'll have to change that to utilize nmap.

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: TI-Nspire emulator
« Reply #312 on: November 12, 2014, 01:20:06 pm »
Really, nspire_emu on Android phone would be amazing! :D
But I don't know how to perform what you're asking to do with Qt, Vogtinator.



Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: TI-Nspire emulator
« Reply #313 on: November 12, 2014, 01:22:22 pm »
Quote
Really, nspire_emu on Android phone would be amazing!
But I don't know how to perform what you're asking to do with Qt, Vogtinator.
Well, as you can see above, I couldn't resist so installed the Android SDK, NDK and Qt SDK for Android and it works already :P

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: TI-Nspire emulator
« Reply #314 on: November 12, 2014, 01:23:55 pm »
Dude, that's amazing. I wonder if you could compile it to run on the Nspire :P
[insert yo dawg meme here]
I'm not a nerd but I pretend: