Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!utfyzx!oscvax!rico From: rico@oscvax.UUCP Newsgroups: comp.sys.amiga Subject: How do you write absolute code? Message-ID: <483@oscvax.UUCP> Date: Fri, 24-Apr-87 11:20:14 EST Article-I.D.: oscvax.483 Posted: Fri Apr 24 11:20:14 1987 Date-Received: Sat, 25-Apr-87 07:23:08 EST Distribution: net Organization: Ontario Science Centre, Toronto Lines: 23 --------- PURINA LINE EATER CHOW ------------ Here's a quick one for you compiler guru's out there... Is there an easy way to create code that is completely relocated for a fixed target address? i.e. I want to create 68000 code that will live in ROM at a certain known and fixed address with my C compiler (Aztec 3.4). I know that I could take the executable and do my own LoadSeg()ish thing but I'd like to avoid this if I can. Any ideas? Is there already a super-fantastic-and-highly-elastic program that does this kind of thing? Anybody? -Rico -- [NSA food: terrorist, cryptography, DES, drugs, CIA, secret, decode] [CSIS food: supermailbox, tuna, fiberglass coffins, Mirabel, microfiche] [Cat food: Nine Lives, Cat Chow, Meow Mix, Crave]