We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have a need for making a buffer, the size of which is as large as possible. I know how to do that in assembler; however, not in C. Two ways would work: 1) a pointer to the end of used xdata 2) an array my_array[MAX] I much prefer method #1, but any method that will give me the desired result will be appreciated. Thanks, Erik
Maybe if it is at the end of the last object-File to be linked: eofiles.c
unsigned char last_xdata_byte[1];
extenr unsigned char last_xdata_byte[];
L51.EXE [all the obj-files to be linked],EOFILES.OBJ
#define MAX_GAP_SIZE 0 unsigned char last_xdata_byte[MAX_GAP_SIZE+1];