CompuServe Archive

This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.

Search Results (97 messages)

#29448 Aztec C vrs 1.3! Message #29462
From: Steve Pietrowicz AmigaTech · C Programming January 8, 1989 3:16 PM
Actually, I've never used Lint in the Amiga programming environment. Whenever I have used it, it was in programming under UNIX. As I said, for me and the way I code and test my programs, it's of very little use to me. I've programmed in C for quite a while…
#29446 Aztec C vrs 1.3! Message #29457
From: John Draper AmigaTech · C Programming January 8, 1989 2:28 PM
Dave, Sorry about the name. Either there is another 'Hankins' with first name Dan, or I have somehow had it wrong all along. Yes, I've played with Gimpel's lint, and yes, I know you can selectively turn off error messages. The problem I see with that approach is that many…
#29411 Amiga menus and such Message #29450
From: John Draper AmigaTech · C Programming January 8, 1989 1:51 PM
Mike, Mine is QLens v2.01 (use 'strings' or TYPE OPT H to see version). -larry
#29437 #Aztec C vrs 1.3! Message #29448
From: David Hamkins AmigaTech · C Programming January 8, 1989 1:43 PM
Steve, I must take exception to your comment about Lint. If you program with Lattice C, I'd agree with you. However, Manx C does not yet support prototypes, and will let you get away with murder in your code – Manx assumes you know what you're doing, oftentimes to your…
#29391 #Aztec C vrs 1.3! Message #29446
From: David Hamkins AmigaTech · C Programming January 8, 1989 1:36 PM
Larry, the "D" in "D Hankins" stands for "Dave", not "Dan" . Have you had an opportunity to play with Gimpel Lint for the Amiga? You can selectively turn off error/warning messages that you don't care to see. As I see it, the biggest advantages that assembly has over C,…
#29391 #Aztec C vrs 1.3! Message #29437
From: Steve Pietrowicz AmigaTech · C Programming January 8, 1989 11:35 AM
About the only time I ever use lint is to clean up code after a project has completed. I agree with you….using it during the developement phase is almost totally useless. Steve
#29343 Amiga menus and such Message #29428
From: Peter Smithem AmigaTech · C Programming January 8, 1989 10:37 AM
Keith, When I start QLens there is about 300K of chip and 450K fast ram free, so I don't think that's the problem. Peter_S
From: Mike Koch AmigaTech · C Programming January 8, 1989 1:19 AM
Keith, Unless Qlens needs an ungodly amount of chip memory, that isn't the answer either. My system has three megs, and there's usually around 400K of chip ram available after booting. I tried running Qlens under this configuration, and got the same results as Peter. I assume that this is…
#29169 #Aztec C vrs 1.3! Message #29391
From: John Draper AmigaTech · C Programming January 8, 1989 12:11 AM
Dan, Well, _sometimes_ it does too little about telling you the problems in your code, while at other times it gripes and moans about the most trivial things. Lint is an exception. It gripes and moans about everything, effectively burying the important stuff in the quagmire of pickiness. -larry
From: KEITH YOUNG AmigaTech · C Programming January 7, 1989 6:01 PM
Peter, How much memory does your machine have? Qlens needs to allocate a few (several?) bitplanes worth of memory to the sizing/manipulation of the image and may be exiting when it determines that there's just not enough mem available. Just a guess, – Keith
From: Peter Smithem AmigaTech · C Programming January 7, 1989 8:20 AM
Larry, I already tried flipping through the screens looking for QLens. I also looked for the process, which was not there. It appears to be having some sort of probk on startup and it just exits. Peter_S
#28750 RawKeys & Qualifiers Message #29264
From: A. Caleb Gattegno AmigaTech · C Programming January 7, 1989 12:43 AM
Actually, CAPSLock returns a key up when it is un-pressed (the light goes off). ACG
#28712 #Aztec C vrs 1.3! Message #29169
From: David Hamkins AmigaTech · C Programming January 6, 1989 6:08 PM
Larry, I, for one, really like C. After reading The C Programming Language I could not help but admire the elegance, simplicity, and power of C. I'll be the first to admit that the K&R version of C does too little in the way of alerting the programmer to potential…
#28991 B-spline anyone? Message #29138
From: Betty Clay/SYSOP AmigaTech · C Programming January 6, 1989 9:12 AM
Michael, I just had a jog to memory – it seems to me, and I could be wrong – that a program called something like APLOT had B-splines. Should have been uploaded about Sept. or Oct., and I think it might be in Lib13. If I were online, I'd check…
#29084 Amiga menus and such Message #29092
From: John Draper AmigaTech · C Programming January 6, 1989 12:47 AM
Hmm… very odd indeed! Mine worksd flawlessly. Perhaps Mike Berro would be able to make a suggestion (he's the author). -larry
From: Mike Koch AmigaTech · C Programming January 6, 1989 12:25 AM
Larry, No, Peter is right. I downloaded it the other day, and it does the same thing for me. Starts up and shuts back down,ll within a second or two. And I tri looking for it behind all screens (which was easy, 'cause WB was the only one I had…
#28837 Aztec C vrs 1.3! Message #29066
From: New member AmigaTech · C Programming January 5, 1989 10:41 PM
No I wasnt comparing it to a HLL. I just found the transition from a hardware manual on the 8086 to MASM a big bore. Take a quick routine written with the Mini-Assembler on the ii+ and compare it to the same thing written on a machine runing Masm. I…
#28991 B-spline anyone? Message #29029
From: KEITH YOUNG AmigaTech · C Programming January 5, 1989 8:05 PM
Michael, Did you try looking in the C library here in 'Tech ? (LIB 9) There used to be I think 2 different programs but I don't recall the names… – Keith
#28837 Aztec C vrs 1.3! Message #28993
From: Michael St. Laurent AmigaTech · C Programming January 5, 1989 2:20 PM
I think he means having to code the while look instead of having the compiler code it for you. -msl-
#B-spline anyone? Message #28991
From: Michael St. Laurent AmigaTech · C Programming January 5, 1989 1:58 PM
I can't seem to find the b-spline files in AmigaArts. I've tried looking under 'b-spline', 'spline' and 'curve' to no avail. I know there's a really obvious keyword that I'm missing and I'm going to feel really stupid when it's pointed out to me! -msl-
#28825 Amiga menus and such Message #28910
From: John Draper AmigaTech · C Programming January 5, 1989 12:36 AM
Peter, I just had a thought. QLens can be used on ay screen, and I wonder if it's going to another screen from the one you are calling it from? Try flipping screens if you have more than one to see if it's there. -larry
From: John Draper AmigaTech · C Programming January 5, 1989 12:10 AM
Art, Ok… didn't knwo what level you wanted. I'll keep my eyes open for an example program. I know I have one in assembler somewhere, but not sure about having it in other languages. -larry
#28802 Aztec C vrs 1.3! Message #28837
From: Richard Rae/SYSOP AmigaTech · C Programming January 4, 1989 8:30 PM
"… all of the extra gobbildy goop you have to type in to make it assemble." Mmm? What extra gobbildy goop? There really isn't much more than any similarly structured program in a HLL. Given that you are comparing a language which requires data declaration (in other words, we exclude…
#28710 Longer "BEEP" needed Message #28833
From: Richard Rae/SYSOP AmigaTech · C Programming January 4, 1989 8:28 PM
I know. I suggested it because of the comment made about not even being able to hear the other sounds in the DisplayBeep() package. I thought this might be a way to at least make that program useful. One could conceivably hack a general purpose IFF player in the same…
#28233- #Amiga menus and such Message #28825
From: Peter Smithem AmigaTech · C Programming January 4, 1989 8:00 PM
Hmm, I can't seem to get it to work. I'll have to keep fiddling with it a while, if it works I'll get it running eventually. Peter_S
#28662 Longer "BEEP" needed Message #28824
From: Mike Koch AmigaTech · C Programming January 4, 1989 7:58 PM
Rick, That sounds as if it would work, but Vic's class isn't that far along yet, so I don't know how to do that – YET! Besides, as Larry already stated, Keith uses his own Beep() routine, so it wouldn't work on Access! I have another term (Amic .58E, I…
#28670 #Aztec C vrs 1.3! Message #28802
From: New member AmigaTech · C Programming January 4, 1989 3:54 PM
You know the thing I hate most about assembly is all of the extra gobbildy goop you have to type in to make it assemble. I guess I am a unstructured programer. I will never make a good german!
#28391 Longer "BEEP" needed Message #28786
From: Gabe J. Feder AmigaTech · C Programming January 4, 1989 1:16 PM
Keith, WARNING, WARNING (visions of robby the robot…) You are about to be thrashed to within a byte of your life (per Don Curtis) for not using DisplayBeep() Warning…… (gd&r) –Gabe
From: Art Steinmetz AmigaTech · C Programming January 4, 1989 9:20 AM
Thank you very much, Larry, but that much I can do. I was speaking about code to do what happens between the time you select the DPaint rectangle tool and the time DPaint finally draws the rectangle. You know, reading the mouse up/down buttons and dynamically XORing a rectangle whose…
#28536 RawKeys & Qualifiers Message #28750
From: John Draper AmigaTech · C Programming January 4, 1989 12:52 AM
Caleb, That's true, with the sole exception of the CAPS lock key. -larry
#28392 Aztec C vrs 1.3! Message #28712
From: John Draper AmigaTech · C Programming January 3, 1989 11:44 PM
Rick, Well, you are close. I come to C from both directions. Your comments about it being 'in between' are exactly right, and for that reason I am not fond of it. -larry
From: John Draper AmigaTech · C Programming January 3, 1989 11:38 PM
Rick, That might work, but only for programs that use DisplayBeep(0 (which is a system call, not a user written program). Access doesn't. -larry
#28392 Aztec C vrs 1.3! Message #28682
From: Vic Wagner AmigaTech · C Programming January 3, 1989 10:35 PM
Richard your summary of attitudes towards C based on where the people come from (assembler or HLL) parallels my experience.
#28514 #Aztec C vrs 1.3! Message #28670
From: Richard Rae/SYSOP AmigaTech · C Programming January 3, 1989 9:55 PM
Agreed! Me, I cut my teeth on a 4K 6800 system, then moved up to a 6809. Did a little work on the 6502 but wasn't happy with the way the index registers were set up (eight bits each and each one is only good for certain modes)… plus I…
#28546 Longer "BEEP" needed Message #28663
From: Richard Rae/SYSOP AmigaTech · C Programming January 3, 1989 9:53 PM
For whatever reason, MIDI Magic crashes when run in parallel with SetBeep. Didn't bother to try to find out why. If there's any information I can dig up for you on this one, let me know. Rick
From: Richard Rae/SYSOP AmigaTech · C Programming January 3, 1989 9:52 PM
Michael, if you're a bit of a software hack, and if the source for DisplayBeep() is included (or you can get your hands on it), I have a suggestion. You could open the audio.device and send a quick "chirp" — nothing more than a fast level change would be necessary…
From: John Draper AmigaTech · C Programming January 3, 1989 8:33 PM
Art, I did a thing to draw a rectangle in ABasic back in '85. The algorithm is fairly simple. Get your x and y starting point, and the x and y ending points, and draw the four lines. Assume x1, y1 are start values for x and y, and x2,y2…
#28595 Amiga menus and such Message #28621
From: Tim Coffey AmigaTech · C Programming January 3, 1989 7:51 PM
OR there is another option – a magnifying glass! I may just do it that way.
#28238- Anyone seen a B-Spline? Message #28596
From: Art Steinmetz AmigaTech · C Programming January 3, 1989 1:37 PM
In a related matter has anyone seen some sample code which lays out a rectangle ala DPaint's rectangle tool? — Art
#27722- Amiga menus and such Message #28595
From: Art Steinmetz AmigaTech · C Programming January 3, 1989 1:36 PM
Right Amiga Image? How about using a screen capture utility like ScreenGrabber (Commercial) or ScreenX (Redistributable) on a screen which has a window on which you are holding down a menu? Then you'd have an IFF file containing that exact image. — Art
From: Jeffrey Norton AmigaTech · C Programming January 3, 1989 11:01 AM
I have verified my PowerWindows version, and it is not the B one. I will send my original disk for an update. But I still think that the &NULL bug should have been corrected in 2.5 since it was present in the 2.0 version of PowerWindows. Jeffrey Norton
From: Steve Ahlstrom AmigaTech · C Programming January 3, 1989 10:08 AM
It'll produce C, Modula-2, and ASM structures for you. It's a very powerful programmer's tool.
From: New member AmigaTech · C Programming January 3, 1989 9:35 AM
Ahh thats what I would like! So it generates "C" source to create the menu or wahtever that you patch together?
#28554 Longer "BEEP" needed Message #28568
From: John Draper AmigaTech · C Programming January 3, 1989 3:58 AM
Mike, problem was that it would try to use the same IOReq struct, and mung the one in progress… should be fixable. -larry
From: Mike Berro AmigaTech · C Programming January 3, 1989 1:41 AM
If you allocate and initialize first, and setfunc() last, there shouldn't be a problem. You could even forbid() during the setfunc(). —Mike
From: Steve Ahlstrom AmigaTech · C Programming January 3, 1989 1:30 AM
Designing a user interface is up to you. Power Windows will make the generation of screen, window, menu, submenu, requester, etc., structures extremely easy.
From: John Draper AmigaTech · C Programming January 3, 1989 1:28 AM
Mike, The only potential problem is that I apparently open the audio device outside (and initialize it) outside the function that actually does the beep, which causes problems if another program is calling DisplayBeep() at the same time. -larry
#28510 IO requests Message #28543
From: KEITH YOUNG AmigaTech · C Programming January 3, 1989 12:24 AM
Okay… If you use DoIO(), the message is sent (added to the queue) and your task will wait for the IO to happen then remove the msg for you (if you had the IOF_QUICK flag set, then — if it could — it was processed immediately and never put on…
From: New member AmigaTech · C Programming January 3, 1989 12:19 AM
But is it what I was looking for? See prev message.
#28093- RawKeys & Qualifiers Message #28536
From: A. Caleb Gattegno AmigaTech · C Programming January 2, 1989 11:37 PM
Another thing occurs to me, assuming that the h/w location you're using shows a different value for keypress and key-release. If that is so, you can _assume_ that a qualifier is in effect if you receive a keypress until such time as you receive a key-release. This, of course, goes…

Page 1 of 2