Author Topic: New TI-Nspire emulator: Firebird Emu  (Read 130655 times)

0 Members and 1 Guest are viewing this topic.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1192
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: New TI-Nspire emulator: Firebird Emu
« Reply #60 on: November 28, 2016, 04:42:24 pm »
Quick update: v1.1.1 has been released with a small bugfix for touchpad cursor handling.
Previously the handling of dragging (like the graph view) was a bit bad, it should work fine now.

Also, v1.1 has already been downloaded a whopping 268 times (on GitHub, not counting the linux repo) and all releases together 45337 times!

Offline Florian Ifland

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
Re: New TI-Nspire emulator: Firebird Emu
« Reply #61 on: November 30, 2016, 11:31:56 am »
@Vogtinator is there a way to send files from the android emu to a real calc with an otg cable?

Offline Karsten Römke

  • LV0 Newcomer (Next: 5)
  • Posts: 2
  • Rating: +0/-0
    • View Profile
Snapshot has some strange behaviour
« Reply #62 on: December 05, 2016, 12:49:45 pm »
Hello,
I installed the emulator a few days ago. Today I tried to set up a snapshot
I put it in configuration as a normal file in the kit standard
If I try to save to the snapshot via save as it works (after asking me if I want to override the existing file).
If I try to save it says: the actual kit has no snapshot file.
If I just leave firebird the timestamp of the snapshot file does not change.
 
If I start firebird again only the changes from my first save are loaded from the snapshot file.

Maybe I misunderstand the functionality but I've expected, that the snapshot file is connected with the kit and If I leave the snapshot is updated, cause in configuration I have set save snapshot on exit (free translation of the german text).

Is there any documentation I don't found ? - I've looked on github.

Thank you
Karsten

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1192
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: New TI-Nspire emulator: Firebird Emu
« Reply #63 on: December 05, 2016, 01:07:38 pm »
@Vogtinator is there a way to send files from the android emu to a real calc with an otg cable?

Currently it's not possible to download files from the calc with the mobile UI. Additionally, implementing a second interface to a calc that uses Android's USB stack
would be too much work for a single app and should probably be handled in a different app.

Hello,
I installed the emulator a few days ago. Today I tried to set up a snapshot
I put it in configuration as a normal file in the kit standard
If I try to save to the snapshot via save as it works (after asking me if I want to override the existing file).
If I try to save it says: the actual kit has no snapshot file.

That's your issue, you did not select the snapshot file in the kit configuration correctly.
If you're sure that you tried that, please describe exactly what you did.

Quote
If I just leave firebird the timestamp of the snapshot file does not change.
 
If I start firebird again only the changes from my first save are loaded from the snapshot file.

Maybe I misunderstand the functionality but I've expected, that the snapshot file is connected with the kit and If I leave the snapshot is updated, cause in configuration I have set save snapshot on exit (free translation of the german text).

No, that's exactly how it's supposed to work and it behaves correctly here.

Quote
Is there any documentation I don't found ? - I've looked on github.

There are a few wiki pages on GitHub explaining the first time setup, but you're already more advanced than that ;)

Edit: I believe I found where the bug is, will likely be fixed in v1.2.

Offline Karsten Römke

  • LV0 Newcomer (Next: 5)
  • Posts: 2
  • Rating: +0/-0
    • View Profile
Re: New TI-Nspire emulator: Firebird Emu
« Reply #64 on: December 05, 2016, 01:57:46 pm »
Hello voginator,
sorry, I forgot to mention that I'm using ubuntu16.10.
And I found another thing I don't understand.
If I have opened a Dokument with 2 "problems" and save a flash image to work around the problem with the snapshot. ->There is only one problem in the resulting flash.
Hmm, I suppose that the snapshot overwrites some storage from the flash image?
If I try to reset the device I get a System error when booting :-(
If I restart firebird it loads the snapshot. So in handling snapshots and flash images something went wrong.
Karsten




And hello again,
last message for today.
I transferred the ts-file back to the emulator, load the file save a snapshot with save to - finish emulator -  restart emulator -> my changes are there, I have a document with two "problems" but my flash image is still corrupted, reset leads to system error.
Karsten

Edit (Eeems): Merged double post
« Last Edit: January 02, 2017, 02:47:16 am by Eeems »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1192
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: New TI-Nspire emulator: Firebird Emu
« Reply #65 on: December 05, 2016, 02:51:01 pm »
Snapshots contain a delta of the flash image, so if you modify the flash image without updating the snapshot, undefined things happen.
I recommend taking snapshots immediately after saving the flash image. It's also what the mobile apps do by default.

Edit: However, if you update the snapshot and *then* save the flash immediately afterwards, it should work fine as the snapshot's view of the flash and the flash image match up.
« Last Edit: December 05, 2016, 03:05:01 pm by Vogtinator »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1192
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: New TI-Nspire emulator: Firebird Emu
« Reply #66 on: December 06, 2016, 04:28:35 pm »
Quick update: v1.2 got released with an important bugfix: The snapshot path of kits is no longer ignored!

Great news for iOS users: This version supports the much quicker JIT also on 64bit phones, even if they are not jailbroken!

Download it here

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: New TI-Nspire emulator: Firebird Emu
« Reply #67 on: December 13, 2016, 03:40:23 pm »
It seems to be a great emulator! Unfortunately, I haven't managed to make it work on my Ubuntu 16.04, because of a Qt version issue.

With Firebird 1.2, there are no compiled versions for Linux so I tried to compile the source code myself by following the instructions in the README. But it says that it needs Qt to be at least on the 5.6 version. Everything that I tried to set the version (found on StackOverflow etc.) didn't work, and the only Qt > 5.6 that I could install was in fact a graphical tool.

If I try an older version including the Linux built project, when I run the firebird.sh it says "Cannot mix incompatible Qt library (version 0x50501) with this library (version 0x50500)"!

Did someone manage to install Firebird for Linux? How did you manage to set up Qt?

EDIT: Here are some examples of what I tried:
http://unix.stackexchange.com/questions/116254/how-do-i-change-which-version-of-qt-is-used-for-qmake
http://stackoverflow.com/questions/16607003/qmake-could-not-find-a-qt-installation-of
http://askubuntu.com/questions/508503/whats-the-development-package-for-qt5-in-14-04
http://unix.stackexchange.com/questions/26047/how-to-correctly-add-a-path-to-path
« Last Edit: December 13, 2016, 03:43:52 pm by mdr1 »



Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: New TI-Nspire emulator: Firebird Emu
« Reply #68 on: December 14, 2016, 12:37:57 pm »
Yes, I use Firebird on Debian testing, which has Qt 5.7. The only change you have to make is add -no-pie to the linking flags, because Firebird does not support PIE.
If you're using Ubuntu 16.04, try downloading Qt from the website: https://www.qt.io/

EDIT: You can use the PPA https://launchpad.net/~beineri/+archive/ubuntu/opt-qt571-xenial
« Last Edit: December 17, 2016, 08:11:36 pm by Legimet »

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: New TI-Nspire emulator: Firebird Emu
« Reply #69 on: December 18, 2016, 12:16:25 am »
Thanks for helping!

I have added the PPA ppa:beineri/opt-qt571-xenial but it still doesn't work. By the way, is it normal that the folder "build" is empty?



Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: New TI-Nspire emulator: Firebird Emu
« Reply #70 on: December 18, 2016, 09:57:03 am »
Did you install the required packages? You have to install qt57base and qt57declarative. And according to the information on the PPA page, "Source /opt/qt57/bin/qt57-env.sh to set the correct environment."
The build folder, after running qmake, should at least contain the Makefile.
« Last Edit: December 18, 2016, 10:01:50 am by Legimet »

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: New TI-Nspire emulator: Firebird Emu
« Reply #71 on: December 22, 2016, 05:45:07 pm »
I installed qt57base and qt57declarative, but when I run "mkdir -p build", I still get an empty directory, and "qmake .." still results to the message "Project ERROR: You need at least Qt 5.6 to build firebird!".



Legimet helped me to make it work on the chat, thank you very much!

I hadn't cloned the repo but just downloaded the tar.gz, that didn't contain everything. I also had to install the package "qt57quickcontrols", and then it worked ("./firebird" inside "build" to launch it).

May this be useful to somebody else!

Edit (Eeems): merged double post
« Last Edit: January 02, 2017, 02:48:42 am by Eeems »



Offline MrBjornH

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
Re: New TI-Nspire emulator: Firebird Emu
« Reply #72 on: March 22, 2017, 06:34:07 am »
I have macOS, and wanted an software version of cx cas to help in my studies.

I installed the dmg file, and it ask about the boot file when I start. Where do I get a boot file? I dont get how this works.

Cheers
Bjorn

Offline Chirlian

  • LV2 Member (Next: 40)
  • **
  • Posts: 22
  • Rating: +0/-0
    • View Profile
Re: New TI-Nspire emulator: Firebird Emu
« Reply #73 on: March 24, 2017, 08:58:18 pm »
Thanks for your work on the firebird!
I tried to get it to run on a tablet:
galaxy nexus 10
android 5.1.1
Did load the newest version/1.20. Used polydumper 4.3 on my Nspire cx cas and transferred the 4 files to the tablet. Put this files and os 4.4.0.532 in one folder and deleted the .tns extensions of the 4 nspire files.
Started the firebird apk. At right side there was the keyboard of the nspire. Moved it left, but then I couldn't go on with the 2 installation help files on github.
Selected boot1, went good. Selected the os file, also ok. Third entry for selecting a save point I couldn't serve. Klicking button led me to the folder where firebird is installed (root\data\data...). Couldn't select any file, also simply using save botton didn't work. Changed folder to that where I put all files in at installing, couldn't also select any file, couldn't also not make a new file. So got no save point. Tried then to choose the os file, it got selected and shown in the 3rd 'Flash&Boot' menu, but still I couldn't save anything, also the start bomb told that 'boot1 and/or flash are missing'. At right side they are both shown at the 'boot1' and 'flash' menu entries. Any function for creating a flash save file I can't find. I think the main problem is that I don't get a save point. What to do? Tried the also vers. 1.1 and 0.3 but that didn't help (same problem at 1.1, no keyboard at 0.3).
Tried then the newest windows version but after starting firebird.exe (admin) on a win7-64 notebook I got the info 'api-ms-win-core-libraryloader-l1-2-0.dll' is missing.
Can you help me? Would prefer use the android version.

Offline Chirlian

  • LV2 Member (Next: 40)
  • **
  • Posts: 22
  • Rating: +0/-0
    • View Profile
Re: New TI-Nspire emulator: Firebird Emu
« Reply #74 on: March 25, 2017, 05:31:58 pm »
Now theres some progress in my tryings with firebird.
On my Notebook the win version (1.20) don't work, must look for the missing file (api-ms-win-core-libraryloader-l1-2-0.dll).
On a pc I got it to run without any problems. Now I did compris how to handle the Android installation. Missing menu entry I also found and so I could create the flash file. Up to now I ever tried this with the android version...
So both firebirds are flying now, the android on my nexus galaxy 10 and the windows version. Interesting to compare the performance of firebird on the galaxy 10 w/o energy save mode/normal mode, a nspire cx cas and on pc with quadcore amd phenom 2.