📄 interrupt.c
字号:
#include "interrupt.h"
#include <stdio.h>
#include "error.h"
void handleInt(U1 byte)
{
if (interruptOn == FALSE)
{
ERROR0("handleInt(); interrupts are disabled\n");
return;
}
switch (byte)
{
case 0:
handlefileIO();
break;
case 1:
//handleFileManagement();
break;
case 2:
//handleProcessManagement();
break;
case 3:
//debug = TRUE;
break;
case 4:
//handleTimeDateCall();
break;
case 5:
//handleCommandLine();
break;
case 6:
//handleMemoryStatus();
break;
case 7:
//handleAllocCall();
break;
case 8:
//handleMathCall();
break;
case 9:
//handleNativeCall();
break;
case 10:
//handleIPC();
break;
default:
ERROR1("handleInt(): vector not handled (%u)\n", byte);
}
return;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -