flat assembler
Message board for the users of flat assembler.
Index
> DOS > Alink problem with OBJ & COFF |
Author |
|
fonolite 15 Dec 2005, 02:04
Hello! I resolved it by myself.
Here is a orginal map file created by alink. SEGMENT MAINCODE PUBLIC USE16 PARA 'CODE' at 00000200, length 000003D4 SEGMENT MAINDATA PUBLIC USE16 PARA 'DATA' at 00000690, length 000004B7 SEGMENT SUBCODE PUBLIC USE32 PARA at 00000B00, length 00000047 SEGMENT SUBDATA PUBLIC USE32 PARA at 00000B50, length 00000008 I think SUBCODE couldn't pointer the data of the lower address(MAINDATA). I made a simple 32bit segment in main.asm having the same name of 'SUBCODE'. Alink combines MAINCODE32(32bit) and SUBCODE(32bit). So SUBCODE locates in lower address than MAINDATA. Here is a final map file. SEGMENT MAINCODE PUBLIC USE16 PARA 'CODE' at 00000200, length 000003D4 SEGMENT SUBCODE PUBLIC USE32 PARA 'CODE' at 000005E0, length 000000A7 SEGMENT MAINDATA PUBLIC USE16 PARA 'DATA' at 00000690, length 000004B7 SEGMENT SUBDATA PUBLIC USE32 PARA at 00000B50, length 00000008 link OK. Alink generates EXE well. You know this is not a complete solution. But Alink did a job anyway. |
|||
15 Dec 2005, 02:04 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.