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>
13 #define DUMMY_NOLIBINLINE
14 #define DUMMY_NOLIBDEFINES
15 #include <proto/dummy.h>
17 #include LC_LIBDEFS_FILE
19 #include "dummybase.h"
24 struct DummyBase
*,DummyBase
,5,Dummy
28 return (DummyBase
->lastval
= a
+b
);
32 AROS_LH2(ULONG
, __int_asl
,
35 struct DummyBase
*,DummyBase
,6,Dummy
39 return (DummyBase
->lastval
= a
<<b
);
43 LONG
printx(LONG nargs
, ...)
45 struct DummyBase
*DummyBase
= __aros_getbase_DummyBase();
46 struct Library
*DOSBase
= OpenLibrary("dos.library", 0);
50 va_start(args
, nargs
);
53 for (i
= 0; i
< nargs
; i
++) {
54 Printf("\t%ld: %ld\n", i
, DummyBase
->lastval
+ va_arg(args
, LONG
));