Path: utzoo!attcan!uunet!ubvax!ardent!rap From: rap@ardent.UUCP (Rob Peck) Newsgroups: comp.sys.amiga Subject: Re: Help me make my Amiga Talk Summary: short integers no doubt Message-ID: <551@ardent.UUCP> Date: 24 Aug 88 22:54:42 GMT References: <3506@phoenix.Princeton.EDU> Organization: Dana Computer, Inc., Sunnyvale, CA Lines: 32 In article <3506@phoenix.Princeton.EDU>, mjcharne@phoenix.Princeton.EDU (Mark Jay Charney) writes: > > My friend and I found this simple 100 line (C program) speach > demo (that uses the narrator and the translator) in a $30 book we bought. > Unfortunately, it doesn't work as printed in the book. I was hoping > We are using Manx C, and the program was for Lattice but we converted > the one inlcude statement that originally had the word 'lattice' in it. > Is there anything else I should know? > Bewildered, > Mark Charney | (mjcharne@olympus.princeton.edu) > Derek Smith | 609-734-2386 Yes, the Programmer's Guide was written for Lattice (3.03) and I am now converting the code to make sure it runs under Manx 3.6 and Lattice 4.0 for another 'official' errata. The problem described here is almost certainly the old 16-bit integer problem. I have sent an EMAIL message directly to the originators to explain what is going on there, casting things to LONG and so on if using Manx 'cc mycode.c' and 'ln mycode.o c.lib'. In the meantime, for simply TESTING the code, I'd advise using 'cc +L mycode.c' and 'ln mycode.o c32.lib' and it SHOULD get rid of most of the problems. I had no access to the Manx compiler at the time the book was produced originally, but I do now and will fix it for the next errara. For those of you who never quite noticed... there IS a coupon in the back of the book that offers a source/object disk containing everything that is in the book (and just a bit more). Starting approx 10/2/88, the source/object disk as sent will (hopefully I am alloting time nuff) be fully Manx compatible (or if still problems, a README file will show where). Rob Peck