Choosing C-compiler and assembler?

GFA, ASM, STOS, ...

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

User avatar
Zee
Atari maniac
Atari maniac
Posts: 80
Joined: Wed Jul 09, 2003 9:37 am
Location: Åtvidaberg, Sweden

Choosing C-compiler and assembler?

Postby Zee » Tue Apr 20, 2004 2:21 pm

Hi,

I just want your opinion on what dev tools I shold be using on my ST (1MB) with a HD.

Any good C-compiler?
Any good Assembler?

Are any of them free or do I need to fork out some cash?

// Zee
My other computer is an Amiga, Sinclar or Spectravideo

User avatar
tobe
Atari God
Atari God
Posts: 1459
Joined: Sat Jan 24, 2004 10:06 am
Location: Lyon, France
Contact:

Postby tobe » Tue Apr 20, 2004 2:39 pm

What are you going to code ? Gem apps, games or demos ?
step 1: introduce bug, step 2: fix bug, step 3: goto step 1.

User avatar
GT Turbo
Captain Atari
Captain Atari
Posts: 335
Joined: Tue Feb 17, 2004 9:41 am
Location: Alsace, France
Contact:

Re: Choosing C-compiler and assembler?

Postby GT Turbo » Tue Apr 20, 2004 3:24 pm

Zee wrote:Hi,

I just want your opinion on what dev tools I shold be using on my ST (1MB) with a HD.

Any good C-compiler?
Any good Assembler?

Are any of them free or do I need to fork out some cash?

// Zee


Only one possibility is the good one : assembler !!! 68xxx is good for you ! You can do everything with asm, everything and your PRG will be faster than with other langages !!!


GT Turbo (68xxx lover !) :oops:
Never forget : Power is in your minds !!!

http://Cerebral-Vortex.net

http://Jagware.org

User avatar
rb
Netatari Developer
Netatari Developer
Posts: 397
Joined: Tue Apr 15, 2003 1:06 pm
Location: London UK

Re: Choosing C-compiler and assembler?

Postby rb » Tue Apr 20, 2004 6:52 pm

hi

GT Turbo wrote:
Only one possibility is the good one : assembler !!! 68xxx is good for you ! You can do everything with asm, everything and your PRG will be faster than with other langages !!!


basically i agree .. but things cannot always be generalized, though.

a brilliant c coder is certainly better and more efficient than a bad asm coder.

not all apps benefit from asm code, either... what would be of benefit if your software could manage 10000 keystrokes a minute but you type with a speed of 100 strokes?

other points are maintainability and time and cost efficiency..

and finally... one coder using c or basic is better than no coder at all..

cheers
rb

User avatar
Silver Surfer
Forum Administrator
Forum Administrator
Posts: 1793
Joined: Mon Apr 22, 2002 6:50 pm
Location: Umeå, Sweden
Contact:

Re: Choosing C-compiler and assembler?

Postby Silver Surfer » Tue Apr 20, 2004 7:10 pm

Zee wrote:Hi,

I just want your opinion on what dev tools I shold be using on my ST (1MB) with a HD.

Any good C-compiler?
Any good Assembler?

Are any of them free or do I need to fork out some cash?

// Zee


Devpac is availible on the net and so is PureC... no money involved these days.

Perhaps some of the mods on this forum could make a sticky thread here with dev tools attached?

Cheers

Silver

User avatar
Zee
Atari maniac
Atari maniac
Posts: 80
Joined: Wed Jul 09, 2003 9:37 am
Location: Åtvidaberg, Sweden

Postby Zee » Tue Apr 20, 2004 8:10 pm

tobe wrote:What are you going to code ? Gem apps, games or demos ?

At first mainly Gem apps. Later maybe games or demos, if I get the knowledge needed to do this good...
My other computer is an Amiga, Sinclar or Spectravideo

User avatar
tobe
Atari God
Atari God
Posts: 1459
Joined: Sat Jan 24, 2004 10:06 am
Location: Lyon, France
Contact:

Postby tobe » Tue Apr 20, 2004 8:19 pm

I think :

- Gem works better with C or GFA
- Games works better with GFA :D
- Demos works better with 68K (or GFA :P)

Learn them all :wink: !
step 1: introduce bug, step 2: fix bug, step 3: goto step 1.

User avatar
Zee
Atari maniac
Atari maniac
Posts: 80
Joined: Wed Jul 09, 2003 9:37 am
Location: Åtvidaberg, Sweden

Postby Zee » Wed Apr 21, 2004 6:31 am

tobe wrote:I think :

- Gem works better with C or GFA
- Games works better with GFA :D
- Demos works better with 68K (or GFA :P)

Learn them all :wink: !

Acually I already know C...
And I know assembler on a couple of other platforms (Intel x86 and MOS 65xx (the C64)).
GFA = BASIC? This one I have...

So what I'd like to know what assembler and what C-compiler I should use. Silver Surfer suggested DevPac and PureC are they any good?

//Zee
My other computer is an Amiga, Sinclar or Spectravideo

User avatar
Shazz
Atari Super Hero
Atari Super Hero
Posts: 575
Joined: Wed Aug 27, 2003 9:27 am
Location: Crétin des Alpes dauphinoises

Postby Shazz » Wed Apr 21, 2004 7:16 am

You'll find your dreams there :

http://hem.passagen.se/isvar/jaguar_server/jserver.html

-> devpac 3.10, the last version and the best to code either on 68000 or 68030
-> Lattice C : a good C compiler (better than PureC ? Dunno...)

and other things for ST and Jaguar development (disasm,...)

But the most interesting page is there (from your Swedish collegues ;-) ) :
http://www.dhs.nu/files_code.php


Hav phun
...8bits are enough...

Pink/RG
Moderator
Moderator
Posts: 32
Joined: Tue Dec 17, 2002 5:54 pm
Location: Guildford, UK
Contact:

Postby Pink/RG » Wed Apr 21, 2004 10:14 am

you can find pure c here:

http://www.reservoir-gods.com/source.htm

also included is our complete set of libraries, very useful for getting started with atari development.

i've used lattice c in the past, but pure c is far superior imo.

User avatar
Zee
Atari maniac
Atari maniac
Posts: 80
Joined: Wed Jul 09, 2003 9:37 am
Location: Åtvidaberg, Sweden

Postby Zee » Wed Apr 21, 2004 10:38 am

Thanks Shazz and Pink/RG.

I'll try the compilers out when I get home.

// Zee
My other computer is an Amiga, Sinclar or Spectravideo

User avatar
steph
Atari User
Atari User
Posts: 42
Joined: Wed Mar 17, 2004 12:38 pm

Postby steph » Fri Apr 23, 2004 12:40 pm

I found something really cool here if you want to use a windows PC :

http://sparemint.atariforge.net/sparemint/cross-mint/cygwin/

First you need to install cygwin ( http://www.cygwin.com ) with developpement packages.

after everything is installed, you can use makefiles (using m68k-atari-mint-gcc instead of gcc), code in c++ with inline assembly... build faster than light on your big 3GHz processor and test the result in emulators or on a real st/ste...

The compiler says it is targetting mint, but executables are the same for mint and TOS, so no problem even on not Mint machine.

Of course you need to know a bit about using gcc before.

The cross compilers also exists for Linux on the same site.

Steph
Steph


Social Media

     

Return to “Coding”

Who is online

Users browsing this forum: No registered users and 4 guests