Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!ihnp4!qantel!lll-lcc!lll-crg!nike!ucbcad!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: net.micro.amiga Subject: Re: YABoing problem? Message-ID: <8609272107.AA06973@cory.Berkeley.EDU> Date: Sat, 27-Sep-86 17:07:37 EDT Article-I.D.: cory.8609272107.AA06973 Posted: Sat Sep 27 17:07:37 1986 Date-Received: Tue, 30-Sep-86 06:17:02 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: University of California at Berkeley Lines: 33 >I just got my hands on a Lattice compiler and compiled YaBoing with it. >And, yes, I get all these messages that I don't get with the Manx compiler! >Anyway, you can ignore all the warnings (I guess) but the initializer on line >71 gives a fatal error. Replacing > > struct Custom *cstm = 0xdff000; > >on line 71 with > > extern struct Custom custom; I just replaced it with: struct Custom *cstm = (struct Custom *)0xdff000; Even better, you don't cstm at all, you could #define cstm ((struct Custom *)0xdff000) And it should work fine. >After this you still get 3 warnings but they can be ignored. (The Lattice >version ends up being more than 20000 bytes long (as opposed to Manx's >4900+), I am wondering if I compiled wrong (or somehow brought in and actually >included libraries I was not supposed to). But it works!) > >Ali Yes, you actually Linked incorrectly. Link with Astartup.obj (Since YABoing doesn't seem to need the lattice library) rather than Lstartup.obj. The code size is about 6420 bytes. -Matt