Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!renoir.Berkeley.EDU!robinson From: robinson@renoir.Berkeley.EDU (Michael Robinson) Newsgroups: comp.sys.amiga Subject: 64k tables & Manx? Message-ID: <18567@ucbvax.BERKELEY.EDU> Date: Fri, 24-Apr-87 16:05:34 EST Article-I.D.: ucbvax.18567 Posted: Fri Apr 24 16:05:34 1987 Date-Received: Sat, 25-Apr-87 23:56:41 EST Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: robinson@renoir.Berkeley.EDU (Michael Robinson) Followup-To: just.send.mail Distribution: na Organization: University of California, Berkeley Lines: 39 I have a program I am writing as a C/assembly hybrid for which I have need of a 64k (2^16, 65536) byte table. I have a program which generates the table, and can modify said program to generate the output in any format desired. I have the Manx 3.4 commercial package. I would like to get the whole table loaded cleanly into the final executable with a symbol pointing at the center so I can access all 65536 bytes using register indirect with index addressing (small style). I tried generating a C initialized static array, but Manx puked on it (arrays must be < 32k bytes). I tried generating an assembly array out of ds.b's but the assembler put in unit separators (0x1f) between every line, broke the table into three hunks, and the linker wouldn't recognize the public symbol in the center. My next idea was to change the table generator program to output the table directly into a .o format file, with the external symbol, hunk information, and everything. Then I realized I only had documentation for the AmigaDOS object file format, and that the Manx format was completely different. If anyone can help me in any way, I would greatly appreciate it if you could send me mail. I will summarize responses to the net. Thanks ------------------------------------------------------------------------------ "If you study the logistics and heuristics of the mystics, You will find that their minds rarely move in a line" Fifty percent of everything is below average. Mike Robinson USENET: ucbvax!ernie!robinson ARPA: robinson@ernie.berkeley.edu