papa@uscvax.UUCP (Marco Papa) (01/11/86)
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.arparj@amiga.UUCP (Robert J. Mical) (01/13/86)
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=
farren@well.UUCP (Mike Farren) (01/14/86)
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 <workbench/workbench.h>" (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