Poster | Thread |
alpyre
| |
A capable {and free} AmigaOS IDE for cross developing! Posted on 7-Mar-2017 7:15:26
| | [ #1 ] |
|
|
|
Member |
Joined: 30-Oct-2008 Posts: 23
From: Samsun / Turkey | | |
|
| For those who are interested in cross developing for the Amiga, I published an Atom package that provides complete syntax highlighting for the AmigaOS API symbols (also provides complete auto-complete snippets with links to online documentations for functions).
You can get it working by following these steps: 1) Install Atom. 2) Go File>Settings>Install and make a search for the keyword "amiga" and install the package : language-amigaos-c 3) If you still want to be able to fold sections the way they were folded in GoldED (and CubicIDE) - which could be seen as the Amiga text fold convention - please also install the package cubic-folds as well. 4) As you were there don't forget to go to the Packages tab to make your settings for these packages after the installation.
To give a visual demonstration please take a look at the following images... Highlighting:
Snippets:
These packages are prepared digging meticulously through the SDK AutoDocs for many months. Yet there can still be missing or faulty stuff. So please don't hesitate to sumbit issues if you find any.
I hope this package helps accelerate the software developing processes for the Amiga. Viva Amiga! Last edited by alpyre on 26-Jan-2020 at 02:31 PM. Last edited by alpyre on 26-Jan-2020 at 01:39 PM. Last edited by alpyre on 26-Jan-2020 at 12:33 PM. Last edited by alpyre on 04-Dec-2018 at 06:26 PM.
|
|
Status: Offline |
|
|
Slash
| |
Re: A capable {and free} AmigaOS IDE for cross developing! Posted on 7-Mar-2017 7:41:18
| | [ #2 ] |
|
|
|
Cult Member |
Joined: 10-Mar-2003 Posts: 686
From: Newcastle-upon-Tyne, UK | | |
|
| @alpyre
This is absolutely brilliant... thank you! However, I get install errors when installing into MacOS Sierra:
Quote:
npm ERR! Darwin 16.4.0 npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/danielallsopp/.atom/.apm/.apmrc" "--userconfig" "/Users/danielallsopp/.atom/.apmrc" "install" "/private/var/folders/g3/hx9nb61s6mn_0nccq49mnvm00000gn/T/d-11727-43855-2v4nvy/package.tgz" "--runtime=electron" "--target=1.3.13" "--arch=x64" "--global-style" npm ERR! node v4.4.5 npm ERR! npm v3.10.5 npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/language-c npm ERR! 404 npm ERR! 404 'language-c' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 It was specified as a dependency of 'language-amigaos-c' npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! Please include the following file with any support request: npm ERR! /private/var/folders/g3/hx9nb61s6mn_0nccq49mnvm00000gn/T/apm-install-dir-11727-43855-nr1mru/npm-debug.log
|
_________________ This fire is burnin' and it's out of control It's not a problem you can stop, It's rock n' roll - GN'F'N'R |
|
Status: Offline |
|
|
alpyre
| |
Re: A capable {and free} AmigaOS IDE for cross developing! Posted on 7-Mar-2017 8:29:48
| | [ #3 ] |
|
|
|
Member |
Joined: 30-Oct-2008 Posts: 23
From: Samsun / Turkey | | |
|
| @Slash
Thank you for the feedback. I fixed it (hopefully). Would you please try again? |
|
Status: Offline |
|
|
Slash
| |
Re: A capable {and free} AmigaOS IDE for cross developing! Posted on 7-Mar-2017 9:05:13
| | [ #4 ] |
|
|
|
Cult Member |
Joined: 10-Mar-2003 Posts: 686
From: Newcastle-upon-Tyne, UK | | |
|
| @alpyre
Brilliant, it works fine now. Thanks _________________ This fire is burnin' and it's out of control It's not a problem you can stop, It's rock n' roll - GN'F'N'R |
|
Status: Offline |
|
|
kamelito
| |
Re: A capable {and free} AmigaOS IDE for cross developing! Posted on 7-Mar-2017 12:12:36
| | [ #5 ] |
|
|
|
Cult Member |
Joined: 26-Jul-2004 Posts: 832
From: Unknown | | |
|
| @alpyre
Awesome I'll test it this week end. Kamelito |
|
Status: Offline |
|
|
kamelito
| |
Re: A capable {and free} AmigaOS IDE for cross developing! Posted on 7-Mar-2017 20:02:54
| | [ #6 ] |
|
|
|
Cult Member |
Joined: 26-Jul-2004 Posts: 832
From: Unknown | | |
|
| @alpyre
I suppose that you have to DL the SDK and uncompress it somewhere, plus you have to install a cross c compiler which one (location?), then how do you compile and build from Atom? Kamelito
|
|
Status: Offline |
|
|
asymetrix
| |
Re: A capable {and free} AmigaOS IDE for cross developing! Posted on 7-Mar-2017 23:12:53
| | [ #7 ] |
|
|
|
Cult Member |
Joined: 9-Mar-2003 Posts: 868
From: United Kingdom | | |
|
| |
Status: Offline |
|
|
alpyre
| |
Re: A capable {and free} AmigaOS IDE for cross developing! Posted on 8-Mar-2017 7:59:52
| | [ #8 ] |
|
|
|
Member |
Joined: 30-Oct-2008 Posts: 23
From: Samsun / Turkey | | |
|
| @kamelit0 Quote:
I suppose that you have to DL the SDK and uncompress it somewhere, plus you have to install a cross c compiler which one (location?) |
No you don't. You just compile this package from cahirwpz: https://github.com/cahirwpz/amigaos-cross-toolchain ...it does it all for you.
Quote:
then how do you compile and build from Atom? |
Well... I don't build from Atom. I do it from the command line. But it is possible to build from Atom. You should just install the "build" package, and manually configure it to use the m68k-amigaos-gcc (from cahirwpz's installation).
I didn't try it. But in theory it should work. |
|
Status: Offline |
|
|
alpyre
| |
Re: A capable {and free} AmigaOS IDE for cross developing! Posted on 4-Dec-2018 19:07:58
| | [ #9 ] |
|
|
|
Member |
Joined: 30-Oct-2008 Posts: 23
From: Samsun / Turkey | | |
|
| After a year of development on Atom, I decided to add some new features to my package:
In Packages -> AmigaOS menu you will find three new menu items: - New Project: Brings a requester where you can create a new Amiga project (with a ready to compile makefile and Hello World code) on the fly.
- New Subclass: Brings a requester where you can create a generic new subclass code for any superclass of your choice. - Settings: A shortcut to package settings.
In addition, auto-complete now also suggests specific values and identifiers for each API function, when your cursor is on the argument that requires one (including functions that get varrag tag items).
Note: On Atom v1.32 and higher you have to deactivate Tree Sitter Parsers for highlighting to work properly from: Edit -> Preferences -> Core -> Use Tree Sitter Parsers (it is in File -> Settings -> Core -> Use Tree Sitter Parsers on Windows).
Have fun. Last edited by alpyre on 26-Jan-2020 at 02:32 PM. Last edited by alpyre on 26-Jan-2020 at 01:45 PM. Last edited by alpyre on 26-Jan-2020 at 12:34 PM.
|
|
Status: Offline |
|
|
DiscreetFX
| |
Re: A capable {and free} AmigaOS IDE for cross developing! Posted on 5-Dec-2018 21:48:39
| | [ #10 ] |
|
|
|
Elite Member |
Joined: 12-Feb-2003 Posts: 2543
From: Chicago, IL | | |
|
| @alpyre
Looks like some cool developments. _________________ Sent from my Quantum Computer. |
|
Status: Offline |
|
|
alpyre
| |
Re: A capable {and free} AmigaOS IDE for cross developing! Posted on 26-Jan-2020 10:11:04
| | [ #11 ] |
|
|
|
Member |
Joined: 30-Oct-2008 Posts: 23
From: Samsun / Turkey | | |
|
| New year's resolution number 3: "Return to Amiga programming." ...and after 26 days, lots of reading and coding here we are with an update to our beloved IDE.
Creating new Amiga library projects has never been this easy! Now we have new dialog box in "Packages -> AmigaOS" menu that can create a full fetched, multiplatform (thanks to SDI headers) and ready to compile Amiga library source code on the fly.
All you have to do is to decide a name and enter your library function prototypes in the very simple clib syntax. All other complicated stuff (like assigning 68k cpu registers, creating headers, library vectors, stub functions and various details regarding different Amiga platforms) are handled automatically.
Have fun, and all my best wishes for 2020. Bug reports and feature requests are always welcome in github issues..
Reminder: New users please do not forget to disable Tree Sitter Parsers on your Atom (look 2 posts above). Last edited by alpyre on 26-Jan-2020 at 02:33 PM.
|
|
Status: Offline |
|
|
Hypex
| |
Re: A capable {and free} AmigaOS IDE for cross developing! Posted on 27-Jan-2020 13:05:41
| | [ #12 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11329
From: Greensborough, Australia | | |
|
| @alpyre
Very nice work there. Making it easy to write a library. Your efforts will be quite appreciated I think.
|
|
Status: Offline |
|
|
kamelito
| |
Re: A capable {and free} AmigaOS IDE for cross developing! Posted on 27-Jan-2020 16:56:01
| | [ #13 ] |
|
|
|
Cult Member |
Joined: 26-Jul-2004 Posts: 832
From: Unknown | | |
|
| @alpyre
There is a project like this see EAB forum and you can even debug. |
|
Status: Offline |
|
|
alpyre
| |
Re: A capable {and free} AmigaOS IDE for cross developing! Posted on 31-Jan-2020 7:03:48
| | [ #14 ] |
|
|
|
Member |
Joined: 30-Oct-2008 Posts: 23
From: Samsun / Turkey | | |
|
| @kamelito
If only I could find it. :( |
|
Status: Offline |
|
|
kamelito
| |
Re: A capable {and free} AmigaOS IDE for cross developing! Posted on 31-Jan-2020 17:19:18
| | [ #15 ] |
|
|
|
Cult Member |
Joined: 26-Jul-2004 Posts: 832
From: Unknown | | |
|
| |
Status: Offline |
|
|
wawa
| |
Re: A capable {and free} AmigaOS IDE for cross developing! Posted on 31-Jan-2020 23:21:12
| | [ #16 ] |
|
|
|
Elite Member |
Joined: 21-Jan-2008 Posts: 6259
From: Unknown | | |
|
| once upon a time i was literally crying out for stuff like that. ironically, when it happens im too biased with aros to take advantage of it, as it seems. though, if it works, a really good stuff available here. hope it spreads and serves us all. kudos to people who make this happen. |
|
Status: Offline |
|
|