Welcome, Guest. Please login or register.

Author Topic: What's program language is used commonly?  (Read 3360 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline amiga_3kTopic starter

  • Sr. Member
  • ****
  • Join Date: Apr 2006
  • Posts: 467
    • Show only replies by amiga_3k
    • http://www.elf8.nl
What's program language is used commonly?
« on: October 05, 2006, 10:04:09 PM »
It's getting colder... Day-light time is becomming shorter and shorter... That means: Programming season again :-) With the Amiga returning to my living-room I'm thinking about taking up Amiga programming again.

Now I can take the easy-route and stick to what I know: AmigaBASIC / ACE. But that route is rather... well... erm.. not too future proof.

So it seems wiser to me to use a language that's now common to Amiga developers. So the question of today is: What's the most common used language to program in on Amiga (classic, kick 2 / 3, 68k)?

Okay... I already can think of 1 return question: What is it what you want to code? The answer to that would be at first simple 2D games.





Get a SAM, while you can! The new AMIGA is here!
 

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: What's program language is used commonly?
« Reply #1 on: October 05, 2006, 11:15:26 PM »
 

Offline neuroflip

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 200
    • Show only replies by neuroflip
    • http://a1200.wordpress.com
Re: What's program language is used commonly?
« Reply #2 on: October 05, 2006, 11:22:38 PM »
i'm not an expert amiga developer but i think that a classic always be C coding following the amiga rom kernels reference manual...

probably blitz basic it's an easy way too...
[http://a1200.wordpress.com (spanish)
a1200 + Bliz1260/50Mhz/64Mb + HD10Gb + a520 svideo mod + Wireless PCMCIA Elsa MC-11 + PCMCIA CF + Adaptator + CF 256Mb + a500 + 512Kb]
 

Offline thedaemon

  • Jr. Member
  • **
  • Join Date: Aug 2006
  • Posts: 55
    • Show only replies by thedaemon
    • http://www.brandonayers.com
Re: What's program language is used commonly?
« Reply #3 on: October 06, 2006, 12:29:00 AM »
I would say C and assembly. So shoot for C.
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2281
  • Country: us
  • Gender: Male
    • Show only replies by SamuraiCrow
Re: What's program language is used commonly?
« Reply #4 on: October 06, 2006, 01:22:44 AM »
C is definitely the most common.  If its syntax scares you you could always try AmosPro and hope for the Mattathias BASIC compiler to be completed so you can convert most of your AmosPro source code into C.

(AmosPro has a really crappy code optimizer so you'll want to use Mattathias for all of your compiling when it's finished anyway even if you AREN'T using a next-generation Amiga platform.)

Note:  In order to use C on the Amiga you'll need to get the header files from here.
 

Offline NuPraptor

  • Newbie
  • *
  • Join Date: Oct 2002
  • Posts: 13
    • Show only replies by NuPraptor
Re: What's program language is used commonly?
« Reply #5 on: October 06, 2006, 01:36:49 AM »
Hi Amiga_3K,

well, I was coding on the Amiga a long time ago... it was an Amiga 500 and I wrote the last piece of code in 1993 using assembler (SECAM). I know that there are much advantages in coding in C (actually I do on a AMD K7 x86-compatible PC, shame on me!) but if you try to get the best out of your machine, the first choice is assembler. It's not as hard to learn as many people (Gurus) try to tell you, there are just some more things to deal with, in order to get the same results.

You can start with C, it's the language todays games are beeing developed with and then try to insert some assembler code for time critical operations, sound routines or scrolling for example. I know it's a little bit hard to learn a low level language if the only thing you know is Basic, but its really worth it!

Greeeez
    NuPraptor
 

Offline Plaz

Re: What's program language is used commonly?
« Reply #6 on: October 06, 2006, 02:12:47 AM »
I also vote C as the place to start. I also recomend this old thread for more tips and insight, since I'm to lazy to repeat it here. :-) Search for other threads on the same subject. Lots of other good info on amiga.org

Amiga.org Thread - Newbie Coding

If you haven't already, also check out utilitybase.com and intuitionbase.com


Plaz
 

Offline amiga_3kTopic starter

  • Sr. Member
  • ****
  • Join Date: Apr 2006
  • Posts: 467
    • Show only replies by amiga_3k
    • http://www.elf8.nl
Re: What's program language is used commonly?
« Reply #7 on: October 06, 2006, 05:39:48 AM »
Okay, C is the route to go then. That should be okay as I've done some C-programming on Windows (the boss made me do it). I'll have a look at that other thread as well and dig into this the on comming weeks.

Thanks for your info.
Get a SAM, while you can! The new AMIGA is here!
 

Offline Heinz

  • Full Member
  • ***
  • Join Date: Nov 2005
  • Posts: 154
    • Show only replies by Heinz
    • http://amidevcpp.amiga-world.de
Re: What's program language is used commonly?
« Reply #8 on: October 06, 2006, 08:58:24 AM »
If you have a windows machine, then take a look at

http://amidevcpp.amiga-world.de/

This a Cross Development IDE for all "amiga like" systems.
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: What's program language is used commonly?
« Reply #9 on: October 06, 2006, 09:29:11 AM »
Quote
Piru wrote:
C

Shortest reply in the history of a.org? :-)

@amiga_3k
Since you are already versed in AmigaBasic you might want to give Blitz a try. Though I have never used AmigaBasic and only have limited exposure to Blitz, they are both flavours of Basic so I would assume they are similar enough to make the transition fairly easy.

The other good thing about Blitz is that you can put Assembler and AmigaDOS C functions in-line with your Basic code. So you will probably find you will start being exposed to those languages as your Blitz applications get more and more complex. Eventually you may find you have enough experience with these other languages that you can start coding purely in C or Assembler.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Macabre

  • Newbie
  • *
  • Join Date: Mar 2006
  • Posts: 30
    • Show only replies by Macabre
Re: What's program language is used commonly?
« Reply #10 on: October 06, 2006, 10:09:55 PM »
Personally i use blits or amos for games and C/C++/ASM for other programs.

My personal best C/C++ compiler is Storm C, atleast on my a4000 and 1200 with a 040@40Mhz eccelerator
I use lattice on my a600 and 500.

For ASM i use ASM-ONE since it can use my Cybervision 64/3d for the source editor and debugging.  
A4000T, 060@50mhz,36Gb scsi, 128 mb fast cvs64-3d, inidivision, x-surf, deneb usb. Gotek
A1200, 030@40Mhz, 16gb CF, 128 mb fast, ethernet, indivision, RapidRoad
A500, 2,5mb fast, 512kb chip, a590 + 8gb SD (scsi2micro-sd) and internal gotek
 

Offline Macabre

  • Newbie
  • *
  • Join Date: Mar 2006
  • Posts: 30
    • Show only replies by Macabre
Re: What's program language is used commonly?
« Reply #11 on: October 08, 2006, 12:53:54 AM »
Just tried AmiDevCPP, and ehh, just GREAT.

Fast compilation , and already creates some startup code (like creating a standard window).

It also has syntax highlighting and syntax popups when youre typing...

And since my Amiga4000 and 1200 are in my domain  (using Miami and Samba) i can set the output directly on my amiga for a fast test.

Should also work with Amiga Forever zince you can alter your windowz drives directly. Should be great for testing...
A4000T, 060@50mhz,36Gb scsi, 128 mb fast cvs64-3d, inidivision, x-surf, deneb usb. Gotek
A1200, 030@40Mhz, 16gb CF, 128 mb fast, ethernet, indivision, RapidRoad
A500, 2,5mb fast, 512kb chip, a590 + 8gb SD (scsi2micro-sd) and internal gotek