#intuition lib??
14 messages in this thread
Ok, I'm pretty new to C programming on the amiga, but I have quite a bit of C
experience on the IBM. I downloaded a copy of the DICE C compilier to see what
I could do with my Amiga 3000 (before I plunked down the hard earned cash for
SAS/C, which I'm saving up for).
like i said, i know how to code in plain old ANSI C, so I picked up the Abacus
book "Amiga C for Advanced Programmers" since it looked like a good
introduction to Amiga programming (the others on sound & graphics and Amiga
Intern didn't seem to have the basics). Anyway, as I'm thumbing through the
book, I found that most of the code is for the intuition library. Being on the
cautious side (mostly I don't want to do an hours work and then fight all night
trying to figure out why it can't find these functions), I checked my libs:
directory for the intuition library. It wasn't there. Hmmm.
Now you find out why I posted this on System 2.x programming… 🙂
Is the intuition library an AmigaDOS 1.3 only library? did AmigaDOS v2.0 get
rid of it? if so what takes over these functions now? are the functions the
same (did they change the names)?
I have AmigaDOS v2.1 running on an Amiga 3000.
bob
It's in ROM.
wow! that was quick. 🙂 i just came back to look for a file and I have an
answer waiting for me.
in rom? ok, a logical place to put it. 🙂 now excuse me while my face turns
red. 🙂
another dumb question: do i need to still worry about including the various
intuition.h header files?
thanks.
bob
Yes, so you can call those routines 🙂
Bob Comer — Cruising the nets on AutoPilot from Cheyenne, Wyoming
i forgot to add another important question, where can i find the intuition.h
file? i couldn't find it in the dice.lzh file that i downloaded from here. is
it in a developers kit that i'd have to purchase from Commodore? or would it
come with a commercial compiler like SAS/C?
switching from ibm c to amiga c feels like learning to walk again. 🙂
bob
Because of the C= distribution rules, it is not generally available to the
public. Matt shipps them out to anyone who registers DICE (along with a
much more complete compiler environment).
If you register DICE, you'll get all the AMiga includes (intuition and
others.)
SAS/C will definitely have them!
Don't know about switch from PC C to Amiga C, 'cause, when I program a PC,
I use Pascal or assembler 🙂
You'll find Amiga C pretty easy to deal with though, once you get used to
it (kinda reminds me of XWindows in a way, and that's where I actually
started using C.)
Bob Comer — Cruising the nets on AutoPilot from Cheyenne, Wyoming
yes, I'd expect the supposedly best C compiler to have all the includes. 🙂 esp
for $270! 🙂 it's still beats borland c++ though.
from what i've read (i can't do much w/o the includes), it certainly seems
easier. i hated punching interrupts all the time. hex numbers tend to look the
same after a while. 🙂 oh well, i'm waiting from my system util pack from
Commodore. shame that they won't allow some of the includes to be distributed.
that and their policy of requring you to mail order it (no toll free order
number) seems to discourage casual programming.
bob
You'll like the interrupts a LOT better on the Amiga! And "Wait" is the
best thing about the Amiga OS when compared to PC's and MAC's.
Can't argue with you on C='s policy on the includes, I feel the same way
(I don't believe I can get the Amigados 3.0 include's (yet), and I have an
Amiga with 3.0…)
Bob Comer — Cruising the nets on AutoPilot from Cheyenne, Wyoming
If you've got access to back issues of the Amiga World Tech Journal, Vol.
I, Number 3 (dated August/September 1991) included the 2.0 include files.
Almost all the #include files for Intuition are included when you do
#include <intuition/intuition.h>
If fact, quite a few of the includes in the graphics subdirectory are
included then as well.
Mike McCormick
I couldn't find any intution.h file in the dice.lzh file I downloaded from
here. When I put the "#include <intuition/intuition.h>" in my source, dice will
complain saying that it can not open "intuition/ intuition.h". where would that
file be found?
thanks.
bob
In commercial version of dice, SAS and on developers disk from CATS.
thanks. i'll order SAS/C since I was planning on doing that anyway.
bob