caw@jolnet.ORPK.IL.US (Chris Wichura) (01/02/90)
Greetings and Hallucinations! I thought I saw a utility to do this a while back on some local BBSs, but no one seems to have it or know anything about it... I need a utility that will take an ASCII text file and make an object file out of it (either Data or Code [preferable] [even more preferable offer a choice]) so that I can BLink it in. I have a program I am working on that generates a source file and I have a fair amount of header junk which needs to be placed in the beginning of it. Currently I just have it output the stuff and then compile the header file which does an INCLUDE "" command, but would like to have it output the whole thing at once. The utility would also have to allow one to define an external label of user's choice as I have a couple different text files I would be outputing. If such a beast doesn't exist, could someone give me an explanation of how object files are stored so that I might try and write it myself? I don't have the Ados technical refs so I don't know anything about building hunks and relocs, etc. Ultimately, the nicest thing would be for the program so simply output the final load module. This would require it building all the RELOCS and the header table and stuff which I know nothing about. There is a considerable amount of data being output with many pointers here (Lattice's DUMPOBJ program says my data hunk has 3700+ relocs in it). Thanks! -- Christopher A. Wichura u12401 @ uicvm.uic.edu (my home account) caw @ jolnet.UUCP (my Usenet feed)