• TI-Nspire emulator 5 1
Currently:  

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

0 Members and 2 Guests are viewing this topic.

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: TI-Nspire emulator
« Reply #345 on: November 16, 2014, 09:00:58 pm »
I haven't tried yet because I have no idea how to grab the ROM from my Nspire... TiLP doens't work :\
TILP can't do it. You have to use polydumper.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: TI-Nspire emulator
« Reply #346 on: November 17, 2014, 04:55:45 am »
Ah okay. Thanks for the info :)
I'm not a nerd but I pretend:

Offline antoniovazquezblanco

  • LV3 Member (Next: 100)
  • ***
  • Posts: 46
  • Rating: +0/-0
    • View Profile
Re: TI-Nspire emulator
« Reply #347 on: November 17, 2014, 02:20:37 pm »
WOW! Congrats! Sorry I've been missing for the last month because this is awesome.

It seems that I should delete my repo and start collaborating with the organization.

Thank you very much for your work.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: TI-Nspire emulator
« Reply #348 on: November 17, 2014, 02:39:35 pm »
Quote
It seems that I should delete my repo and start collaborating with the organization.
No, don't delete your repo, instead push upstream whenever you like to. If it's in any way a massive change, a pull request is the best way to avoid merge conflicts.
Branches on upstream work as well, but there are no pull requests for them. At least that's how it works now for ndless-nspire/Ndless and Vogtinator/Ndless.

Offline antoniovazquezblanco

  • LV3 Member (Next: 100)
  • ***
  • Posts: 46
  • Rating: +0/-0
    • View Profile
Re: TI-Nspire emulator
« Reply #349 on: November 18, 2014, 10:19:55 am »
Quote
It seems that I should delete my repo and start collaborating with the organization.
No, don't delete your repo, instead push upstream whenever you like to. If it's in any way a massive change, a pull request is the best way to avoid merge conflicts.
Branches on upstream work as well, but there are no pull requests for them. At least that's how it works now for ndless-nspire/Ndless and Vogtinator/Ndless.

I think it would be better to fork the organization repo and just make the changes there. After that pull request...
Better, isn't it?

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: TI-Nspire emulator
« Reply #350 on: November 18, 2014, 09:33:31 pm »
you could rebase your repo to upstream (that's what I do now), and as Vogtinator said, push "small" changes to upstream directly but major one to yours, then with a PR to upstream, for review etc.
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline antoniovazquezblanco

  • LV3 Member (Next: 100)
  • ***
  • Posts: 46
  • Rating: +0/-0
    • View Profile
Re: TI-Nspire emulator
« Reply #351 on: November 22, 2014, 02:19:30 pm »
SHIT I THINK I DELETED THE ORG REPO!

I WANTED TO DELETE MINE AND CHANGED TAB ACCIDENTALLY!  :banghead: :banghead: :banghead: :banghead: :banghead:

Sorry!!!!!

What can I do?  :'(

Offline antoniovazquezblanco

  • LV3 Member (Next: 100)
  • ***
  • Posts: 46
  • Rating: +0/-0
    • View Profile
Re: TI-Nspire emulator
« Reply #352 on: November 22, 2014, 02:37:56 pm »
SHIT I THINK I DELETED THE ORG REPO!

I WANTED TO DELETE MINE AND CHANGED TAB ACCIDENTALLY!  :banghead: :banghead: :banghead: :banghead: :banghead:

Sorry!!!!!

What can I do?  :'(


Thank you Vogtinator for setting the repo up again. Didn't want to make it worse...

Really embarrased...

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: TI-Nspire emulator
« Reply #353 on: November 22, 2014, 03:02:45 pm »
Oh, so that's what the automatic subscription was about.... :P
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: TI-Nspire emulator
« Reply #354 on: November 22, 2014, 03:03:59 pm »
Let's forget about that (and your doublepost). When I read your message I just laughed really badly xD
It's not really bad to delete an upstream repository as someone will have a working copy with git history and thus every branch can be restored.
But still, it's not a bad idea to check everything twice before deleting...

Anyway, back to the code. How should the keymap be implemented? I thought about a direct mapping of characters, so to type a ( you just have to type (. For {, { and so on.
The downside to this is that the shift key can't be controlled anymore. What do you think about that?

Quote
Oh, so that's what the automatic subscription was about.... :P
Did you get a message? If antonio hadn't posted here, I wouldn't know about the accident..

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: TI-Nspire emulator
« Reply #355 on: November 22, 2014, 03:51:47 pm »
Anyway, back to the code. How should the keymap be implemented? I thought about a direct mapping of characters, so to type a ( you just have to type (. For {, { and so on.
Yeah, I think it would be a good idea. But we obviously still need buttons, too (for nspire-specific keys...)
When the core stuff are done, a skin-based thing (well, at least, a keyboard that looks like the real one) would be good too, like what KarmTI does (or to a lesser extent, nRemote).
I looked at Qt and frame/headless windows (such that custom window shape/frames could be done for the skin-based interface, if that's the plan) and it looked relatively easy (3-4 lines of code in mainwindow actually, for making the window "custom", with transparent background etc.). I think I have the details bookmarked somewhere...

The downside to this is that the shift key can't be controlled anymore. What do you think about that?
Hmm. Is there any specific application of this where it could be an annoyance ?
But once again, the mapping could be temp. disabled with an option, too... :P

Quote
Oh, so that's what the automatic subscription was about.... :P
Did you get a message? If antonio hadn't posted here, I wouldn't know about the accident..

Got this:
Spoiler For Spoiler:
Quote
GitHub <[email protected]>
14:35

Hey there, we're just writing to let you know that you've been automatically subscribed to a repository on GitHub.

    nspire-emus/nspire-emu created by Vogtinator
    Community emulator of TI nspire handhelds
    https://github.com/nspire-emus/nspire-emu

You'll receive notifications for all issues, pull requests, and comments that happen inside the repository. If you would like to stop watching this repository, you can manage your settings here:

    https://github.com/nspire-emus/nspire-emu/subscription

You can unwatch this repository immediately by clicking here:

    https://github.com/nspire-emus/nspire-emu/unsubscribe_via_email/....

You were automatically subscribed because you've been given push access to the repository.

Thanks!
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: TI-Nspire emulator
« Reply #356 on: November 22, 2014, 04:53:08 pm »
Anyway, back to the code. How should the keymap be implemented? I thought about a direct mapping of characters, so to type a ( you just have to type (. For {, { and so on.
Yeah, I think it would be a good idea. But we obviously still need buttons, too (for nspire-specific keys...)
When the core stuff are done, a skin-based thing (well, at least, a keyboard that looks like the real one) would be good too, like what KarmTI does (or to a lesser extent, nRemote).
I looked at Qt and frame/headless windows (such that custom window shape/frames could be done for the skin-based interface, if that's the plan) and it looked relatively easy (3-4 lines of code in mainwindow actually, for making the window "custom", with transparent background etc.). I think I have the details bookmarked somewhere...
Hm, what about Qml/Qt Quick? It seems to be perfect for this, it supports SVG natively and makes design relatively easy.

Quote
The downside to this is that the shift key can't be controlled anymore. What do you think about that?
Hmm. Is there any specific application of this where it could be an annoyance ?
But once again, the mapping could be temp. disabled with an option, too... :P
Yeah, only double the work...

Quote
Quote
Oh, so that's what the automatic subscription was about.... :P
Did you get a message? If antonio hadn't posted here, I wouldn't know about the accident..

Got this:
Spoiler For Spoiler:
Quote
GitHub <[email protected]>
14:35

Hey there, we're just writing to let you know that you've been automatically subscribed to a repository on GitHub.

    nspire-emus/nspire-emu created by Vogtinator
    Community emulator of TI nspire handhelds
    https://github.com/nspire-emus/nspire-emu

You'll receive notifications for all issues, pull requests, and comments that happen inside the repository. If you would like to stop watching this repository, you can manage your settings here:

    https://github.com/nspire-emus/nspire-emu/subscription

You can unwatch this repository immediately by clicking here:

    https://github.com/nspire-emus/nspire-emu/unsubscribe_via_email/....

You were automatically subscribed because you've been given push access to the repository.

Thanks!
So they notify you about repo creation, but not deletion, wtf.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: TI-Nspire emulator
« Reply #357 on: November 22, 2014, 04:58:26 pm »
Hm, what about Qml/Qt Quick? It seems to be perfect for this, it supports SVG natively and makes design relatively easy.
Ah, maybe. Cool then. I have never used it, so I didn't think about it.
As long as it still works on all platform without adding much size overhead (?)
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: TI-Nspire emulator
« Reply #358 on: November 22, 2014, 05:00:19 pm »
Hm, what about Qml/Qt Quick? It seems to be perfect for this, it supports SVG natively and makes design relatively easy.
Ah, maybe. Cool then. I have never used it, so I didn't think about it.
As long as it still works on all platform without adding much size overhead (?)
Two seperate modules actually, one of them is WebKit's JavaScriptCore IIRC...

Offline antoniovazquezblanco

  • LV3 Member (Next: 100)
  • ***
  • Posts: 46
  • Rating: +0/-0
    • View Profile
Re: TI-Nspire emulator
« Reply #359 on: November 22, 2014, 06:13:04 pm »
I've been touching the keymap because I wasn't able to use the calculator at all. I could add the remaining keys to the map if you want me to. What do you suggest for the special keys? F1-F12? Alt? Ctrl? ...

It would be very nice to detect mouse over the Lcd widget and send it to the emulator...