printf("Press F12 for boot menu.\n\n");
- int scan_code = get_keystroke(2500);
+ int scan_code = get_keystroke(CONFIG_BOOTMENU_WAIT);
if (scan_code != 0x86)
/* not F12 */
return;
static void
call_boot_entry(u16 bootseg, u16 bootip, u8 bootdrv)
{
- dprintf(1, "Booting from %x:%x\n", bootseg, bootip);
+ dprintf(1, "Booting from %04x:%04x\n", bootseg, bootip);
struct bregs br;
memset(&br, 0, sizeof(br));
SET_EBDA(boot_sequence, 0);
do_boot(0);
}
-
-// Ughh - some older gcc compilers have a bug which causes VISIBLE32
-// functions to not be exported as global variables.
-asm(".global handle_18, handle_19");