home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
genapps
/
cmstr503.arj
/
DOC.ZIP
/
CONFIG.TXT
< prev
next >
Wrap
Text File
|
1991-12-07
|
5KB
|
116 lines
CONFIG file
Explanation
CONFIG is a standard ASCII text file that allows an author to configure a
program to accommodate several variables, some highly technical, but
others quite simple. You must have a CONFIG file so that DRIVER knows
what LSN file to access. Use the DOS text file function of your word
processor (Ctrl-F5 in WordPerfect) to create an ASCII file. A standard
CONFIG file looks like the column on the left:
Contents Line # What it does
0 1 [videodisc player type]
1 2 [control for videodisc player]
0 3 [debug flag]
1 4 [switch for computer/videodisc]
1 5 [color flag]
1 6 [student information flag]
1 7 [border ON/OFF]
0 8 [for future expansion]
0 9 [for future expansion]
0 10 [for future expansion]
0 11 [for future expansion]
path:file 12 [initial unit filename]
EXTRAONE 13 [string for ##]
EXTRATWO 14 [string for $$]
DATE 15 [string for ^^ (or current date)]
\ 16 [path for student files]
0 17 [for future expansion]
0 18 [for future expansion]
3 19 [graphics display (CGA, EGA. VGA]
0 20 [for future expansion]
Here are the line numbers followed by the coding for the list of items
which the CONFIG file sets:
1 videodisc player type:
0 = CBT only
1 = Sony LDP 1000
2 = Pioneer 4000
3 = Pioneer 8210
4 = Sony LDP 2000
2 control port: To send information to the videodisc player. Contains
a 1 or a 2, for LPT1:, LPT2:, COM1: or COM2:.
3 debug flag:
0 = all frame numbers off;
1 = text frame numbers only on (enables ALT 208)
2 = video frame numbers only on;
3 = text and video frame numbers on (ALT 208 is enabled).
4 switch port: To switch between RGB, NTSC and superimposed mode
(usually the number of an LPT: port). Other values here might be used
with hardware switching devices that allow video overlay, etc. Since
changes in available hardware occur frequently, contact InterDigital to
configure DRIVER and the CONFIG files to your videodisc/CD ROM
interface specifications.
5 color flag: Allows you to force text to be white on black (if used
with an amber or green monitor on a color adapter). DRIVER also will
obey mode commands, i.e., if you've typed mode bw80 in DOS, the
text will be forced to black and white despite the color flag setting.
0 = black/white monitor on color card
1 = every other combination
6 student information flag:
0 means no student file will be created
1 means a student file will be created
7 border flag:
0 = no border with color card (black border)
1 = border is same color as text background
8 spare: for future use
9 spare: for future use
10 spare: for future use
11 spare: for future use
12 lesson name: Name of the first LSN/CNT file to be accessed (LSN/CNT
extension should not be included. The name can include a full path
name, up to 65 characters, total.)
13 extraone: Any author or student input. Authors enter this into the
CONFIG file, but for student input, use "extraone" in place of a
destination page. [~EXTRAONE]
14 extratwo: Same as extraone, but use "extratwo" in place of
destination page [~extraone].
15 string three: Can be any other string (word or phrase) that is
desirable to change in the CONFIG file. If you put the word DATE
here, it will become the current date when the student signs in.
16 student file path: Drive and pathname where student files are
stored. Even if all files are on the same drive and path as the program
files, the \ must be included.
17 spare: For future expansion
18 spare: For future expansion
19 monitor: Set this to the lowest level monitor required to display your
graphic images. If the monitor in use cannot display that type of
graphic, the program will skip automatically to the next page in the
program. If the program uses PCX graphics and may be used on a VGA
monitor, set the flag to 3.
0 = monochrome
1 = CGA 320 x 200 or 640 x 200 (B\W only)
2 = EGA 640 x 350
3 = VGA 640 x 480
20 spare: For future expansion