forwarding a radium compilation fix.
[AROS-Contrib.git] / dopus / DOpus_Icon / lsprintf.asm
blob5bcb2301cb75440778087901ec50dc199496e095
1 ; Directory Opus 4
2 ; Original GPL release version 4.12
3 ; Copyright 1993-2000 Jonathan Potter
4 ;
5 ; This program is free software; you can redistribute it and/or
6 ; modify it under the terms of the GNU General Public License
7 ; as published by the Free Software Foundation; either version 2
8 ; of the License, or (at your option) any later version.
9 ;
10 ; This program is distributed in the hope that it will be useful,
11 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ; GNU General Public License for more details.
15 ; You should have received a copy of the GNU General Public License
16 ; along with this program; if not, write to the Free Software
17 ; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 ; All users of Directory Opus 4 (including versions distributed
20 ; under the GPL) are entitled to upgrade to the latest version of
21 ; Directory Opus version 5 at a reduced price. Please see
22 ; http://www.gpsoft.com.au for more information.
24 ; The release of Directory Opus 4 under the GPL in NO WAY affects
25 ; the existing commercial status of Directory Opus 5.
27 _LVORawDoFmt equ -$20a
29 XDEF _lsprintf
31 section text,code
33 _lsprintf:
34 movem.l a2/a3/a6,-(sp)
35 move.l 4*4(sp),a3
36 move.l 5*4(sp),a0
37 lea.l 6*4(sp),a1
38 lea.l stuffChar(pc),a2
39 move.l 4,a6
40 jsr _LVORawDoFmt(a6)
41 movem.l (sp)+,a2/a3/a6
42 rts
44 stuffChar:
45 move.b d0,(a3)+
46 rts
48 end