Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.amiga » Mandelbrot's program broken under Lattice C 3.02
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Mandelbrot's program broken under Lattice C 3.02 [message #282203] Sat, 11 January 1986 13:41 Go to next message
papa is currently offline  papa
Messages: 20
Registered: September 1985
Karma: 0
Junior Member
Article-I.D.: uscvax.239
Posted: Sat Jan 11 13:41:59 1986
Date-Received: Tue, 14-Jan-86 04:14:03 EST
Organization: CS&CE Depts, U.S.C., Los Angeles, CA
Lines: 35

I guess I just got bitten by the Lattice "C' nasty bug referred by John Draper
as follows:

"...Good ol Lattice C has a nasty bug that won't let me use four cases 
without crashing. This is why it takes so long to write programs on the 
Amiga. ..."

When running the new version of the Mandelbrot program by Robert French, 
modified by RJ Mical of Commodore Amiga, I run into the following problems:

1. the Preset function does not work.  All the 4 values (SR, ER, SI, EI) get
   initialized to the same values (it seems to be the first one).  Which means
   that also at startup the values are wrong.

2. The CM (change mode) command does not work.  I don't seem to be able
   to get interlace at all.

3. Saved images are not loaded back correctly (the limits are wrong).  This 
   makes the program totally useless.

I noted that RJ Mical has used the "case" statement extensively in his 
modified version.  Did he compile and test it with the Greenhills C compiler 
only, or did he try it out also with Lattice C 3.02?  Has anybody else 
experienced similar problems with the new version.

By the way, the old version of the Mandelbrot program does not have any of
above mentioned problems.  

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
Re: Mandelbrot's program broken under Lattice C 3.02 [message #282218 is a reply to message #282203] Mon, 13 January 1986 15:50 Go to previous messageGo to next message
RJ[1] is currently offline  RJ[1]
Messages: 25
Registered: December 1985
Karma: 0
Junior Member
Article-I.D.: amiga.539
Posted: Mon Jan 13 15:50:15 1986
Date-Received: Wed, 15-Jan-86 00:45:25 EST
References: <239@uscvax.UUCP>
Reply-To: rj@wizard.UUCP (Robert J. Mical)
Organization: Commodore-Amiga Inc., 983 University Ave #D, Los Gatos CA 95030
Lines: 11

In article <239@uscvax.UUCP> papa@uscvax.UUCP (Marco Papa) writes:
 > I noted that RJ Mical has used the "case" statement extensively in his 
 > modified version.  Did he compile and test it with the Greenhills C compiler 
 > only, or did he try it out also with Lattice C 3.02?  Has anybody else 
 > experienced similar problems with the new version.
 > 

I used Lattice 3.03 running native on the Amiga to compile the Mandelbrot
program.  Everything worked just fine; I didn't have any problems with
the workbench.h file (enum statements and bit assignments) or multiple
case statements.  And my presets all come up looking good.  =RJ Mical=
Re: Mandelbrot's program broken under Lattice C 3.02 [message #282220 is a reply to message #282203] Mon, 13 January 1986 16:01 Go to previous message
farren is currently offline  farren
Messages: 36
Registered: November 1985
Karma: 0
Member
Article-I.D.: well.483
Posted: Mon Jan 13 16:01:05 1986
Date-Received: Wed, 15-Jan-86 01:16:48 EST
References: <239@uscvax.UUCP>
Organization: Whole Earth Lectronic Link, Sausalito, CA
Lines: 27

In article <239@uscvax.UUCP>, papa@uscvax.UUCP (Marco Papa) writes:
 >  When running the new version of the Mandelbrot program by Robert French,
 >  modified by RJ Mical of Commodore Amiga, I run into the following problems:
 > 
 >  1. the Preset function does not work...
 >  2. The CM (change mode) command does not work...
 >  3. Saved images are not loaded back correctly (the limits are wrong).  This
 >     makes the program totally useless.
 > 
 >  I noted that RJ Mical has used the "case" statement extensively in his
 >  modified version.  Did he compile and test it with the Greenhills C compiler
 >  only, or did he try it out also with Lattice C 3.02?  Has anybody else
 >  experienced similar problems with the new version.

    I've seen the same problems - haven't determined yet what goes wrong.
However, since there's a newer version posted, maybe it doesn't have
problems? WRONG! And this time it's got me at a total loss.  Briefly, with
my version (3.02) of the Lattice compiler, whenever a program includes the
line "#include " (as the new Mandelbrot does), it's
instant guru meditation time.  Anybody know what gives?  This makes the
newest (and nice-looking, from the source) Mandelbrot program less than
useless...

--
           Mike Farren
           uucp: {your favorite backbone site}!hplabs!well!farren
           Fido: Sci-Fido, Fidonode 125/84, (415)655-0667
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Deluxe Paint (copy protection)
Next Topic: Re: Maxidesk, Deluxe Paint (long)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Apr 25 06:13:31 EDT 2024

Total time taken to generate the page: 0.02311 seconds