kevin@tolerant.UUCP (Kevin Flory) (01/09/86)
I am expiriencing trouble with the DRI linker, link. I have converted my 'C' librarys over to the DRI library format and have been using the Programers Utilies for quit some time succesfully with the Aztec 'C' compiler. I have a preprocessor that converts the Aztec assembly output to a format compatable with rmac. The problem I am expirencing is trying to produce romable code. When I try to link my program with my library with out redefining the load address, program (code) segment base, data segment base, everthing works just fine as you would expect. When I try to specify a program base below 0100H with a load address of 0100H, the linker writes the whole file out as zeros. real nice huh. I did quit a bit of expermenting with with diffferent load address and program base address, switching the order of the parameters in the command line and have come to the conclution that the linker does not work correctly with program address addresses below 0100H. If a specify a load address and a program base of 0100H (which is the defualt) it creates the .com file OK, but it forgets to add the jump intruction to the entry point in the code. If I specify a load address of 0100H and program base of 0103H it puts the jump intrunction in just fine. I was realy disappointed when I found that the linker would'nt ouput a .hex file ( I need this to dowload to a Data I/O), but I was able to get a hold of the public domain file comhex.com which solved that problem (kinda). I would generate a the code to start at 0100H and enter a jump to 0100H myself but I will need to add interrupt routines later and the jump table would also have to be entered by hand. This is unexecptable. I would also require out how to tell the Data I/O to offset the code by 0100H bytes. Does anybody out there in netland know if Im doing sothing wrong (I seriously doubt it), or of linker that works with the DRI .irl files (library file) and with the microsoft .rel files. Any help with this matter would be greatly appriciated. Kevin Flory @ Tolerant Systems, San Jose I may be reached by email, or mail at: 82 E Daggett Drive San Jose, CA, 95134 (408) 946-5667 or 530 Scottsville Court San Jose, CA 95133 (408) 272-1818 Thanks In Advance.