TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Scott Williams
from: Michael Stapleton
date: 1993-09-04 15:56:00
subject: Amiga Graphics

Hi Scott,
SW> I have just bought myself a copy of SAS/C and was wondering if I can get
SW> some help

  Well you've come to the right place.  :-) What version?  I have 5.10a.

SW> I have done a bit of programming in borland C++ on IBM's and have just
SW> decided to try doing some stuff on the Amy. I am currently having heaps
SW> of trouble trying to adapt to the amiga way of things.

  Congratulations!  How long have you had your Amy?  I haven't done any C
on IBMs, but heaps on Amy.  It's a huge environment & it takes a while to
learn the hundreds of functions available.  But it is a very rewarding
process.

SW> Can anyone recomend any C Manuals for the Amy that will basically take
SW> me through all the intuition stuff and other related bits I will need to
SW> know??

  What version of Workbench do you have & intend to write for?  There have
been quite a few changes for programmers, especially in the transition
between Workbench 1 & 2.  Many of these improvements have been in the are of
graphic interfacing.  Some of the changes make things simpler for the
programmer, others give more options & control, but are more complicated to
program.
  You will *need* the RKMs - the Rom Kernal reference Manuals from Addison-
Wesley.  I don't think the WB3 edition is available yet, I'm still using
the 2nd & 3rd editions for WB1 & WB2.  Much of this reference material (&
more) is available in archives on BBSs or on disk from C=.
  There is an Amiga C tutorial on the Fish disks.  I have an earlier
version of it that was quite good, although I have reservations about his
coding style (he uses lots of nested ifs).  I think it now expands to 12
floppies worth of text & examples.
  There are some C books by Abacus that a lot of people use, I personally
find that the German authors can be a bit hard to understand at times.  I
also use the "Amiga Programmers handbook" by Eugene P.  Mortimore,
published by Sybex.  It is a bit terse, but it is generally clear in its
explanations.  Beware, most of these books are pre-WB2.  It is a sad fact
of Amiga programming that there is a major lack of programming tutorial
books.  Economies of scale, once again.

SW> I am particulary interested in doing graphics stuff so help on that
SW> would be great too.

  As far as I'm concerned, the best book is the RKM Libraries volume.  It
fully describes the programmer's interface, but it is a bit heavy-going the
first time through.  Read PD source code, there are some excellent examples
out there.  I have several floppies of my own Amiga C source code that I
have produced over the last 3 years or so of learning Amiga.  So don't
hesitate to ask if you have any questions, I can probably find a relevant
piece of usable code.
  What sort of 'graphics stuff' are you interested in?  Those spectacular
'demo' programs drive the hardware directly.  This is highly non-portable &
is strongly discouraged by C=.  It is also rather tricky!  It is best to
stick to library calls, although sometimes it is necessary to take over the
display from Intuition & call Graphics library primitives yourself. But
this is all rather advanced. Learn first how to open a screen & put a
window with your own custom gadgets first! :)

I hope this helps,

Michael Stapleton of Graphic Bits.

___I'm only here for the taglines.

--- Blue Wave/RA v0.7 Q-Blue

* Origin: The Three Amigas - better than two (3:713/615.0)
SEEN-BY: 54/54 99 711/401 430 807 808 809 932 934 712/627 713/111 317 601 611
SEEN-BY: 713/615 618 700 729 805 888 906 714/906
@PATH: 713/615 888 54/99 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.