home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 5
/
FreshFish_July-August1994.bin
/
bbs
/
text
/
amigaguide-34.6.lha
/
AmigaGuide-34.6
/
AmigaGuide.lha
/
AG_V39
/
Src
/
HyperBrowser
/
asprintf.asm
next >
Wrap
Assembly Source File
|
1993-07-29
|
670b
|
29 lines
*
* (c) Copyright 1992 Commodore-Amiga, Inc. All rights reserved.
*
* This software is provided as-is and is subject to change; no warranties
* are made. All use is at your own risk. No liability or responsibility
* is assumed.
*
XDEF _asprintf
XREF _AbsExecBase
XREF _LVORawDoFmt
; void ASM asprintf (REG (a3) STRPTR buffer, REG (a0) STRPTR fmt, REG (a1) APTR data);
_asprintf: ; ( ostring, format, {values} )
movem.l a2/a6,-(sp)
lea.l stuffChar(pc),a2
move.l _AbsExecBase,a6
jsr _LVORawDoFmt(a6)
movem.l (sp)+,a2/a6
rts
;------ PutChProc function used by RawDoFmt -----------
stuffChar:
move.b d0,(a3)+ ;Put data to output string
rts