#include "ownincs/IBMconsole.h"


/* allowed globals.. */
struct	ExecBase			*SysBase;
struct	DosLibrary		*DOSBase;
struct	GfxBase			*GfxBase;
struct	IntuitionBase	*IntuitionBase;


                /* ESC Funktionen zu IBM Emulator.. */


/*
 ESC	1/11	1bh   ^[	Escape, start escape seq, cancel any others
*/
VOID IBM_invokeESC(struct IBMConsole *con, UBYTE *args, ULONG argc)
{
/*	args && argc sind NULL..!! */

	IBM_cancel(con);
	con->inESC = TRUE;
}


/*
 ESC [		CSI		Control Sequence Introducer, see list below
*/
VOID IBM_invokeCSI(struct IBMConsole *con, UBYTE *args, ULONG argc)
{
/*	args && argc sind NULL..!! */

	IBM_cancel(con);
	con->inCSI = TRUE;
}


VOID IBM_hardreset(struct IBMConsole *con, UBYTE *args, ULONG argc)
{
	IBM_reset(con);
}


/* end of source-code */
