tiledMemory Code Generation Option (OS/2)

Syntax: Default:
gen(tiledMemory[, yes])
gen(tiledMemory, no)
gen(tiledMemory, no)

This option determines whether OS/2 tiled memory is enabled for the module being built, and whether the target is compatible with 16-bit functions.

By default, VisualAge C++ supports only 32-bit code.

Set tiledMemory to yes if the code you are developing calls or is called back from existing 16-bit code. When tiled memory is enabled, VisualAge C++ stores all variables so that they may be passed to 16-bit functions. Static and external variables are mapped into 16-bit segments. Variables larger than 64K are aligned on, but still cross 64K boundaries. Memory management functions malloc, calloc, realloc, and free are mapped onto their tiled versions _tmalloc, _tcalloc, _trealloc, and _tfree.



Incremental C++ Build
C Compilation
Configuration Files
Types of Memory
Calling Between 16-Bit and 32-Bit Code


Set Build Options
Build


Code Generation Options
Tiled Memory Management Functions