interrupt.h

来自「< 虚拟机设计与实现>>的 windows版本」· C头文件 代码 · 共 24 行

H
24
字号
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+                                                                   +
+  interrupt - this file handles interrupt requests                 +
+                                                                   +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

#ifndef _INTERRUPT_H
#define _INTERRUPT_H

#include "common.h"

#ifdef OS_WIN
#include "win32.h"
#include "intwin32.h"
#else
#include "linux.h"
#include "intlinux.h"
#endif

U1 interruptOn;

void handleInt(U1 byte);

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?