Subversion Repositories SvarDOS

Rev

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

Rev 111 Rev 113
Line 385... Line 385...
385
        case 2:
385
        case 2:
386
          return(MENUQUIT);
386
          return(MENUQUIT);
387
        default:
387
        default:
388
          return(-1);
388
          return(-1);
389
      }
389
      }
-
 
390
      /* write a temporary MBR which only skips the drive (in case BIOS would
-
 
391
       * try to boot off the not-yet-ready C: disk) */
-
 
392
      system("FDISK /AMBR"); /* writes BOOT.MBR into actual MBR */
390
      newscreen(2);
393
      newscreen(2);
391
      putstringnls(10, 10, COLOR_BODY[mono], 3, 1, "Your computer will reboot now.");
394
      putstringnls(10, 10, COLOR_BODY[mono], 3, 1, "Your computer will reboot now.");
392
      putstringnls(12, 10, COLOR_BODY[mono], 0, 5, "Press any key...");
395
      putstringnls(12, 10, COLOR_BODY[mono], 0, 5, "Press any key...");
393
      input_getkey();
396
      input_getkey();
394
      reboot();
397
      reboot();