Author Topic: Ncubate - Enhanced TI-Nspire emulator  (Read 10152 times)

0 Members and 1 Guest are viewing this topic.

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Ncubate - Enhanced TI-Nspire emulator
« on: November 06, 2010, 11:55:52 am »
Ncubate - Enhanced TI-Nspire emulator



http://www.omnimaga.org/index.php?action=downloads;sa=view;down=595

Ncubate is a custom version of Goplat's nspire_emu enhanced with features useful to developers, such as state saving/reloading, additional debugger commands and support for the GDB debugger.
Ndless.me with the finest TI-Nspire programs

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55914
  • Rating: +3152/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Ncubate - Enhanced TI-Nspire emulator
« Reply #1 on: November 07, 2010, 01:29:04 am »
Woah this already got 18 downloads o.o

And if you check the now defunct RPG sections, the top downloads are all Nspire stuff. That shows how high the Nspire popularity got over here.

I'm glad you made this, since this can be very helpful for developers

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ncubate - Enhanced TI-Nspire emulator
« Reply #2 on: November 07, 2010, 04:30:45 am »
Was this an automatic post triggered by the file upload?
Ndless.me with the finest TI-Nspire programs

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55914
  • Rating: +3152/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Ncubate - Enhanced TI-Nspire emulator
« Reply #3 on: November 07, 2010, 04:32:57 am »
Yeah that happens when we add an upload. I can merge it with the other topic if you want.

Btw, should we split your update and the discussion that ensued in the news section?

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ncubate - Enhanced TI-Nspire emulator
« Reply #4 on: November 07, 2010, 04:54:58 am »
Btw, should we split your update and the discussion that ensued in the news section?

Well I really don't know, how do you usually do? Do you keep a project page in "Other Calc-Related Projects And Ideas" and feature some updates in dedicated topics in "Other calculator discussion and news"?
« Last Edit: November 07, 2010, 04:55:23 am by ExtendeD »
Ndless.me with the finest TI-Nspire programs

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Ncubate - Enhanced TI-Nspire emulator
« Reply #5 on: November 07, 2010, 09:32:36 am »
I've been having trouble building files from eclipse. :(

I installed it and put MSYS's /bin in my path, but when I go to build I get:

Code: [Select]
**** Build of configuration Default for project ChipsChallenge ****

make -k all
make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x425073)

For a while, it was complaining that it could not find os.h, but I directly put that in the project folder. Is there anything else I have to do to get this to work?  I followed the instructions exactly as they were on the video.


Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55914
  • Rating: +3152/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Ncubate - Enhanced TI-Nspire emulator
« Reply #6 on: November 07, 2010, 01:11:53 pm »
Btw, should we split your update and the discussion that ensued in the news section?

Well I really don't know, how do you usually do? Do you keep a project page in "Other Calc-Related Projects And Ideas" and feature some updates in dedicated topics in "Other calculator discussion and news"?
It depends, when a release of such software occurs, I usually move the topic in the news section on the front page, but in your case, that would mean splitting the topic.

I could simply use this topic and move it, then edit it a bit with a more info link to the other one, though.

EDIT: Actually nvm, the other topic only got one reply anyway, so I'll split your update post in the news section.
« Last Edit: November 07, 2010, 01:13:55 pm by DJ Omnimaga »

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ncubate - Enhanced TI-Nspire emulator
« Reply #7 on: November 07, 2010, 01:42:27 pm »
apcalc: So "make" crashes, weird...
I suppose you have installed Eclipse CDT 7.0.1. Which version of MSYS are you using?

Before you moved os.h, did nspire-gcc throw an error, or are you talking about the warning underlined by the IDE? The latter is harmless.

Can you try to "make" on a DOS command line, from your project's directory in the Eclipse workspace?
Ndless.me with the finest TI-Nspire programs

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Ncubate - Enhanced TI-Nspire emulator
« Reply #8 on: November 07, 2010, 01:53:59 pm »
I am using the latest version of MSYS from the download page on their website.  For os.h, eclipse said something like "invalid inclusion"; it was not from nspire-gcc.  "Make"ing directly from MSYS works fine.

Do I need to set anything to tell it to use MSYS to compile, or is adding to my path all I need to do?


Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ncubate - Enhanced TI-Nspire emulator
« Reply #9 on: November 07, 2010, 01:59:30 pm »
For os.h, eclipse said something like "invalid inclusion"; it was not from nspire-gcc.

Ok, don't worry about that.

"Make"ing directly from MSYS works fine.

Could you try in a standard DOS console? This would be closer to what Eclipse tries to do.

Do I need to set anything to tell it to use MSYS to compile, or is adding to my path all I need to do?

Changing your PATH should be the only configuration required.
Ndless.me with the finest TI-Nspire programs

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Ncubate - Enhanced TI-Nspire emulator
« Reply #10 on: November 07, 2010, 02:07:16 pm »
When I try to "make" in the Windows Command Prompt, I get the same error that Eclipse is giving.


Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ncubate - Enhanced TI-Nspire emulator
« Reply #11 on: November 07, 2010, 02:19:23 pm »
Could you check if your problem is the one described in the following topics?
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=64657#623996
http://hdrlab.org.nz/articles/windows-development/make-interrupt-exception-caught-code-0xc00000fd-addr-0x4217b/

The configuration which would make "make" crash is a 64-bit OS, YAGARTO installed in "C:\Program Files (X86)\..." and/or a "C:\Program Files (X86)\" preceding YAGARTO's bin/ directory in the PATH directory list.

If this is your configuration, could you please try the solution suggested in the topics:
- Reinstall YAGARTO in C:\yagarto instead of Program Files or create a symbolic link pointing from C:\yagarto to the version in Program Files.
- Make YAGARTO's bin directory the first of the PATH directory list.
Ndless.me with the finest TI-Nspire programs

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Ncubate - Enhanced TI-Nspire emulator
« Reply #12 on: November 07, 2010, 02:41:30 pm »
That seems to have been the problem.  64-bit OS strikes again...

Thank you very much for your help, ExtendeD :)

Now, to go and try the debugger...


Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ncubate - Enhanced TI-Nspire emulator
« Reply #13 on: November 07, 2010, 02:42:50 pm »
How did you fix this? We should add the tip to Hackspire.
Ndless.me with the finest TI-Nspire programs

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Ncubate - Enhanced TI-Nspire emulator
« Reply #14 on: November 07, 2010, 02:50:38 pm »
All I did was move yagarto to C:\Yagarto from C:\Program Files (x86)\Yagarto.

EDIT: I added this to Hackspire :)
« Last Edit: November 07, 2010, 02:57:49 pm by apcalc »