mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-23 00:14:25 +00:00
53 lines
2.5 KiB
C++
53 lines
2.5 KiB
C++
/****************************************************************************
|
||
*
|
||
* C P / M C R U N T I M E L I B H E A D E R F I L E
|
||
* -------------------------------------------------------------
|
||
* Copyright 1982 by Digital Research Inc. All rights reserved.
|
||
*
|
||
* This is an include file for assisting the user to write portable
|
||
* programs for C. All processor dependencies should be located here.
|
||
*
|
||
****************************************************************************/
|
||
/*
|
||
* Standard type definitions
|
||
*/
|
||
#define BYTE char /* Signed byte */
|
||
#define UBYTE char /* Unsigned byte */
|
||
#define BOOLEAN int /* 2 valued (true/false) */
|
||
#define WORD int /* Signed word (16 bits) */
|
||
#define UWORD unsigned int /* unsigned word */
|
||
|
||
#define LONG long /* signed long (32 bits) */
|
||
#define ULONG unsigned long /* Unsigned long */
|
||
|
||
#define REG register /* register variable */
|
||
#define LOCAL auto /* Local var on 68000 */
|
||
#define EXTERN extern /* External variable */
|
||
#define MLOCAL static /* Local to module */
|
||
#define GLOBAL /**/ /* Global variable */
|
||
#define VOID /**/ /* Void function return */
|
||
#define DEFAULT int /* Default size */
|
||
#define FLOAT float /* Floating Point */
|
||
#define DOUBLE double /* Double precision */
|
||
|
||
|
||
/****************************************************************************/
|
||
/* Miscellaneous Definitions: */
|
||
/****************************************************************************/
|
||
#define FAILURE (-1) /* Function failure return val */
|
||
#define SUCCESS (0) /* Function success return val */
|
||
#define YES 1 /* "TRUE" */
|
||
#define NO 0 /* "FALSE" */
|
||
#define FOREVER for(;;) /* Infinite loop declaration */
|
||
#define NULL 0 /* Null character value */
|
||
#define NULLPTR (char *) 0 /* Null pointer value */
|
||
#define EOF (-1) /* EOF Value */
|
||
#define TRUE (1) /* Function TRUE value */
|
||
#define FALSE (0) /* Function FALSE value */
|
||
|
||
|
||
/****************************************************************************/
|
||
/****************************************************************************/
|
||
|