Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!mks From: mks@cbmvax.commodore.com (Michael Sinz - CATS) Newsgroups: comp.sys.amiga.tech Subject: Re: Programming differences between 2.0 and 1.3 Message-ID: <11417@cbmvax.commodore.com> Date: 7 May 90 22:01:44 GMT References: <8aDCJNG00WB7Q_wUMI@andrew.cmu.edu> Reply-To: mks@cbmvax (Michael Sinz - CATS) Organization: Commodore, West Chester, PA Lines: 36 In article <8aDCJNG00WB7Q_wUMI@andrew.cmu.edu> eb15+@andrew.cmu.edu (Edward D. Berger) writes: >I just ordered Lattice C 5.0n, and am looking for suggestions for how to >make my programs both 1.3 and 2.0 OS compatible. Any hints or tips will be >appreciated. I'm kind of a beginner in programming the amiga, and in using >C as the language. I'd like to avoid some of the problems. No problem... Just follow the rules... ;-) Ok, so not so much "NO PROBLEM" Well, the real answer is that you should program by the rules and not empirically. That is, don't just try things and if they work think that they are right. Design things while looking at the rules. Many of the problems others have had was where they would write something and try it and when it worked, it was "right." This is not the case as it may just work in your system... >I'd also welcome any thoughts on other software that will help me avoid bugs. >Is Gimpel Lint worth buying? Well, the first thing should be using full ANSI C function prototyping and and definition which will help find many of the silly argument type missmatches that give many programs trouble. >I'll be working on an A500/A590(2Mram) system, and the software I'm working >on is for loudspeaker simulation and design. (hopefully more interesting >than the SpeakerSim Demo on The Fish disks)... >Thanks in Advance. Sounds like a nice project to get you started... Good luck. /----------------------------------------------------------------------\ | /// Michael Sinz -- CATS/Amiga Software Engineer | | /// PHONE 215-431-9422 UUCP ( uunet | rutgers ) !cbmvax!mks | | /// | |\\\/// "I don't think so," said Ren'e Descartes. | | \XX/ Just then, he vanished. | \----------------------------------------------------------------------/