10-27-2003, 02:14 PM
Never thought this will happen. 100 times comiled and re-compiled
varous source codes and only problems I had were with related to
BC.EXE compiler in the area of free memory.
Anyway, I just recoded great deal of my latest project, LONG. Removed
large amount of data into outside files and added proper code that
manages that data. When the conversion was done, I tested the demo
and it worked fine. Compiled the code and no problems happened
which was my goal when I started to recode the game.
I had 15724 bytes of free memory left after the compiling.
Source code is 85KB size, BTW.
Now, when I tried to use Overlay Linker(LINK.EXE) unexpected
problems occured.
I got this message :
LINK : error L2041: stack plus data exceed 64K
after that bunch of error message going through ALL library
routines(I guess) like :
NEWREL.LIB(keyboard.ASM) : error L2002 : fixup overflow at 0002 in segment...
I don't have to point out that latest version of LONG code is very
economic. I mean you see that from the little amount of memory
consumed during compilation.
What I want to know is what might be causing this problem? I completely
confused since with much larger and complex source codes I had
no such problems.
I have a strange feeling I'll have to give the source code to Eric for
some technical overhauling.
varous source codes and only problems I had were with related to
BC.EXE compiler in the area of free memory.
Anyway, I just recoded great deal of my latest project, LONG. Removed
large amount of data into outside files and added proper code that
manages that data. When the conversion was done, I tested the demo
and it worked fine. Compiled the code and no problems happened
which was my goal when I started to recode the game.
I had 15724 bytes of free memory left after the compiling.
Source code is 85KB size, BTW.
Now, when I tried to use Overlay Linker(LINK.EXE) unexpected
problems occured.
I got this message :
LINK : error L2041: stack plus data exceed 64K
after that bunch of error message going through ALL library
routines(I guess) like :
NEWREL.LIB(keyboard.ASM) : error L2002 : fixup overflow at 0002 in segment...
I don't have to point out that latest version of LONG code is very
economic. I mean you see that from the little amount of memory
consumed during compilation.
What I want to know is what might be causing this problem? I completely
confused since with much larger and complex source codes I had
no such problems.
I have a strange feeling I'll have to give the source code to Eric for
some technical overhauling.