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

📄 metmacs1.h

📁 nucleus 文件系统,内核和彩色图形系统,在小系统上非常好用
💻 H
字号:
/*************************************************************************/
/*                                                                       */
/*         Copyright (c) 1997 - 1999 Accelerated Technology, Inc.        */
/*                                                                       */
/* PROPRIETARY RIGHTS of Accelerated Technology are involved in the      */
/* subject matter of this material.  All manufacturing, reproduction,    */
/* use, and sales rights pertaining to this subject matter are governed  */
/* by the license agreement.  The recipient of this software implicitly  */
/* accepts the terms of the license.                                     */
/*                                                                       */
/*************************************************************************/

/*************************************************************************/
/*                                                                       */
/* FILE NAME                                            VERSION          */
/*                                                                       */
/*      metlinks.h                                       1.9             */
/*                                                                       */
/* COMPONENT                                                             */
/*                                                                       */
/*      All                                                              */
/*                                                                       */
/* DESCRIPTION                                                           */
/*                                                                       */
/*      Various assembler related flags.  Not sure that this is even     */
/*needed at this time.                                                   */
/*                                                                       */
/* AUTHOR                                                                */
/*                                                                       */
/*      Robert G. Burrill, Accelerated Technology, Inc.                  */
/*                                                                       */
/* DATA STRUCTURES                                                       */
/*                                                                       */
/*      None                                                             */
/*                                                                       */
/* FUNCTIONS                                                             */
/*                                                                       */
/*      None                                                             */
/*                                                                       */
/* DEPENDENCIES                                                          */
/*                                                                       */
/*      None                                                             */
/*                                                                       */
/* HISTORY                                                               */
/*                                                                       */
/*         NAME            DATE                    REMARKS               */
/*                                                                       */
/*                                                                       */
/*************************************************************************/

#ifdef CPU386
	#define TYPEOFF long	/* OFFSET size */
	#define SIZEOFF 4		/*   bytes */
	#define TYPENAT long	/* NATIVE cpu register size */
	#define SIZENAT 4		/*   bytes */
	#define BITSNAT 32		/*   bits */
	#define SSHFNAT 2		/*   divide/multiply by SIZENAT shift count */
	#define BSHFNAT 4		/*   divide/multiply by BITSNAT shift count */
#else	/* CPU186/286 */
	#define TYPEOFF short	/* OFFSET size */
	#define SIZEOFF 2		/*   bytes */
	#define OFFD	short	/*   data define for an offset */
	#define OFFWORD short	/*   type for an offset */
	#define TYPENAT short	/* NATIVE cpu register size */
	#define SIZENAT 2		/*   bytes */
	#define BITSNAT 16		/*   bits */
	#define SSHFNAT 1		/*   divide/multiply by SIZENAT shift count */
	#define BSHFNAT 3		/*   divide/multiply by BITSNAT shift count */
#endif	/* CPUx86/CPU386 */

#define DEFN TYPENAT
#define M_PAUSE(gmapptr) (gmapptr->mapLock--)	/* M_PAUSE - lock grafMap */

⌨️ 快捷键说明

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