beautypg.com

Avery Dennison 6035 Programmer Manual Rev.A 7/98 User Manual

Page 37

background image

7/9/98

Using ROM-DOS 6.22 2-25

To continue the above example, the configuration blocks might appear
as follows:

[COMMON]

device=c:\romdos\himem.sys

dos=high

break=on

[RESEARCH]

files=20

buffers=50

device=vdisk.sys 128 /e

[WP]

files=10

buffers=10

lastdrive=m

device=c:\network\loadnet.sys

[GAMES]

include=wp

device=mouse.sys

[COMMON]

If choice 3 [GAMES] is made, the instructions in the [COMMON]
configuration block are processed, followed by the instructions in the
[GAMES]. [GAMES] uses the INCLUDE command. All instructions
provided for the WP menu choice also apply to [GAMES]. If any
instructions are in the final [COMMON], they are processed last.

Extending Menu Items To AUTOEXEC.BAT

The defined name of the menu item you have chosen becomes the
value of the Environment Variable CONFIG. For example, if you
choose 3, GAMES, from the preceding menu, the variable CONFIG is
set to GAMES. The CONFIG environment variable is then used in your
AUTOEXEC.BAT file to customize the startup sequence. This
environment variable is referenced by "%CONFIG%" in your
AUTOEXEC.BAT file. For more on Batch Files, please refer to
preceding sections.