Source code for /engineering/bos/BOA.HOriginal file BOA.H
   1 /*
   2 	BattleOS : Engage battling programs.
   3 
   4 	Copyright (C) 1993 Erich P Gatejen    ALL RIGHTS RESERVED
   5 
   6 
   7 	File     : BOA.H
   8 	Purpose  : Header file for the BattleOS Assembler
   9 
  10 */
  11 
  12 /* ---- Define classes local to BOA ---- */
  13 /* Define the label class */
  14 class Label {
  15 			char   		Text[32];  /* Text of the Label   		   */
  16 			int    		Offset;    /* Offset or value of the Label */
  17 			struct Label  *Next;      /* * to next label     		   */
  18 
  19 };
  20 
  21 
  22 /* Define the 'instruction' structure */
  23 typedef struct Instr{
  24 					unsigned char  Token;	 /* Token of instruction  */
  25 					unsigned char  OpToken;   /* Token of operand type */
  26 					int            Operand1;  /* Operand 1			 */
  27 					int			Operand2;  /* Operand 2             */
  28 					unsigned char  BOS;		 /* Used by BOS		 */
  29 };
  30 
  31 
  32 /* Define taunt */
  33 #define  TAUNTSIZE  40
  34 typedef  char		Taunt[TAUNTSIZE];
  35 
  36 /* VERSION DISCRIPTOR... !!!!DO NOT CHANGE!!!!! 		*/
  37 #define  VERSIONDISC    100	   /* indicates v1.00    */
  38 
  39 /* COPYRIGHT NOTICE..... !!!!DO NOT CHANGE!!!!!        */
  40 #define  COPYRIGHTNOTICE "BOS1.00/Copyright Erich P Gatejen 1992/All Rights Reserved"
  41 
  42 #define  NOTICESIZE		58