This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (97 messages)
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…
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…
Mike, Mine is QLens v2.01 (use 'strings' or TYPE OPT H to see version). -larry
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…
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,…
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
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
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…
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
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
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
Actually, CAPSLock returns a key up when it is un-pressed (the light goes off). ACG
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…
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…
Hmm… very odd indeed! Mine worksd flawlessly. Perhaps Mike Berro would be able to make a suggestion (he's the author). -larry
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…
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…
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
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
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-
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
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
"… 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…
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
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
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…
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!
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
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…
Caleb, That's true, with the sole exception of the CAPS lock key. -larry
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
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
Richard your summary of attitudes towards C based on where the people come from (assembler or HLL) parallels my experience.
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…
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
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…
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…
OR there is another option – a magnifying glass! I may just do it that way.
#28238-
Anyone seen a B-Spline?
Message #28596
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
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
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
It'll produce C, Modula-2, and ASM structures for you. It's a very powerful programmer's tool.
Ahh thats what I would like! So it generates "C" source to create the menu or wahtever that you patch together?
Mike, problem was that it would try to use the same IOReq struct, and mung the one in progress… should be fixable. -larry
If you allocate and initialize first, and setfunc() last, there shouldn't be a problem. You could even forbid() during the setfunc(). —Mike
Designing a user interface is up to you. Power Windows will make the generation of screen, window, menu, submenu, requester, etc., structures extremely easy.
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
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…
But is it what I was looking for? See prev message.
#28093-
RawKeys & Qualifiers
Message #28536
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