78
4.2 How to Write CONFIG.SYS and AUTOEXEC.BAT
This section explains how to write the CONFIG.SYS and AUTOEXEC.BAT files mentioned in the
previous section. A basic explanation of the CONFIG.SYS and AUTOEXEC.BAT is not given here.
For further information about these files refer to the MS-DOS manual or appropriate technical
documents. Observe the following notes when writing a CONFIG.SYS file.
The System Driver (SYSDRV.SYS) is required to operate this terminal. Always include a line
through which to load the System Driver in the CONFIG.SYS.
As described above, MS-DOS, which is in the basic drive, is always loaded. Consequently,
C: COMMAND.COM is used as the command interpreter. Therefore, set a path to
COMMAND.COM to be reloaded in CONFIG.SYS using the SHELL command.
Within CONFIG.SYS the MENU command can be used. Note however, that no power off
command is included in the MENU selection screen. This is to prevent the power from being
accidentally turned off while loading the drivers. The Power switch is also disabled until the
CASIOAPM.COM program is initiated from AUTOEXEC.BAT, etc. In other words, the MENU
command should only be used in the application program development processes.

Example of CONFIG.SYS

The following example shows a typical CONFIG.SYS file script. Since this example assumes that
the system is booted from either the RAM disk or NAND F-ROM drive, it is necessary to partially
modify it if booting up from the ATA card.
For information about booting from the ATA card refer to Chapter 4.3 "Card Boot".
1FILES=30 Not required
2 BUFFERS=20 Not required
3 DOS=HIGH, NOUMB Required (1)
4 DEVICE=C: SYSDRV.SYS Required (2)
5 DEVICE=C: HIMEM.SYS /M:2 Required (3)
6 DEVICE=C: POWER.EXE Required (4)
7 DEVICE=C: TIME.SYS Required (4)
8 DEVICE=C: EMM386.EXE FRAME=C800 X=C000-C7FF X=D800-DFFF I=C800-D7FF Required (5)
9 SHELL=C: COMMAND.COM C: /P /E:1024 Required
10 DEVICE=C: CARDSOFT SS365SL.EXE /SKT=1 Required (6)
11 DEVICE=C: CARDSOFT CS.EXE /POLL:1 Required (6)
12 DEVICE=C: CARDSOFT CSALLOC.EXE Required (6)
13 DEVICE=C: CARDSOFT ATADRV.EXE /S:1 Required (6)
14 DEVICE=C: CARDSOFT MTSRAM.EXE Required (6)
15 DEVICE=C: CARDSOFT MTDDRV.EXE Required (6)
16 DEVICE-C: CARDSOFT MTDAPM.SYS Required (6)
17 DEVICE=C: CARDSOFT CARDID.EXE Required (6)
18 INSTALL=C: CARDSOFT CS_APM.EXE Required (6)