Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!oliveb!amiga!cbmvax!jesup From: jesup@cbmvax.UUCP (Randell Jesup) Newsgroups: comp.sys.amiga Subject: Re: AmigaDOS Hunks (was Re: Lattice C V5.0 #include bug) Message-ID: <6155@cbmvax.UUCP> Date: 6 Mar 89 23:34:53 GMT References: <92203@sun.uucp> <10895@well.UUCP> Reply-To: jesup@cbmvax.UUCP (Randell Jesup) Distribution: na Organization: Commodore Technology, West Chester, PA Lines: 13 In article <10895@well.UUCP> ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) writes: > I've been wondering about this recently. From some experiments I've >been running lately, it seems as though LoadSeg() will only load files that >start with HUNK_HEADER (0x3F3). Is this true? If not, what will LoadSeg() >accept? Are LoadSeg() and the program loader synonymous i.e. will LoadSeg() >properly load and relocate a file that the CLI would otherwise report as not >an object file? Yes, for a program to be loaded by LoadSeg(), it must start with a HUNK_HEADER. CLI (and everything else) use LoadSeg(). -- Randell Jesup, Commodore Engineering {uunet|rutgers|allegra}!cbmvax!jesup