/*
    yamm, Yet Another Micro Monitor
    version.h
    Copyright (C) 1994, 1995  Riccardo Facchetti

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#if !defined(_VERSION_YH)
#define _VERSION_YH 1

#define YAMM_VERSION	"V2.5.5 "
#define YAMM_DATE		"Feb 1995."

/*
 * Splitted up version numbers
 */
#define YAMM_VER		2
#define YAMM_MAJ		5
#define YAMM_MIN		5
#define YAMM_CHR		' '

#define YAMM_NUM ( \
	(YAMM_VER << 24) | \
	(YAMM_MAJ << 16) | \
	(YAMM_MIN <<  8) | \
	(YAMM_CHR))

#define YAMM_GVER(a) \
	(int)((a & (0xff << 24)) >> 24)

#define YAMM_GMAJ(a) \
	(int)((a & (0xff << 16)) >> 16)

#define YAMM_GMIN(a) \
	(int)((a & (0xff << 8)) >> 8)

#define YAMM_GCHR(a) \
	(char)(a & (0xff))

#endif /* _VERSION_YH */
