Changeset 155 in vbox for trunk/src/VBox/Devices/PC/BIOS
- Timestamp:
- Jan 18, 2007 5:41:16 PM (18 years ago)
- Location:
- trunk/src/VBox/Devices/PC/BIOS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/logo.c
r1 r155 1097 1097 return; 1098 1098 } 1099 1100 1101 void delay_boot(secs) 1102 Bit16u secs; 1103 { 1104 Bit16u i; 1105 1106 if (!secs) 1107 return; 1108 1109 // Set PIT to 1ms ticks 1110 wait_init(); 1111 1112 printf("Delaying boot for %d seconds:", secs); 1113 for (i = secs; i > 0; i--) 1114 { 1115 printf(" %d", i); 1116 wait(1000); 1117 } 1118 printf("\n"); 1119 // Restore PIT ticks 1120 wait_uninit(); 1121 } 1122 -
trunk/src/VBox/Devices/PC/BIOS/rombios.c
r100 r155 7818 7818 if (read_byte(ebda_seg, &EbdaData->uForceBootDrive)) 7819 7819 bootseq = read_byte(ebda_seg, &EbdaData->uForceBootDrive); 7820 /* Boot delay hack. */ 7821 if (bseqnr == 1) 7822 delay_boot((inb_cmos(0x3c) & 0xf0) >> 4); /* Implemented in logo.c */ 7820 7823 #endif /* VBOX */ 7821 7824
Note:
See TracChangeset
for help on using the changeset viewer.