Stacks Ü
ßßßßßßß
Supports the dynamic use of data stacks to handle hardware interrupts.
You can use this command only in your CONFIG.SYS file.
Syntax: STACKS=n,s
n Specifies the number of stacks. Valid values for n are 0 and numbers
n the range 8 through 64.
s Specifies the size (in bytes) of each stack. Valid values for s are
0 and numbers in the range 32 through 512.
Default settings
The default setting for the stacks command are 0,0 for IBM PC,
PC/XT, and IBM PC-Portable; and 9,128 for other systems.
Special cases for stack allocation
Upon receiving a hardware interrupt, FreeDOS allocates one stack from
the specified number. If the values for n and s are 0, each running
program must have enough stack space for hardware interrupt drivers. If
your computer becomes unstable, use the defaults.
Example:
To allocate 8 stacks of 512 bytes each for hardware-interrupt handling,
add the following line to your CONFIG.SYS file:
stacks=8,512