Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - _okbigbuf http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                             _okbigbuf
                     (T and S memory models only)

This  variable  defines which memory allocation scheme will  be  used.
There are two methods.

Method 1
Allocate  all  available  memory up to 64K to the  heap  upon  program
startup. This is the default method.

Method 2
Allocate memory to the heap only as needed. This method is to be  used
if a spawn function will be needed. To use, declare _okbigbuf as shown
below. For more information see the chapter Zortech Implementation
in the Compiler Reference.

Usage
int _okbigbuf = 0;
/* Allocate memory as needed */
_okbigbuf != 0 also means that large disk buffers are used for  stream
I/O  that  are  outside the data segment. This is  all  controlled  by
c.asm.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson