📄 main.h
字号:
/*
* ApBUILDER INCLUDE FILE - Intel Corporation
*
*
* Purpose: Main include file.
*
* The Software is provided "AS IS."
*
* LIMITATION OF LIABILITY: NEITHER INTEL NOR ITS VENDORS OR AGENTS
* SHALL BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF USE, LOSS OF DATA,
* INTERRUPTION OF BUSINESS, NOR FOR INDIRECT, SPECIAL, INCIDENTAL OR
* CONSEQUENTIAL DAMAGES OF ANY KIND WHETHER UNDER THIS AGREEMENT OR
* OTHERWISE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*
* While we have made every attempt to completely test this code, we highly recommend that
* you personally test it completely prior to actual inclusion in your project.
*
* Compiler: Developed using Compass251 from Production Languages corporation.
*
* Ext Packages: None
*
* Author: Brad B.
*
* Revisions:
*
*
*/
#ifndef MAIN_H
#define MAIN_H
#define AMDEBUGGING
/* -----------------7/30/96 10:43AM------------------
w* Some useful string typedefs.
* --------------------------------------------------*/
typedef unsigned near char STRING_TYPE[25];
typedef near STRING_TYPE NEAR_STRING_TYPE;
typedef near unsigned char *NEAR_STRING_PTR;
typedef far STRING_TYPE FAR_STRING_TYPE;
typedef far unsigned char *FAR_STRING_PTR;
typedef const STRING_TYPE CONST_STRING_TYPE;
typedef const unsigned char *CONST_STRING_PTR;
#define TRUE 1
#define FALSE 0
#define OFF 0
#define ON 1
#define NOT_PRESSED 0
#define PRESSED 1
typedef unsigned bit FLAG;
typedef struct /* Task control Block structure */
{
char *task_flag;
void (*task_action)(void);
} TCB;
#define TASK_DISABLED -1
#define TASK_ENABLED 0
#define END_LIST (char *)0
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -