Subj : Initialize subroutine in startup assy code never returns if total RAM usage goes over 0x1f000 To : borland.public.cpp.borlandcpp From : Mike Hollenbeck Date : Tue Mar 22 2005 10:04 am I am compiling code to run on an embedded platform using a 80188 processor and 256K of RAM space. I am building using C++ version 4.52. Looking at the .LOC file whenever the FARHEAP gets above 0x1F000 the system just resets. I have tracked it down to the Initialize routine in BCPP45.ASM. The code never returns from this function call. Initialize jumps through a table of pointers to initialize RAM variables, The number of intializers is calculated and a loop is performed calling these intializers. Either the routine never thinks its done, and my watchdog system causes a reset, or one of the entries is causing a systm reset. I believe the later is happening. I no longer have manuals for this compiler and the platform is an old product thats needs revision. I can supply the Makefile, BCPP45.ASM .RM and .LOC files if needed. Thanks in advance for any help I can get here I'm totaly frustrated. Mike .