Subversion Repositories SvarDOS

Rev

Rev 1633 | Rev 1639 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1633 Rev 1637
Line 688... Line 688...
688
  fprintf(fd, "SET TEMP=C:\\TEMP\r\n");
688
  fprintf(fd, "SET TEMP=C:\\TEMP\r\n");
689
  fprintf(fd, "SET DOSDIR=C:\\SVARDOS\r\n");
689
  fprintf(fd, "SET DOSDIR=C:\\SVARDOS\r\n");
690
  fprintf(fd, "SET NLSPATH=%%DOSDIR%%\\NLS;.\r\n");
690
  fprintf(fd, "SET NLSPATH=%%DOSDIR%%\\NLS;.\r\n");
691
  fprintf(fd, "SET DIRCMD=/OGNE/P/4\r\n");
691
  fprintf(fd, "SET DIRCMD=/OGNE/P/4\r\n");
692
  fprintf(fd, "SET WATTCP.CFG=%%DOSDIR%%\\CFG\r\n");
692
  fprintf(fd, "SET WATTCP.CFG=%%DOSDIR%%\\CFG\r\n");
693
  fprintf(fd, "PATH %%DOSDIR%%\\BIN\r\n");
693
  fprintf(fd, "PATH %%DOSDIR%%\r\n");
694
  fprintf(fd, "PROMPT $P$G\r\n");
694
  fprintf(fd, "PROMPT $P$G\r\n");
695
  fprintf(fd, "FDAPM APMDOS\r\n");
695
  fprintf(fd, "FDAPM APMDOS\r\n");
696
  fprintf(fd, "\r\n");
696
  fprintf(fd, "\r\n");
697
  genlocalesconf(fd, locales);
697
  genlocalesconf(fd, locales);
698
  fprintf(fd, "\r\n");
698
  fprintf(fd, "\r\n");
Line 711... Line 711...
711
  snprintf(buff, sizeof(buff), "%c:\\SVARDOS\\CFG\\PKG.CFG", targetdrv);
711
  snprintf(buff, sizeof(buff), "%c:\\SVARDOS\\CFG\\PKG.CFG", targetdrv);
712
  fd = fopen(buff, "wb");
712
  fd = fopen(buff, "wb");
713
  if (fd == NULL) return;
713
  if (fd == NULL) return;
714
  fprintf(fd, "# pkg config file - specifies locations where packages should be installed\r\n"
714
  fprintf(fd, "# pkg config file - specifies locations where packages should be installed\r\n"
715
              "\r\n"
715
              "\r\n"
-
 
716
              "# DOS core binaries\r\n"
-
 
717
              "DIR BIN C:\\SVARDOS\r\n"
-
 
718
              "\r\n"
716
              "# Programs\r\n"
719
              "# Programs\r\n"
717
              "DIR PROGS C:\\\r\n"
720
              "DIR PROGS C:\\\r\n"
718
              "\r\n"
721
              "\r\n"
719
              "# Games \r\n"
722
              "# Games \r\n"
720
              "DIR GAMES C:\\\r\n"
723
              "DIR GAMES C:\\\r\n"