Welcome, Guest. Please login or register.

Author Topic: Experienced Developer, but new to Amiga  (Read 8936 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline plbyrdTopic starter

  • Newbie
  • *
  • Join Date: Nov 2006
  • Posts: 7
    • Show only replies by plbyrd
    • http://blog.paytonbyrd.com
Experienced Developer, but new to Amiga
« on: March 30, 2011, 06:09:39 PM »
Hello!

I'm a very experienced developer, but I'm new to Amiga development.  I'm quite comfortable in C/C++ and am really looking for advice on the best way to approach several things.

First, I'd like to know what cross-development tools you guys recommend.  For doing cross-development on the CBM 8-bit machines I use Visual Studio 2010 and the cc65 compiler chain.  From what I've gathered on the net over several hours of browsing, I should be able to come up with something similar with Visual Studio 2010 and gcc.  I do not currently have gcc installed on my cross-development system, so I would need to install that.  That brings up my first question:  Once I install gcc to my Win7 system, is it ready to compile OS 3.x 68020 binaries out of the box?

I have already found, downloaded and played with AmiDevCpp.  It seems like a capable IDE, but I couldn't figure out how to execute its compiler from Cygwin (probably due to lack of good documentation for the software).  I was wondering if anyone else bothers with using it or if I should just got the VS/gcc route?

My next questions are about programming GUIs.  Are there any tools available (for any platform) that can allow visual development of Intuition or MUI forms that spit out the appropriate C or C++ code?  If not, where's some really good documentation on the APIs for Intuition and MUI?  

Thanks for any help as I'm really looking forward to getting my hands dirty pretty quickly.
 

Offline utri007

Re: Experienced Developer, but new to Amiga
« Reply #1 on: March 30, 2011, 06:17:27 PM »
Could you consider this project?

http://www.amiga.org/forums/showthread.php?t=56813

There is allso lots of talk about development enviroments on the amiga. This is mainly to programming Reaction GUI, but allso MUI.
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Experienced Developer, but new to Amiga
« Reply #2 on: March 30, 2011, 06:17:39 PM »
Maybe AROS is the way to go, develop on that platform, your work should be portable back to a 68k Amiga :)

Offline plbyrdTopic starter

  • Newbie
  • *
  • Join Date: Nov 2006
  • Posts: 7
    • Show only replies by plbyrd
    • http://blog.paytonbyrd.com
Re: Experienced Developer, but new to Amiga
« Reply #3 on: March 30, 2011, 06:36:30 PM »
Quote from: bloodline;626038
Maybe AROS is the way to go, develop on that platform, your work should be portable back to a 68k Amiga :)


Thanks for the reply.  I'm really looking to get this working under Windows as I have a wonderful and comfortable development environment set up on my Win7 workstation through my CBM 8-bit work.  What would be great for me is getting VS 2010 working with the appropriate version of gcc and so any help in doing so would be greatly, greatly appreciated.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Experienced Developer, but new to Amiga
« Reply #4 on: March 30, 2011, 07:04:16 PM »
Quote from: plbyrd;626041
I'm really looking to get this working under Windows as I have a wonderful and comfortable development environment set up on my Win7 workstation through my CBM 8-bit work.  What would be great for me is getting VS 2010 working with the appropriate version of gcc and so any help in doing so would be greatly, greatly appreciated.


http://cross.zerohero.se/os3.html has a version for cygwin. As for setting it up with visual studio I have no idea.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Experienced Developer, but new to Amiga
« Reply #5 on: March 30, 2011, 07:13:05 PM »
Quote from: plbyrd;626036
Are there any tools available (for any platform) that can allow visual development of Intuition or MUI forms that spit out the appropriate C or C++ code?

Nothing really useful. The most common way is to iron out the GUIs by hand. It isn't that hard with MUI really.

Quote
If not, where's some really good documentation on the APIs for Intuition and MUI?

Intuition is documented in RKRM manuals, available from Amiga Developer CD 2.1 (available for example here).

MUI has pretty extensive documentation at http://www.sasg.com/mui/autodocs/

Be sure to check the various MUI examples as well.

http://library.morphzone.org/Magic_User_Interface_Programming has some nice introduction to MUI programming as well, although some of it falls into MUI4 category (which isn't available for m68k). Good read, regardless.
 

Offline amigadave

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Jul 2004
  • Posts: 3836
    • Show only replies by amigadave
    • http://www.EfficientByDesign.org
Re: Experienced Developer, but new to Amiga
« Reply #6 on: March 30, 2011, 07:27:21 PM »
Quote from: plbyrd;626036
Hello!

I'm a very experienced developer, but I'm new to Amiga development. .....

Thanks for any help as I'm really looking forward to getting my hands dirty pretty quickly.


Welcome to Amiga.org!  It is always great to hear of any new developers coming to the AmigaOS/MorphOS/AROS community to do work.  I hope you find what you are looking for, or can work with what is available and start developing for AmigaOS/MorphOS/AROS.

You might be interested in checking out Hollywood & Hollywood Designer, which is a cross platform development program that can compile for many systems.

PortablE also compiles for multiple systems, based on AmigaE.
How are you helping the Amiga community? :)
 

Offline HenryCase

  • Hero Member
  • *****
  • Join Date: Oct 2007
  • Posts: 800
    • Show only replies by HenryCase
Re: Experienced Developer, but new to Amiga
« Reply #7 on: March 30, 2011, 07:36:17 PM »
Quote from: plbyrd;626041
Thanks for the reply.  I'm really looking to get this working under Windows as I have a wonderful and comfortable development environment set up on my Win7 workstation through my CBM 8-bit work.  What would be great for me is getting VS 2010 working with the appropriate version of gcc and so any help in doing so would be greatly, greatly appreciated.

Hi plbyrd,

Getting AROS running under Windows is easy enough, you have two main options. Either you can run it in a VM (such as VirtualBox) or you can try out the Windows-hosted build. The Windows-hosted build is built every day, so you can always access the latest version of AROS (if you need to). You can get it from here (download the mingw32-i386-system option):
http://aros.sourceforge.net/download.php

This guide to Amiga programming is work-in-progress, but worth a look:
http://code.google.com/p/guidetoamigacompatibleprogramming/source/browse/#svn%2Ftrunk%2Fenglish

As for tools for assisting in creation of GUIs, some exist, some are in development, though to be honest, like Piru said, they're not used that much. MUIBuilder was recently updated on AROS, worth a try:
http://aros-exec.org/modules/news/article.php?storyid=437
"OS5 is so fast that only Chuck Norris can use it." AeroMan
 

Offline Templario

Re: Experienced Developer, but new to Amiga
« Reply #8 on: March 30, 2011, 10:24:06 PM »
Hollywood without any doubt, it is language of high level as C, easy, fast and you can compilate your projects to several systems of Amiga, besides of Windows and MAC OS.
Amiga 500 with ROMs 1.3-2.05 and M-Tec AT 500 with hard disk and 4MB Ram.
WinUAE + Original OS 3.5&3.9
Sam440ep 800 MHZ + OS 4.1 F.E.
Sam460ex 1 GHz + OS 4.1 + Update 6. K.O.
MacMini 1.5 GHz + MorphOS 3.9
PowerBook G4 1.65 + MorphOS 3.9
 

Offline NovaCoder

Re: Experienced Developer, but new to Amiga
« Reply #9 on: March 30, 2011, 11:22:28 PM »
Quote from: plbyrd;626036
Hello!


I have already found, downloaded and played with AmiDevCpp.  It seems like a capable IDE, but I couldn't figure out how to execute its compiler from Cygwin (probably due to lack of good documentation for the software).  I was wondering if anyone else bothers with using it or if I should just got the VS/gcc route?

Thanks for any help as I'm really looking forward to getting my hands dirty pretty quickly.


Hiya,

Yep I used AmiDevCpp, install it to your WinBox, write some code, hit the compile button.....done ;)

I've also had a play with CubicIDE (68k native GUI/compiler) but found that it was quicker to develop using AmiDevCpp.

The real pain-in-the-ass thing about developing 68k C/C++ code (GCC) is the lack of debugging tools.   I've had bugs that have taken me weeks to fix using loads of silly debug messages that would have taken me about 10 mins to fix with a modern step-through IDE intergrated debugger.
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline CSixx

  • Sr. Member
  • ****
  • Join Date: Jan 2006
  • Posts: 315
    • Show only replies by CSixx
Re: Experienced Developer, but new to Amiga
« Reply #10 on: March 30, 2011, 11:33:03 PM »
Quote from: Templario;626088
Hollywood without any doubt, it is language of high level as C, easy, fast and you can compilate your projects to several systems of Amiga, besides of Windows and MAC OS.


Hollywood is good, but nothing like C in speed, syntax or efficiency. And while it may run fast on ghz level machines, it's painfully slow on classics so it depends on what platform he is targetting.

He did mention MUI and Intuition, neither of which can be used in Hollywood (correct me if I'm wrong). As far as I know Scui is the only usable GUI toolkit.
 

Offline commodorejohn

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Re: Experienced Developer, but new to Amiga
« Reply #11 on: March 31, 2011, 12:06:07 AM »
Quote from: CSixx;626111
Hollywood is good, but nothing like C in speed, syntax or efficiency. And while it may run fast on ghz level machines, it's painfully slow on classics so it depends on what platform he is targetting.
He was asking about 3.x and 020, so I'm guessing A1200. In which case, for the love of God, don't use "multimedia" languages! Actually, I'd just go with 68k assembler, as insanely high-level as it is, but C would definitely be a better choice than library-oriented scripting languages.
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline HenryCase

  • Hero Member
  • *****
  • Join Date: Oct 2007
  • Posts: 800
    • Show only replies by HenryCase
Re: Experienced Developer, but new to Amiga
« Reply #12 on: March 31, 2011, 12:30:48 AM »
Quote from: NovaCoder;626106

The real pain-in-the-ass thing about developing 68k C/C++ code (GCC) is the lack of debugging tools.   I've had bugs that have taken me weeks to fix using loads of silly debug messages that would have taken me about 10 mins to fix with a modern step-through IDE intergrated debugger.


Here's something you might find interesting NovaCoder, wonder if you could do something similar with your debugger of choice:
http://agreppin.livejournal.com/2946.html
"OS5 is so fast that only Chuck Norris can use it." AeroMan
 

Offline amigadave

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Jul 2004
  • Posts: 3836
    • Show only replies by amigadave
    • http://www.EfficientByDesign.org
Re: Experienced Developer, but new to Amiga
« Reply #13 on: March 31, 2011, 03:58:51 AM »
Quote from: commodorejohn;626120
He was asking about 3.x and 020, so I'm guessing A1200. In which case, for the love of God, don't use "multimedia" languages! Actually, I'd just go with 68k assembler, as insanely high-level as it is, but C would definitely be a better choice than library-oriented scripting languages.

Read his posts again, he wants to work from his Windows machine.
How are you helping the Amiga community? :)
 

Offline Trev

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show only replies by Trev
Re: Experienced Developer, but new to Amiga
« Reply #14 on: March 31, 2011, 04:10:39 AM »
@plbyrd

I use a combination of Visual Studio makefile projects and my own builds of GCC. If you don't want to build GCC yourself, take Piru's advice and download zerohero's packages for Cygwin. Someone has gone through the effort of providing tighter integration between GCC, the Amiga includes, and Visual Studio, but I don't recall who.