Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site uscvax.UUCP Path: utzoo!linus!decvax!ittatc!dcdwest!sdcsvax!sdcrdcf!oberon!uscvax!papa From: papa@uscvax.UUCP (Marco Papa) Newsgroups: net.micro.amiga Subject: Re: Mandelbrot `Save Picture' fix and a riddle Message-ID: <81@uscvax.UUCP> Date: Sat, 15-Feb-86 15:13:36 EST Article-I.D.: uscvax.81 Posted: Sat Feb 15 15:13:36 1986 Date-Received: Wed, 19-Feb-86 08:06:29 EST References: <979@unc.unc.UUCP> Distribution: net Organization: CS&CE Depts, U.S.C., Los Angeles, CA Lines: 39 Tom Edds (...mcnc!unc!edds) writes: > I found out how to get the amazing Mandelbrot program (V2.01) > to save pictures in the IFF format that DeluxePaint wants. > > The problem lies not in creating the picture file itself, but > in trying to create an icon (.info file) to go with it. This is done > in mand7.c, around line 247, with a call to PutDiskObject. > > The fix I found is simply to comment out that call. This leaves you > without an icon for the image, but who uses those anyway? There is > probably a better fix, but I didn't think I'd find it, since I haven't > bought my ROM Kernel manuals yet. This problem (and others, see later) was due to a bug in the 3.02 Lattice C compiler. Lattice C 3.03 fixes this (the icon is kind of a cute little mandelbrot) andfixes also the following problems in the mandelbrot code: - sequentail assignements to floats (fixes where previously givem on the net) - quitting to go back to the workbench (previously if one executed the mand program from the workbench, Q(uitting) would lock the machine). The following problems are still to be fixed: - when executing Analize, one gets stuck and Exit from that screen does not work. One has to reboot. - when creating a 640x400 high-res image (mode 7), the image is created correctly, but when one tries to invoke a menu the machine crashes with an "out of Memory error" and Guru Meditation #04010003.4C500000 Marco Papa USC - Computer Science Dept. UUCP: ...!{decvax,ucbvax,hplabs}!sdcsvax!sdcrdcf!uscvax!papa ...!{allegra,trwrb,trwspp,ism780,cithep,oberon}!uscvax!papa CSNET: papa@usc-cse.csnet ARPA: papa%usc-cse@csnet-relay.arpa