Supports the dynamic use of data stacks to handle hardware interrupts. You can use this command only in your CONFIG.SYS file.
none.
For information about COMMAND.COM switches, see the COMMAND command.
Default settings The default settings for the STACKS command are:
Special cases for stack allocation Upon receiving a hardware interrupt, the operating system allocates one stack from the specified number of stacks. When you specify 0 for the n and s values, the operating system allocates no stacks. If the values are 0, each running program must have enough stack space to accommodate the computer's hardware interrupt drivers. Many computers operate correctly, saving some memory for programs, with n and s values of 0. If, however, your computer becomes unstable when you set these values to 0, return to the default values.
Increasing the value of STACKS If the STACKS values are not equal to 0,0 and you see a "Stack Overflow" or "Exception error 12" message, increase the number or size of the stacks.
To allocate 8 stacks of 512 bytes each for hardware-interrupt handling, add to your CONFIG.SYS file:
STACKS=8,512
none.