diff --git a/kernel/inthndlr.c b/kernel/inthndlr.c index 3ed06bc..fefb488 100644 --- a/kernel/inthndlr.c +++ b/kernel/inthndlr.c @@ -78,16 +78,16 @@ VOID ASMCFUNC int21_syscall(iregs FAR * irp) case 0x33: switch (irp->AL) { + /* Set Ctrl-C flag; returns dl = break_ena */ + case 0x01: + break_ena = irp->DL & 1; + /* fall through */ + /* Get Ctrl-C flag */ case 0x00: irp->DL = break_ena; break; - /* Set Ctrl-C flag */ - case 0x01: - break_ena = irp->DL & 1; - break; - case 0x02: /* andrew schulman: get/set extended control break */ { UBYTE tmp = break_ena; diff --git a/kernel/main.c b/kernel/main.c index f2ed872..bb669b9 100644 --- a/kernel/main.c +++ b/kernel/main.c @@ -733,7 +733,7 @@ STATIC void CheckContinueBootFromHarddisk(void) printf("\n" "\n" "\n" - " Hit any key within %d seconds to continue booot from %s\n" + " Hit any key within %d seconds to continue boot from %s\n" " Hit 'H' or wait %d seconds to boot from Harddisk\n", InitKernelConfig.BootHarddiskSeconds, bootedFrom,