Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!mcsun!ukc!stl!crosfield!jc From: jc@crosfield.co.uk (jerry cullingford) Newsgroups: comp.sys.amiga.programmer Subject: Re: OpenDiskFont crashes Message-ID: <10338@suns7.crosfield.co.uk> Date: 19 Jun 91 13:35:18 GMT References: Reply-To: jc@crosfield.co.uk (jerry cullingford) Followup-To: comp.sys.amiga.programmer Organization: Crosfield Electronics, Hemel Hempstead, United Kingdom. Lines: 19 In article ms0p+@andrew.cmu.edu (Michael Gordon Shapiro) writes: >I have an A3000 running 2.01. I use Lattice C 5.11. Whenever I call >OpenDiskFont, I get a guru. Anyone care to speculate what giveth? I had a similar problem with Lattice 5.02 - guru 4 (I think) every time. I solved it eventually by adding a #pragma directive, after looking up the offset in (I think) the .FD file. I suspect that amiga.lib (and/or the distribution #pragmas) are using the wrong offset. I'm fairly sure I tried the amiga.lib and the proto.h routes before hacking my own. If you're still stuck, send me some email and I'll dig out the exact incantation. -- +-----------------------------------------------------------------+ | | Jerry Cullingford #include +44 442 230000 | ,-|-- | jc@crosfield.co.uk (was jc@cel.co.uk) or jc@cel.uucp x3203 | \_|__ +-----------------------------------------------------------------+ \___/