beautypg.com

Avery Dennison 6037 Rev. AA 3/04 Programmer Manual User Manual

Page 108

background image

4-66 ROM-DOS Internal Commands

S T A C K S

CONFIG.SYS Command

The STACKS command enables the dynamic use of data stacks to handle
hardware and software interrupts that use large amounts of stack space.
You may use this command only in your CONFIG.SYS file. Use the
STACKS command if the system crashes or encounters a stack overflow
during the boot or at runtime.

STACKS uses more RAM for the DOS stacks, which you can calculate
with the formula (number-of-stack*stack-size). The maximum extra DOS
stack size is 32KB (64*512).

Syntax

STACKS = n,s

Remarks

n specifies the number of stacks. Valid values for n are 0 and integers in
the range 8 through 64.

s specifies the size (in bytes) of each stack. Valid values for s are 0 and
integers in the range 32 through 512.