CompuServe Thread

#intuition lib??

14 messages in this thread
#34950From: Bob Dunlap IIMay 25, 1993 5:54 PM
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
#34951From: Dale LarsonMay 25, 1993 6:22 PM
It's in ROM.
#34952From: Bob Dunlap IIMay 25, 1993 6:28 PM
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
#34953From: Robert ComerMay 25, 1993 8:02 PM
Yes, so you can call those routines 🙂 Bob Comer — Cruising the nets on AutoPilot from Cheyenne, Wyoming
#34956From: Bob Dunlap IIMay 26, 1993 12:08 AM
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
#34968From: John Toebes/SYSOPMay 26, 1993 5:40 PM
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).
#34972From: Robert ComerMay 26, 1993 11:38 PM
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
#34979From: Bob Dunlap IIMay 27, 1993 1:28 PM
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
#34982From: Robert ComerMay 27, 1993 8:16 PM
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
#34989From: Steve EckhartMay 28, 1993 2:01 PM
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.
#34954From: Michael A McCormickMay 25, 1993 8:24 PM
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
#34955From: Bob Dunlap IIMay 25, 1993 10:33 PM
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
#34958From: Dale LarsonMay 26, 1993 4:40 AM
In commercial version of dice, SAS and on developers disk from CATS.
#34960From: Bob Dunlap IIMay 26, 1993 10:41 AM
thanks. i'll order SAS/C since I was planning on doing that anyway. bob