/*
 *  This file is part of ixemul.library for the Amiga.
 *  Copyright (C) 1994 Rafael W. Luebbert
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Library General Public
 *  License as published by the Free Software Foundation; either
 *  version 2 of the License, or (at your option) any later version.
 *
 *  This library 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
 *  Library General Public License for more details.
 *
 *  You should have received a copy of the GNU Library General Public
 *  License along with this library; if not, write to the Free
 *  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 *  $Id: debugstub.s,v 1.1 1994/06/19 15:09:38 rluebbert Exp $
 *
 *  $Log: debugstub.s,v $
# Revision 1.1  1994/06/19  15:09:38  rluebbert
# Initial revision
#
 */
	.globl	KPutChar
	.globl  _KPrintF
	.globl	KPutFmt
	.globl	KDoFmt

KPutChar:	MOVE.L	A6,-(SP)
	MOVE.L	4,A6
	JSR	-516(A6)
	MOVE.L	(SP)+,A6
	RTS

_KPrintF:
	MOVE.L	4(SP),A0
	LEA	8(SP),A1
KPutFmt:	MOVEM.L	A2,-(SP)
	LEA	KPutChar(PC),A2
	BSR.S	KDoFmt
	MOVEM.L	(SP)+,A2
	RTS

KDoFmt:	MOVE.L	A6,-(SP)
	MOVE.L	4,A6
	JSR	-522(A6)
	MOVE.L	(SP)+,A6
	RTS
