1 #include <exec/tasks.h>
2 #include <proto/exec.h>
9 static void HexDump(const UBYTE
*data
, ULONG count
)
13 end
= (count
+ 15) & -16;
18 printf("0x%08X:", (unsigned)t
);
24 printf("%02x", ((UBYTE
*)data
)[t
]);
42 printf("Task 0x%p (%s), stack 0x%p - 0x%p\n", me
, me
->tc_Node
.ln_Name
, me
->tc_SPLower
, me
->tc_SPUpper
);
43 printf("Function at 0x%p\n", main
);
44 printf("Buffer at 0x%p (%u bytes)\n", buf
, (unsigned int)sizeof(buf
));
46 HexDump((const UBYTE
*)buf
, sizeof(buf
));