* $Revision Header * Header built automatically - do not edit! ************* * * (C) Copyright 1990 by Olaf 'Olsen' Barthel & MXM * * Name .....: StringFormat.asm * Created ..: Monday 21-Jan-91 20:12 * Revision .: 1 * * Date Author Comment * ========= ======== ==================== * 21-Jan-91 Olsen Created this file! * * $Revision Header ********************************************************* CALL macro xref _LVO\1 jsr _LVO\1(a6) endm csect text,0,0,1,2 *-------------------------------------------------------------------------- * * This file contains some ANSI-`C' style routines which are not * directly implemented through dos.library or utility.library or * whose amiga.lib equivalent is broken at the time of writing. * *-------------------------------------------------------------------------- xdef _Printf xdef _SPrintf xdef _VSPrintf _Printf: movem.l d2/a6,-(sp) move.l 12(sp),d1 lea 16(sp),a0 move.l a0,d2 move.l _DOSBase(a4),a6 CALL VPrintf movem.l (sp)+,d2/a6 rts _SPrintf: movem.l a2/a3/a6,-(sp) move.l 4+12(sp),a3 move.l 8+12(sp),a0 lea 12+12(sp),a1 lea stuffchar(pc),a2 move.l 4,a6 CALL RawDoFmt movem.l (sp)+,a2/a3/a6 rts _VSPrintf: movem.l a2/a3/a6,-(sp) move.l 4+12(sp),a3 move.l 8+12(sp),a0 move.l 12+12(sp),a1 lea stuffchar(pc),a2 move.l 4,a6 CALL RawDoFmt movem.l (sp)+,a2/a3/a6 rts stuffchar: move.b d0,(a3)+ rts csect __MERGED xref _DOSBase end