Large 2D array woes...

Craig Macbride craig at bacchus.esa.oz.au
Fri Mar 15 10:20:14 AEST 1991


Are you using the small, medium, large or huge memory model libraries? If
the answer is anything other than "huge", you're doing it wrong. To exceed
64k total variable space, you must at least use large model. To exceed
64k in one variable/array/structure, you _must_ use huge. This is the legacy
of the disgusting 8086 architecture that MessyDOS programmers must put up
with.

Using the "far" keyword will not help in this case. Without huge model
implementation, single data items just can't exceed 64k in length.

-- 
 _____________________________________________________________________________
| Craig Macbride, craig at bacchus.esa.oz.au      | Hardware:                    |
|                                              |      The parts of a computer |
|   Expert Solutions Australia                 |        which you can kick!   | 



More information about the Comp.lang.c mailing list