Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
20 May, 2013, 14:55:56 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1] 2   Go Down
  Print  
Author Topic: Ncubate v.0.32b is out -  (Read 5316 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Today at 10:41:34
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Topic starter
Total Post Ratings: +151

View Profile
« on: 06 November, 2010, 18:29:43 »
+2

Ncubate v032b is out!

The major feature added in this version is the compatibility with the GNU GDB debugger which allows source-level debugging for C programs. I have been working on this feature for the last 10 months, I am pleased to share it, and hope it will help new TI-Nspire projects to roll out.

Tutorials are available on Hackspire and YouTube.

<a href="http://www.youtube.com/watch?v=JB-SnyZpbA4" target="_blank">http://www.youtube.com/watch?v=JB-SnyZpbA4</a>

Thanks to apcalc for BlockDude featured in the tutorial.
(sorry for the poor quality, it seems to have been damaged by the YouTube conversion)

This version also includes an ARM loader which can be used by the emulator to run arbitrary ARM instructions. Currently only the GDB support depends on it to speak with the Ndless program loader. I would like to make use of it to add file tranfers to OS 2.1 and also file exports. Unfortunately the file-related syscalls seem to fail for an unknown reason when injecting a call... Any help on this is welcome.

Here is the full changelog of v032b including the minor changes:

* v032b - 2010/11/06
 - ADD: GDB support
 - ADD: Command-line option /R
 - CHG: Read/write breakpoint logs display a virtual address instead of a
   physical address
 - FIX: 'j' (over a non-branch instruction) and 'rs pc' debugger commands
   incorrectly skipped the target instruction
 - FIX: flash file creation (/N) may sometimes fail
 - FIX: no more 'bad read word' on auto power down, but still hangs
 - FIX: ineffective command line option /D when saved state was reloaded on startup
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 13:28:22
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50204


Total Post Ratings: +2611

View Profile WWW
« Reply #1 on: 07 November, 2010, 10:07:19 »
0

Great! I saw the upload. I will probably give this a try if I ever get into Nspire dev too. Cheesy

EDIT: I moved this to news.
« Last Edit: 07 November, 2010, 20:15:40 by DJ Omnimaga » Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
bwang
LV7 Elite (Next: 700)
*******
Offline Offline

Last Login: 11 August, 2012, 12:59:06
Date Registered: 20 June, 2009, 01:42:58
Posts: 632

Total Post Ratings: +19

View Profile
« Reply #2 on: 07 November, 2010, 23:10:37 »
0

OMG GDB support!!
Greatest thing ever!!
Logged
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 07 May, 2013, 22:49:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #3 on: 08 November, 2010, 16:32:24 »
0

Nice emulator, looks hard to use, but that's because you are C Coding.

Can we use ncubate like wabbitemu and code in ti basic nspire too?
Logged
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Today at 10:41:34
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Topic starter
Total Post Ratings: +151

View Profile
« Reply #4 on: 08 November, 2010, 21:16:43 »
0

You can code in TI-Nspire basic within the emulator, but currently you will unfortunately not be able to export to the computer the programs written this way.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 13:28:22
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50204


Total Post Ratings: +2611

View Profile WWW
« Reply #5 on: 08 November, 2010, 21:23:49 »
0

Exporting programs might eventually be useful for those with no link cable, although not a lot of people program in TI-Nspire BASIC. However, Wabbitemu has this for the 83+. Is this planned for Ncubate in the future?
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Today at 10:41:34
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Topic starter
Total Post Ratings: +151

View Profile
« Reply #6 on: 08 November, 2010, 22:39:17 »
0

Yes I would like to integrate it if I find the time to.

But I would need (or need help) to understand what's wrong with the armloader added in the last release when calling file relating syscalls. Any call fails when the loader run it by interrupting the OS. The same calls work when loaded by the Ndless program loader. Some conditions seems to be required to be able to call these syscalls.

The broken code is available in this release but unused if anyone wants to have a look.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Ranman
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Last Login: 23 April, 2013, 23:37:04
Date Registered: 16 October, 2008, 23:25:59
Posts: 1390


Total Post Ratings: +78

View Profile
« Reply #7 on: 08 November, 2010, 23:27:55 »
0

This is awesome ExtendeD!

Source code level debugging is awesome!  Cool
Logged

Ranman
Bringing Randy Glover's Jumpman to the TI-89 calculator.  Download available here.
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 13:28:22
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50204


Total Post Ratings: +2611

View Profile WWW
« Reply #8 on: 09 November, 2010, 07:41:04 »
0

Yes I would like to integrate it if I find the time to.

But I would need (or need help) to understand what's wrong with the armloader added in the last release when calling file relating syscalls. Any call fails when the loader run it by interrupting the OS. The same calls work when loaded by the Ndless program loader. Some conditions seems to be required to be able to call these syscalls.

The broken code is available in this release but unused if anyone wants to have a look.
Ah ok, hopefully you or other people can figure out soon. Smiley
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
kyllopardiun
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 15 May, 2013, 05:34:24
Date Registered: 24 August, 2010, 00:16:30
Posts: 178


Total Post Ratings: +9

View Profile WWW
« Reply #9 on: 05 December, 2010, 18:36:42 »
0

How/ what should I do to be able to compile it,
I am saying this because: when trying to compile with mingw/eclipse/cygwin I always get some errors
//I didn't edit the program [yet]

Logged

apcalc
The Game
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 16:59:33
Date Registered: 20 March, 2010, 16:31:47
Location: 2003 UB313
Posts: 1393


Total Post Ratings: +118

View Profile
« Reply #10 on: 05 December, 2010, 19:01:06 »
+1

Do you have YAGARTO installed on your computer/added to your path?  That is where "arm-none-eabi-gcc" is located.
Logged


kyllopardiun
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 15 May, 2013, 05:34:24
Date Registered: 24 August, 2010, 00:16:30
Posts: 178


Total Post Ratings: +9

View Profile WWW
« Reply #11 on: 05 December, 2010, 23:04:10 »
0

Do you have YAGARTO installed on your computer/added to your path?  That is where "arm-none-eabi-gcc" is located.
Thanks, now I can compile with the mingw, but I still not able to do it with the cygwin perhaps, I have to change something in the make file for do it...



But, it's not really a problem as I can compile it now (=
thanks Apcalc!
Logged

ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Today at 10:41:34
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Topic starter
Total Post Ratings: +151

View Profile
« Reply #12 on: 06 December, 2010, 00:09:56 »
0

Just edit Makefile.config and remove -mno-cygwin.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
kyllopardiun
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 15 May, 2013, 05:34:24
Date Registered: 24 August, 2010, 00:16:30
Posts: 178


Total Post Ratings: +9

View Profile WWW
« Reply #13 on: 06 December, 2010, 01:36:10 »
0

Maybe cygwin is too advanced for me...
I've tried removing it all -mno-cygwin and just the cygwin, in both cases I got:



But, I don't think you shoud care about it, as it's easy to compile with mingw...

Logged

ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Today at 10:41:34
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Topic starter
Total Post Ratings: +151

View Profile
« Reply #14 on: 06 December, 2010, 21:14:41 »
0

I'm not sure if it's related, but don't forget to make clean before switching from Cygwin to mingw.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.217 seconds with 29 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.