/*
 * INSTALL data file
 * Project: FutureNet
 * Version: 6.10
 * Disk #7
 *
 * This file automatically generated by DDB
 */

@DefineDisk
	@Label = "Disk 7 of 7"
	@BeginLib FN6.007
		@F 0 @S 263936 @A FNLIB\RCA74.SYM @Option 015
		@F 1 @S 44032 @O FNLIB\SIGSNAP.SYM @Option 050
		@F 2 @S 432384 @O FNLIB\SYSTEM.SYM @Option 005
		@F 3 @S 14848 @O FNLIB\TITLE.SYM @Option 005
		@F 4 @S 417536 @O FNLIB\TTL1.SYM @Option 002
		@F 5 @S 371456 @O FNLIB\TTL2.SYM @Option 002
		@F 6 @S 76288 @O FNLIB\ZILOG.SYM @Option 016
		@F 7 @S 61952 @O FNLIB\LINIEEE1.SYM @Option 009
	@EndLib
 	@File ok_mode.exe @Out @BootDrive:\\ok_mode.exe @OverWrite
@EndDisk

@If((X [= @Group)||(F [= @Group)||(P [= @Group)||(S [= @Group)||(018 [= @Option))
  @SetAutoexec
    @DiskProto
      @If(X [= @Group)
        @Path = "@OutDrive:@Subdir\\FNX"
      @ElseIf(F [= @Group) 
        @Path = "@OutDrive:@Subdir\\FN"
      @EndIf

      @If(P [= @Group)
        @Path = "@OutDrive:\\DPLOT"
      @EndIf

      /* Microsoft Compatible, Microsoft Logitech C7 or C9 w/ Driver */
      @If((101 [= @Option)||(109 [= @Option)||(132 [= @Option))
        @SetReplace("FNMOUSE","M")  
      @ElseIf (107 [= @Option) /* Polled Logitech C7 */
        @SetReplace("FNMOUSE","P")  
      @ElseIf (123 [= @Option) /* Logitech C7, Native, COM1 */
        @SetReplace("FNMOUSE","1")  
      @ElseIf (124 [= @Option) /* Logitech C7, Native, COM2 */
        @SetReplace("FNMOUSE","2")  
      @ElseIf (125 [= @Option) /* Logitech C7, Native, COM3 */
        @SetReplace("FNMOUSE","3")  
      @ElseIf (126 [= @Option) /* Logitech C9, Native, COM1 */
        @SetReplace("FNMOUSE","P1")  
      @ElseIf (127 [= @Option) /* Logitech C9, Native, COM2 */
        @SetReplace("FNMOUSE","P2")  
      @ElseIf (128 [= @Option) /* Logitech C9, Native, COM3 */
        @SetReplace("FNMOUSE","P3")  
      @ElseIf (129 [= @Option) /* Mouse Systems Mouse, COM1 */
        @SetReplace("FNMOUSE","S1")  
      @ElseIf (130 [= @Option) /* Mouse Systems Mouse, COM2 */
        @SetReplace("FNMOUSE","S2")  
      @ElseIf (131 [= @Option) /* Mouse Systems Mouse, COM3 */
        @SetReplace("FNMOUSE","S3")  
      @ElseIf(106 [= @Option)	/* No Mouse */
        @SetReplace("FNMOUSE","N")  
      @EndIf

      /* Display options for XMS and non-XMS versions */
      @If (023 [= @Option)
        @SetReplace("FG_DISPLAY", "EGAECD")
      @ElseIf (024 [= @Option)
        @SetReplace("FG_DISPLAY", "EGAMONO")
      @ElseIf (025 [= @Option)
        @SetReplace("FG_DISPLAY", "EVGAHIRES")
      @ElseIf (026 [= @Option)
        @SetReplace("FG_DISPLAY", "HERC")
      @ElseIf (028 [= @Option)
        @SetReplace("FG_DISPLAY", "VGA11")
      @ElseIf (029 [= @Option)
          @SetReplace("FG_DISPLAY", "VGA12")
      @ElseIf (030 [= @Option)
        @SetReplace("FG_DISPLAY", "VEGAVGAHIRES")
      @ElseIf (027 [= @Option)
          @SetReplace("FG_DISPLAY", "TOSHIBA")
      @ElseIf (051 [= @Option)
        @SetReplace("FG_DISPLAY", "PARADISEHIRES")
      @ElseIf (036 [= @Option)
        @SetReplace("FG_DISPLAY", "COMPAQPL")
      @ElseIf (031 [= @Option)
        @SetReplace("FG_DISPLAY", "")
      @ElseIf (055 [= @Option)
        @SetReplace("FG_DISPLAY", "TSENGHIRES")
      @ElseIf (056 [= @Option)
        @SetReplace("FG_DISPLAY", "VESA6A")
      @ElseIf (057 [= @Option)
        @SetReplace("FG_DISPLAY", "VESA0")
      @ElseIf (058 [= @Option)
        @SetReplace("FG_DISPLAY", "VESA1")
      @ElseIf (059 [= @Option)
        @SetReplace("FG_DISPLAY", "VESA2")
      @ElseIf (060 [= @Option)
        @SetReplace("FG_DISPLAY", "VESA3")
      @ElseIf (061 [= @Option)
        @SetReplace("FG_DISPLAY", "VESA5")
      @ElseIf (062 [= @Option)
        @SetReplace("FG_DISPLAY", "VESA7")
      @ElseIf (063 [= @Option)
        @SetReplace("FG_DISPLAY", "ATI61")
      @ElseIf (064 [= @Option)
        @SetReplace("FG_DISPLAY", "ATI62")
      @ElseIf (065 [= @Option)
        @SetReplace("FG_DISPLAY", "ATI63")
      @EndIf

      @If(032 [= @Option)
        @SetReplace("FNDISPLAY", "@OutDrive:@Subdir\\FN\\8514.DG")
      @ElseIf (033 [= @Option)
        @SetReplace("FNDISPLAY", "@OutDrive:@Subdir\\FN\\COMPAQPL.DG")
      @ElseIf (034 [= @Option)
        @SetReplace("FNDISPLAY", "@OutDrive:@Subdir\\FN\\EGAECD.DG")
      @ElseIf (035 [= @Option)
        @SetReplace("FNDISPLAY", "@OutDrive:@Subdir\\FN\\EGAMONO.DG")
      @ElseIf (037 [= @Option)
        @SetReplace("FNDISPLAY", "@OutDrive:@Subdir\\FN\\GRID.DG")
      @ElseIf (038 [= @Option)
        @SetReplace("FNDISPLAY", "@OutDrive:@Subdir\\FN\\HERC.DG")
      @ElseIf (039 [= @Option)
        @SetReplace("FNDISPLAY", "@OutDrive:@Subdir\\FN\\T4.DG")
      @ElseIf (040 [= @Option)
        @SetReplace("FNDISPLAY", "@OutDrive:@Subdir\\FN\\TOSHIBA.DG")
      @ElseIf (041 [= @Option)
        @SetReplace("FNDISPLAY", "@OutDrive:@Subdir\\FN\\VGA11.DG")
      @ElseIf (042 [= @Option)
        @SetReplace("FNDISPLAY", "@OutDrive:@Subdir\\FN\\VGA12.DG")
      @ElseIf (043 [= @Option)
        @SetReplace("FNDISPLAY", "")
      @EndIf 

      @If(S [= @Group)
        @SetReplace("FNLIB","@OutDrive:@Subdir\\FNLIB")
      @EndIf

      @If(018 [= @Option)
        @SetReplace("XACT","@OutDrive:\\XACT")
      @EndIf

    @SetReplace("FNLOG","FNLOG.CMD")
    @SetReplace("FNELOG","FNERR.LOG")
    @SetReplace("FNPRO","FNPRO.CMD")
  @EndAutoexec
  @SetConfig
    @DiskProto
      @Buffers = 40
      @Files = 40
  @EndConfig
@EndIf

@Finish
  /* Microsoft Compatible Logitech C7 or C9 MOUSE.COM Settings */
  @If(111 [= @Option) /* Spd 1 */
    @Write("@BootDrive:\\autoexec.new","at","MOUSE.COM /s01")
  @ElseIf(112 [= @Option) /* Spd 2 */
    @Write("@BootDrive:\\autoexec.new","at","MOUSE.COM /s02")
  @ElseIf(113 [= @Option) /* Spd 3 */
    @Write("@BootDrive:\\autoexec.new","at","MOUSE.COM /s03")
  @ElseIf(114 [= @Option) /* Spd 4 */
    @Write("@BootDrive:\\autoexec.new","at","MOUSE.COM /s04")
  @ElseIf(115 [= @Option) /* Spd 5 */
    @Write("@BootDrive:\\autoexec.new","at","MOUSE.COM /s05")
  @ElseIf(116 [= @Option) /* Spd 6 */
    @Write("@BootDrive:\\autoexec.new","at","MOUSE.COM /s06")
  @ElseIf(117 [= @Option) /* Spd 7 */
    @Write("@BootDrive:\\autoexec.new","at","MOUSE.COM /s07")
  @ElseIf(118 [= @Option) /* Spd 8 */
    @Write("@BootDrive:\\autoexec.new","at","MOUSE.COM /s08")
  @ElseIf(119 [= @Option) /* Spd 9 */
    @Write("@BootDrive:\\autoexec.new","at","MOUSE.COM /s09")
  @ElseIf(120 [= @Option) /* Spd 10 */
    @Write("@BootDrive:\\autoexec.new","at","MOUSE.COM /s10")
  @EndIf

  @If(121 [= @Option) /* Ballistics ON */
    @Write("@BootDrive:\\autoexec.new","at"," /BON\n")
  @ElseIf(122 [= @Option)/* Ballistics OFF */
    @Write("@BootDrive:\\autoexec.new","at"," /BOFF\n")
  @Endif

  @If (@Spawn("@Bootdrive:\\ok_mode AUTOEXEC.BAT AUTOEXEC.NEW AUTOEXEC.OLD") == 1)
      @Copy("@BootDrive:\\autoexec.new", "@BootDrive:\\autoexec.bat")
      @Delete("@BootDrive:\\autoexec.new")
  @ElseIf (@Spawn() == 0) /* restore original AUTOEXEC file */
      @Copy("@BootDrive:\\autoexec.old", "@BootDrive:\\autoexec.bat")
      @Delete("@BootDrive:\\autoexec.old")
     IMPORTANT: Before running FutureNet, review suggested modifications
		for '@BootDrive:\AUTOEXEC.BAT' file which can be found
		in '@BootDrive:\AUTOEXEC.NEW' file. 
  @EndIf

  @If (@Spawn("@BootDrive:\\ok_mode CONFIG.SYS CONFIG.NEW CONFIG.OLD") == 1)
      @Copy("@BootDrive:\\config.new", "@BootDrive:\\config.sys")
      @Delete("@BootDrive:\\config.new")
  @ElseIf (@Spawn() == 0) /* restore original CONFIG file */
      @Copy("@BootDrive:\\config.old", "@BootDrive:\\config.sys")
      @Delete("@BootDrive:\\config.old")
     IMPORTANT: Before running FutureNet, review suggested modifications
		for '@BootDrive:\CONFIG.SYS' file which can be found
		in '@BootDrive:\CONFIG.NEW' file. 
  @EndIf
  @Delete("@BootDrive:\\ok_mode.exe")
  @ChDrive @StartupDrive
  @ChDir "@StartupDir"
	Installation of @Name Version @Version is now finished.
	
	You should reboot your computer before running @Name.
  @Delete("@BootDrive:\\autoexec.bak")  /* using autoexec.old to save old bat */
  @Delete("@BootDrive:\\config.bak")  /* using autoexec.old to save old sys */
  @Pause
@EndFinish
/* end-of-file*/

