Welcome, Guest. Please login or register.

Author Topic: Need some help getting into coding on amiga...  (Read 1838 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline brianbTopic starter

  • Full Member
  • ***
  • Join Date: Jan 2009
  • Posts: 175
    • Show only replies by brianb
Need some help getting into coding on amiga...
« on: March 09, 2009, 04:31:26 PM »
For some strange reason I'd like to program some new stuff (games) for my Amiga 1200.   I'm running into some issues on picking the best development tools...  

Any suggestions?   I tried Blitz2 and Amiblitz they worked ok, but seemed to crash a lot.   I was initially shooting for doing the development on the actual hardware (or UAE), but is it better to go with something like AmiDevCpp?   Next thing I was going to check out was some of the native C/C++ compilers.

And this may be a long shot, but is there anything with an active user community and code samples?

Thanks

 

Offline Trev

  • Zero
  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show only replies by Trev
Re: Need some help getting into coding on amiga...
« Reply #1 on: March 09, 2009, 05:14:11 PM »
It's not strange at all. /me passes Kool-Aid. I use Microsoft Visual Studio and Windows-hosted vasm and vbcc. The vbcc suite runs very well under emulation, too, but you'll need make and a good editor or some other way of managing projects and editing files.

A lot of folks prefer gcc these days, and AmiDevCpp is a quick way to get a cross-development environment up and running on Windows. That's all I'll say about that. (I do use m68k-amigaos binutils, though.)

Programming on actual hardware is quite tedious these days. (Take heart in the knowledge that Kickstart, Workbench, et al were originally cross-compiled from a Sun workstation.) You'll want to test on actual hardware, of course, unless you're only going to target emulation. WinUAE can do more than most real m68k Amiga's will ever be able to do.

Utilitybase.com is a good place to go for general Amiga programming conversation.
 

Offline mdv2000

  • Full Member
  • ***
  • Join Date: Mar 2009
  • Posts: 169
    • Show only replies by mdv2000
Re: Need some help getting into coding on amiga...
« Reply #2 on: March 27, 2009, 08:08:30 PM »
I too am looking at writing some software for the Amiga.  All I have is a Amiga 2000HD and Amiga 500.  I looked at Amiga Basic, but my c/c++ background makes me dread the thought of writing programs using line numbers!

I would like to develop the apps on an actually Amiga as well.  Can anyone point me to a descent C/C++ compiler for the Amiga that works on a 68000 Amiga 2000?  I am still searching for an accelerator, but they are getting rare and when I find one they shoot way out my budget on e-bay!

I tried AmiDevCPP but I can't get a binary on my Vista box to execute on my Amiga so working on the Amiga native seems my only option!

Thanks,



Mike Valverde
---------------------------------
"Only AMIGA makes it possible!"

A2000HD +A2630+ w/8MB+500MB SCSI HD
 + Buddha IDE + 1.3 and 3.1 ROM (WB 3.1)
 

Offline save2600

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 3261
  • Country: us
    • Show only replies by save2600
Re: Need some help getting into coding on amiga...
« Reply #3 on: March 27, 2009, 08:14:00 PM »
Quote

mdv2000 wrote:
I too am looking at writing some software for the Amiga.  All I have is a Amiga 2000HD and Amiga 500.  I looked at Amiga Basic, but my c/c++ background makes me dread the thought of writing programs using line numbers!


AmigaBasic don't need no stinkin' line numbers!   :-D
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2280
  • Country: us
  • Gender: Male
    • Show only replies by SamuraiCrow
Re: Need some help getting into coding on amiga...
« Reply #4 on: March 27, 2009, 08:24:44 PM »
ACE Basic might be an option if you have AmigaBasic inklings.  You should be able to access most library functions using the fd2bmap utility to convert the FD files to the format that ACE uses.  If you do use ACE Basic, you might want to consider logging in to the ACE Basic Yahoo Group.
 

Offline EDanaII

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 579
    • Show only replies by EDanaII
    • http://www.EdwardGDanaII.info
Re: Need some help getting into coding on amiga...
« Reply #5 on: March 27, 2009, 09:26:09 PM »
I've found http://utilitybase.com/ helpful as a resource, with references and tutorials, including a tutorial on how to compile using Visual Studio. As for code examples, you can find some helpful one's on Aminet, including the Amiga C Encyclopedia.

Hope that helps.

Ed.
Ed.
 

Offline SJBUK

  • Newbie
  • *
  • Join Date: Mar 2009
  • Posts: 24
    • Show only replies by SJBUK
Re: Need some help getting into coding on amiga...
« Reply #6 on: March 27, 2009, 10:02:02 PM »
Years ago a mate and I wrote some sound to light stuff for the Amiga using the SAS/C compiler. Seemed OK at the time, you may still be able to get hold of a copy somewhere.

I know I've got one set of disks, if I can find a spare I'll let you know, if you're interested.

 

Offline DiskDoctor

  • Sr. Member
  • ****
  • Join Date: Jan 2009
  • Posts: 308
    • Show only replies by DiskDoctor
Re: Need some help getting into coding on amiga...
« Reply #7 on: March 27, 2009, 10:34:08 PM »
You guys have any suggestions about same on OS4? I think of Python, most of its libraries seem smooth to be compiled but... what about GUI objects? Anyone knows anything?

Also, what about other languages for OS4? C/C++?

Thanks for the advice.
Was: Mac Mini PPC running MorphOS 2.4
Now: Amiga Forever 2010 with AmiKit and AmigaSYS
Not used: Icaros Desktop 1.2 (reason: no wifi)
Planned soon: an OS4 system
Shortly then: a MOS notebook (wifi is a must-have)
 

Offline mdv2000

  • Full Member
  • ***
  • Join Date: Mar 2009
  • Posts: 169
    • Show only replies by mdv2000
Re: Need some help getting into coding on amiga...
« Reply #8 on: March 27, 2009, 10:41:32 PM »
Quote
I know I've got one set of disks, if I can find a spare I'll let you know, if you're interested.


Yes, I would be.  

Thanks,
Mike Valverde
---------------------------------
"Only AMIGA makes it possible!"

A2000HD +A2630+ w/8MB+500MB SCSI HD
 + Buddha IDE + 1.3 and 3.1 ROM (WB 3.1)
 

Offline pjhutch

  • Sr. Member
  • ****
  • Join Date: Mar 2002
  • Posts: 452
  • Country: england
  • Gender: Male
  • Amiga user and developer
    • Show only replies by pjhutch
    • http://www.pjhutchison.org
Re: Need some help getting into coding on amiga...
« Reply #9 on: March 27, 2009, 10:43:16 PM »
Forget sas/c, its too old now. You can get VBCC which is kept upto date:

http://www.compilers.de/vbcc.html

Also, check out my web site for programming links:

http://www.pcguru.plus.com/programming.html
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: Need some help getting into coding on amiga...
« Reply #10 on: March 27, 2009, 11:07:39 PM »
Forget VBCC, its too young now and has not been developed enough. You can get SASC which is the only Amiga C compiler with a proper debugger.

10 years from now, when VBCC gets a proper debugger, it will become the better choice.  But for 1990-2009 SASC is the only choice.

If you are going to write code using gcc or VBCC or DICE or Manx Aztec C or any other C that has no real debugger, then you might as well just use PortableE instead (or CreativE or ECX or PowerD).  It too does not have a debugger, but at least PortablE et al are proper languages, unlike C.

Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline persia

  • Hero Member
  • *****
  • Join Date: Sep 2006
  • Posts: 3753
    • Show only replies by persia
Re: Need some help getting into coding on amiga...
« Reply #11 on: March 28, 2009, 12:46:47 AM »
Is there an Obj-C compiler for Amigas?

[SIGPIC][/SIGPIC]

What we\'re witnessing is the sad, lonely crowing of that last, doomed cock.
 

Offline brianbTopic starter

  • Full Member
  • ***
  • Join Date: Jan 2009
  • Posts: 175
    • Show only replies by brianb
Re: Need some help getting into coding on amiga...
« Reply #12 on: March 28, 2009, 04:18:01 AM »
I ended up using AmiDevCpp, and that worked pretty well.  I'd compile on my XP/Cygwin box, and tested with my A1200 UAE "box".  Made a couple little things, but then ran out of ideas.   So much has already been done.   I also grew frustrated at the lack of active GUI toolkits that would allow for rapid application design.  Designing the GUI from code, brought back too many painful memories.  Thanks all for the comments I found them very helpful.
 

Offline EDanaII

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 579
    • Show only replies by EDanaII
    • http://www.EdwardGDanaII.info
Re: Need some help getting into coding on amiga...
« Reply #13 on: March 29, 2009, 06:47:22 AM »
Might wanna take a look at MUI. It's better than having to rewrite everything from scratch. I've never tried it, myself, I can't find many examples of how to use it, but I honestly haven't looked that hard. From what I've seen of it in action, it's a pretty slick development library.

Two cents.

Ed.
Ed.
 

Offline Revener

  • Full Member
  • ***
  • Join Date: Feb 2002
  • Posts: 216
    • Show only replies by Revener
    • http://www.banished.nu
Re: Need some help getting into coding on amiga...
« Reply #14 on: March 29, 2009, 08:25:00 AM »
If you have ghosts you have everything

Roky rulz!!!