As described above, if the system power is turned on without an application installed (i.e. the conditions just after purchase), the CONFIG.SYS and AUTOEXEC.BAT files locating on the basic drive will be executed automatically. This inevitably initiates the System Menu (maintenance program). Therefore, if not only CONFIG.SYS and AUTOEXEC.BAT, but also an application program are installed on the user drive, it is possible for the application program to be automatically initiated from the user drive.

Example 1

In the following example MS-DOS is loaded from the RAM disk which has been designated as the current drive, since the system finds the CONFIG.SYS and AUTOEXEC.BAT first in the RAM disk.

ATA CARD

RAM DISK

F-ROM

Basic Drive

NO CARD

CONFIG.SYS

CONFIG.SYS

CONFIG.SYS

 

AUTOEXEC.BAT

AUTOEXEC.BAT

AUTOEXEC.BAT

 

APPLICATION

APPLICATION

APPLICATION

Fig. 4.2

Example 2

In the following example the RAM disk contains only CONFIG.SYS. As a result, MS-DOS is loaded from the F-ROM drive designated as the current drive.

ATA CARD

RAM DISK

F-ROM

Basic Drive

NO CARD

CONFIG.SYS

CONFIG.SYS

CONFIG.SYS

 

APPLICATION

AUTOEXEC.BAT

AUTOEXEC.BAT

 

 

APPLICATION

APPLICATION

Fig. 4.3

Example 3

The following example shows a case where there is no F-ROM drive. The search order is also the same in this case. However in this case, CONFIG.SYS and AUTOEXEC.BAT in the basic drive will be executed, and System Menu will be initiated.

NO CARD

CONFIG.SYS

CONFIG.SYS

 

APPLICATION

AUTOEXEC.BAT

 

 

APPLICATION

Fig. 4.4

77

Page 77
Image 77
Casio IT-2000W manual Example