Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.atari » Re: C compiler info wanted
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: C compiler info wanted [message #10601] Wed, 08 August 2012 00:54
Anonymous
Karma:
Originally posted by: utzoo!watmath!watarts!bernie

<pre>Article-I.D.: watarts.1643
Posted: Tue Jan 25 09:29:34 1983
Received: Fri Jan 28 09:43:40 1983
Reply-To: bernie@watarts (Bernie Roehl)
References: dciem.154

The problem is that the Atari (like the Pet, Apple and far too many others)
uses the 6502, by far the most primitive of the widely-used microprocessors
in terms of architecture and instruction set. It *cannot* support a native
C compiler, and the code density coming out of even the best cross-compilers
is bound to be poor. There are NO 16-bit registers, the stack is 8 bits wide
and is fixed-size (256 bytes) and at a fixed location (page 1 in memory).
The only effective way of implementing a high-level language is to write an
intermediate-code interpreter (the approach taken by the USCD p-system) or
put in a supplementary processor (such as the Z-80 or (better yet, from a
high-level language implementer's point of view) a 6809). To the best of
my knowledge, none of the above are available for anything except the Apple.
There are alternatives, however; Forth is almost certainly available, if only
because it's so easy to port; Atari Basic is supposed to be reasonable for
really simple applications; 6502 Assembler sucks, but the 6502 is a fast
processor and writing in assembler lets you take advantage of that speed.
My suggestion : buy a second system, like the IBM PC, with a decent processor
and tons of good software. If you're in no rush for quality software, anything
based on the 68000 is going to be more powerful that the IBM PC with its 8088.
However, if you're really patient the 16000's will be out soon, and should be
strong contenders.
--Bernie Roehl
...decvax!utzoo!watmath!watarts!bernie
P.S. There is a Tiny-C *interpreter* for the 6502, but it is extremely slow
and provides a truly tiny subset of a subset of the language. Good for
playing with, useless as a serious software development tool.
</pre>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Atari dual disk
Next Topic: ATARI CASSETTE TO DISK TRANSFER
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Mar 28 14:12:08 EDT 2024

Total time taken to generate the page: 0.08320 seconds