diff --git a/fat12boot.c b/fat12boot.c index 633da70..69f56c8 100644 --- a/fat12boot.c +++ b/fat12boot.c @@ -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);