Subversion Repositories SvarDOS

Rev

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

Rev 98 Rev 101
Line 499... Line 499...
499
  FILE *fd;
499
  FILE *fd;
500
  /*** CONFIG.SYS ***/
500
  /*** CONFIG.SYS ***/
501
  snprintf(buff, sizeof(buff), "%c:\\CONFIG.SYS", targetdrv);
501
  snprintf(buff, sizeof(buff), "%c:\\CONFIG.SYS", targetdrv);
502
  fd = fopen(buff, "wb");
502
  fd = fopen(buff, "wb");
503
  if (fd == NULL) return;
503
  if (fd == NULL) return;
504
  fprintf(fd, "DOS=UMB,HIGH\r\n");
504
  fprintf(fd, "DOS=UMB,HIGH\r\n"
-
 
505
              "LASTDRIVE=Z\r\n"
505
  fprintf(fd, "FILES=50\r\n");
506
              "FILES=50\r\n");
506
  fprintf(fd, "DEVICE=%c:\\SYSTEM\\SVAROG.386\\BIN\\HIMEMX.EXE\r\n", targetdrv);
507
  fprintf(fd, "DEVICE=%c:\\SYSTEM\\SVAROG.386\\BIN\\HIMEMX.EXE\r\n", targetdrv);
507
  if (strcmp(locales->lang, "EN") == 0) {
508
  if (strcmp(locales->lang, "EN") == 0) {
508
    strcpy(buff, "COMMAND");
509
    strcpy(buff, "COMMAND");
509
  } else {
510
  } else {
510
    snprintf(buff, sizeof(buff), "CMD-%s", locales->lang);
511
    snprintf(buff, sizeof(buff), "CMD-%s", locales->lang);