Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!cbmvax!carolyn From: carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) Newsgroups: comp.sys.amiga Subject: Re: Need help with object file format Message-ID: <2811@cbmvax.UUCP> Date: Tue, 17-Nov-87 19:23:40 EST Article-I.D.: cbmvax.2811 Posted: Tue Nov 17 19:23:40 1987 Date-Received: Fri, 20-Nov-87 04:29:09 EST References: <15503@watmath.waterloo.edu> Reply-To: carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) Distribution: na Organization: Commodore Technology, West Chester, PA Lines: 22 Keywords: files, hunks, executables In article <15503@watmath.waterloo.edu> thfisher@watmath.waterloo.edu (Terry Fisher) writes: >After reading the Bantam 1.2 manual, I decided to write a program that >set the bits to specify that hunks were to be loaded into a particular >area in memory. ie CHIP, FAST, or EITHER. After writing the program, and >testing it, I found that the programs which I modified loaded did not >load any differently than they had previously. The way I understood the >book was: to specify CHIP memory, set bit 29 of the hunk label, for fast memory, >set bit 30, and leave both unset for either. > >Is this correct? What might I have done wrong? I know that these bits were >set, and the program still loaded and ran. I fooled with this a while ago. Looks like object modules have the bit set in each hunk to specify memory type, but load files have the bits set in the hunk sizes in the initial 3F3 hunk_header hunk. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Carolyn Scheppner -- CATS >>Commodore Amiga Technical Support<< UUCP ...{allegra,ihnp4,rutgers}!cbmvax!carolyn PHONE 215-431-9180 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=