/*
 
Freely Distributable MC56800 Simulator Package
 
Copyright (c) 1997-1998 The University of Texas
All Rights Reserved.
 
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.
 
The GNU Public License is available in the file LICENSE, or you
can write to the Free Software Foundation, Inc., 59 Temple Place -
Suite 330, Boston, MA 02111-1307, USA, or you can find it on the
World Wide Web at http://www.fsf.org.
 
Author: Brian Evans and Anna Yuan
Version: @(#)utsim.h	1.5	07/01/98
 
Department of Electrical and Computer Engineering
The University of Texas, Austin, TX 78712-1084
*/

#ifndef _UTSIM_H
#define _UTSIM_H

#include <stdio.h>

/*
Translate definitions set by the UT makefiles to definitions
used by the Motorola files
*/
#if defined(POSIX)
#define UNIX 1
#endif

#if defined(PTNT4) || defined(MSDOS)
#define UNIX 0
#define BIG_ENDIAN 0
#endif

#define UT_VERSION_STRING "1.0.6"
#define MC_VERSION_STRING "6.2.2 (March 30, 1998)"

#define ADS_PROMPT "MC568>"
 
extern char* ut_VersionIdentification;

extern char* ut_get_command(char* cmdstr, int* processCommandPtr);
extern void ut_simw_wscr(char *bufptr);

#endif
