2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
9 #include <exec/types.h>
10 #include <aros/libcall.h>
11 #include <proto/dos.h>
12 #include <proto/exec.h>
14 #include LC_LIBDEFS_FILE
16 #include "dummybase.h"
21 struct DummyBase
*,DummyBase
,5,Dummy
25 return (DummyBase
->lastval
= a
+b
);
29 AROS_LH2(ULONG
, __int_asl
,
32 struct DummyBase
*,DummyBase
,6,Dummy
36 return (DummyBase
->lastval
= a
<<b
);
40 LONG
printx(LONG nargs
, ...)
42 struct DummyBase
*DummyBase
= __aros_getbase();
43 struct Library
*DOSBase
= OpenLibrary("dos.library", 0);
47 va_start(args
, nargs
);
50 for (i
= 0; i
< nargs
; i
++) {
51 Printf("\t%ld: %ld\n", i
, DummyBase
->lastval
+ va_arg(args
, LONG
));