Subversion Repositories SvarDOS

Rev

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

Rev 74 Rev 77
Line 469... Line 469...
469
  fd = fopen(buff, "wb");
469
  fd = fopen(buff, "wb");
470
  if (fd == NULL) return;
470
  if (fd == NULL) return;
471
  fprintf(fd, "DOS=UMB,HIGH\r\n");
471
  fprintf(fd, "DOS=UMB,HIGH\r\n");
472
  fprintf(fd, "FILES=50\r\n");
472
  fprintf(fd, "FILES=50\r\n");
473
  fprintf(fd, "DEVICE=%c:\\SYSTEM\\SVAROG.386\\BIN\\HIMEMX.EXE\r\n", targetdrv);
473
  fprintf(fd, "DEVICE=%c:\\SYSTEM\\SVAROG.386\\BIN\\HIMEMX.EXE\r\n", targetdrv);
-
 
474
  if (strcmp(locales->lang, "EN") == 0) {
-
 
475
    strcpy(buff, "command");
-
 
476
  } else {
-
 
477
    snprintf(buff, sizeof(buff), "CMD-%s", locales->lang);
-
 
478
  }
474
  fprintf(fd, "SHELLHIGH=%c:\\SYSTEM\\SVAROG.386\\BIN\\COMMAND.COM /E:512 /P\r\n", targetdrv);
479
  fprintf(fd, "SHELLHIGH=%c:\\SYSTEM\\SVAROG.386\\BIN\\%s.COM /E:512 /P\r\n", targetdrv, buff);
475
  fprintf(fd, "REM COUNTRY=001,437,%c:\\SYSTEM\\CONF\\COUNTRY.SYS\r\n", targetdrv);
480
  fprintf(fd, "REM COUNTRY=001,437,%c:\\SYSTEM\\CONF\\COUNTRY.SYS\r\n", targetdrv);
476
  fprintf(fd, "DEVICE=%c:\\SYSTEM\\DRIVERS\\UDVD2\\UDVD2.SYS /D:SVCD0001 /H\r\n", targetdrv);
481
  fprintf(fd, "DEVICE=%c:\\SYSTEM\\DRIVERS\\UDVD2\\UDVD2.SYS /D:SVCD0001 /H\r\n", targetdrv);
477
  fclose(fd);
482
  fclose(fd);
478
  /*** AUTOEXEC.BAT ***/
483
  /*** AUTOEXEC.BAT ***/
479
  snprintf(buff, sizeof(buff), "%c:\\AUTOEXEC.BAT", targetdrv);
484
  snprintf(buff, sizeof(buff), "%c:\\AUTOEXEC.BAT", targetdrv);