boot: prompt retry to load polio.com
This commit is contained in:
@@ -47,8 +47,12 @@ static void loadpolmon() {
|
||||
die("fi");
|
||||
}
|
||||
|
||||
if (fat12_readfile("POLMON COM", kPolmonAddress)) {
|
||||
die("pnf");
|
||||
while (fat12_readfile("POLIO COM", kPolmonAddress)) {
|
||||
asm volatile (
|
||||
"mov $00, %%ah \n\t"
|
||||
"int $0x16 \n\t"
|
||||
::: "ax"
|
||||
);
|
||||
}
|
||||
|
||||
jump(kPolmonAddress);
|
||||
|
Reference in New Issue
Block a user