int31_09.c

来自「freedos32的源代码」· C语言 代码 · 共 40 行

C
40
字号
/* DPMI Driver for FD32: handler for INT 0x31, Service 0x09 * by Luca Abeni *  * This is free software; see GPL.txt */#include<ll/i386/hw-data.h>#include<ll/i386/hw-instr.h>#include<ll/i386/hw-func.h>#include<ll/i386/error.h>#include<ll/i386/cons.h>#include "logger.h"#include "dpmi.h"#include "dpmiexc.h"void int31_0900(union regs *r){#ifdef __DEBUG__  fd32_log_printf("[DPMI] Interrupts disable\n");#endif  /* Do something... */  CLEAR_CARRY;  return;}void int31_0901(union regs *r){#ifdef __DEBUG__  fd32_log_printf("[DPMI] Interrupts enable\n");#endif  /* Do something... */  CLEAR_CARRY;  return;}

⌨️ 快捷键说明

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