⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tl_int.h

📁 DC上的GB模拟器源代码
💻 H
字号:
/*
** thinlib (c) 2001 Matthew Conte (matt@conte.com)
**
**
** tl_int.h
**
** interrupt handling stuff
**
** $Id: $
*/

#ifndef _TL_INT_H_
#define _TL_INT_H_

#define  THIN_DISABLE_INTS()        __asm__ __volatile__ ("cli")
#define  THIN_ENABLE_INTS()         __asm__ __volatile__ ("sti")

typedef int (*inthandler_t)(void);

extern int thin_int_install(int chan, inthandler_t handler);
extern void thin_int_remove(int chan);

extern void thin_irq_restore(int irq);
extern void thin_irq_enable(int irq);
extern void thin_irq_disable(int irq);

#endif /* !_TL_INT_H_ */

/*
** $Log: $
*/

⌨️ 快捷键说明

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