Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!uunet!overload!dillon From: dillon@overload.Berkeley.CA.US (Matthew Dillon) Newsgroups: comp.sys.amiga.programmer Subject: Re: SAS C 5.10A has problems Message-ID: Date: 20 Jun 91 18:11:30 GMT Article-I.D.: overload.dillon.8909 References: Organization: Not an Organization Lines: 31 In article mykes@amiga0.SF-Bay.ORG (Mike Schwartz) writes: > >Problem #1: > BLINK complains about "extern struct Custom custom;" It prints a >cryptic error message like "offset too far from A4". I was able to fix >it by doing "extern struct Custom far custom;" which may or may not be >preferable anyway (I say it is debatable :) Many of the GfxMacros.h macros >rely on this custom variable. This is not really a bug, but due to a feature in SAS/C -- the small-data model and resident support. You HAVE to declare custom as far because it must be addressed with absolute addressing instead of A4 relative which only has +/- 32K range. I dunno about the other problems, but your solution to custom is correct. Try compiling the other stuff with the large-data model, they could be related. >**************************************************** >* I want games that look like Shadow of the Beast * >* but play like Leisure Suit Larry. * >**************************************************** -Matt -- Matthew Dillon dillon@Overload.Berkeley.CA.US 891 Regal Rd. uunet.uu.net!overload!dillon Berkeley, Ca. 94708 USA